GUI (Entry Nr. 288, by user 1 | edit) |
|
| if ('undefined'==typeof(ge_included))
{
ge_included_left2load=0;
ge_included=new Object();
ge_included["http://javascript.gibney.org/standards.js"]=true;
function ge_require_once(src)
{
if(ge_included[src]) return;
ge_included_left2load++;
var sn=document.createElement("script");
sn.onload=function(){ ge_included_left2load--; }
sn.onreadystatechange=function(){ if(this.readyState=='loaded' || this.readyState=='complete'){ ge_included_left2load--;this.onreadystatechange=null; } }
sn.type="text/javascript";
sn.src=src;
heads=document.getElementsByTagName("head");
heads[0].appendChild(sn);
ge_included[src]=true;
}
function startMain()
{
if (ge_included_left2load<1) main();
else setTimeout("startMain()",250);
}
}
ge_require_once('http://javascript.gibney.org/dynamic_html_elements.js');
ge_require_once('http://javascript.gibney.org/view.js');
function shadePage()
{
var iframe=appendElementToBody('iframe','ge_gui_pageShadingIframe');
var iframeDoc = iframe.contentDocument;
if (iframeDoc == undefined || iframeDoc == null) iframeDoc = iframe.contentWindow.document;
iframeDoc.open();
iframeDoc.write(' ');
iframeDoc.close();
iframe.style.position='absolute';
iframe.style.zIndex='9999';
iframe.style.top='0px';
iframe.style.left='0px';
// iframe.style.width=ge_view_getDocumentWidth()+'px';
// iframe.style.height=ge_view_getDocumentHeight()+'px';;
iframe.style.border='0px none #000';
iframe.style.opacity='0.3';
iframe.style.filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=30)';
resizeShade();
window.onresize=resizeShade;
}
function unShadePage()
{
removeElementById('ge_gui_pageShadingIframe');
window.onresize=null;
}
function resizeShade()
{
var iframe=document.getElementById('ge_gui_pageShadingIframe');
iframe.style.width=ge_view_getDocumentWidth()+'px';
iframe.style.height=ge_view_getDocumentHeight()+'px';
} |
|
|
Create a new entry at this position
|
|
|