Subversion Repositories ZenDark

Compare Revisions

Ignore whitespace Rev 10 → Rev 11

/js/iframe.js
3,7 → 3,7
// modify #main width to 638px (maximum allowed to keep everything
// inside 700px) without editing the Zenphoto css
var ss1 = document.createElement('style');
var def = '#main { width: 638px !important;}';
var def = '#main { width: 638px !important; }';
ss1.setAttribute("type", "text/css");
var hh1 = document.getElementById(id).contentWindow.document.getElementsByTagName('head')[0];
hh1.appendChild(ss1);
22,10 → 22,6
document.getElementById(id).height = (newheight) + "px";
}
 
function sdt_delay(){
setInterval("sdt_autoResize('iframe-page')", 1000);
}
 
function sdt_getURL(id){
var url;
var title;