forked from jimboy3100/jimboy3100.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
legendformIframe.js
30 lines (24 loc) · 1.57 KB
/
legendformIframe.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
var Externalletter5a;
if(Externalletter5a==null){Externalletter5a = "SEND CODE TO DEVELOPERS";}
$("#main-menu").hide();
$("#skins-panel").hide();
$("#quick-menu").hide();
$("#exp-bar").hide();
$("#menu-footer").after('<div id="legendformIframe" style="background-image: url('+legbgpic+'); background-color: '+legbgcolor+'; border: 1px solid black; position:absolute; height: 560px; width: 840px; margin-top: 0px;margin-left: -240px; ">'+
'<div id="legendformIframe2" style="display:block; margin-left: 10px; margin-right: 10px;">'+ //margin-left: 10px"
'<br><div id="legendformIframe3"><iframe id="legendformIframe4" src="https://docs.google.com/forms/d/e/1FAIpQLScD1lE8fLIzp_7UOLTI_0Le-DgEpmTJ9nf1XE8239iowN8CIQ/viewform?embedded=true" width="820" height="490" >'+
'<p>Your browser does not support iframes.</p>'+
'</iframe>' +
'</div></div>'+
'<button id= "Backtomenu" onclick="closecustomskinsIframe(); return false" style="margin-left: 10px;" class="btn btn-danger" data-original-title="" title="">' + Premadeletter113 + '</button>'+
'<button id= "SendAFileform" onclick="SendAFileform(); return false" style="margin-left: 10px;" class="btn btn-success" data-original-title="" title="">' + Externalletter5a + '</button></div>');
function closecustomskinsIframe(){
$("#main-menu").show();
$("#skins-panel").show();
$("#quick-menu").show();
$("#exp-bar").show();
$("#legendformIframe").remove();
}
function SendAFileform(){
window.open('https://docs.google.com/forms/d/e/1FAIpQLSckM3CTsmly0Ugw_kLQuiXS5AoSzwTfc5sj1czmo4bbzrDdBA/viewform');
}