D
drew197
I am a newbie. This is someone else's code which I have to modify to
work in Mozilla and Safari. The changes I made so far have allowed it
to work in Mozilla but not Safari. It seems to be getting hung up on
the first line of code. I put an alert after that line and I never saw
it in Safari but I did see it in Mozilla. Any Thoughts?
Thanks,
Andrew
Here's the code:
{
document.write("<div id='orbitLayer' style='position:absolute;
left:0px; top:"+document.all['topBanner'].offsetWidth+"px;
width:"+document.all['topBanner'].offsetWidth+"px;
height:"+(document.body.offsetHeight-document.all['topBanner'].offsetHeight)+"px;
z-index:2'>");
document.write("<object
classid='clsid
27CDB6E-AE6D-11cf-96B8-444553540000' ");
document.write("codebase='/flash/swflash.cab#version=4,0,2,0' ");
document.write("width='100%' ");
document.write("height='100%' ");
document.write("name='estee' ");
document.write("id='estee'>");
document.write("<param name=movie value='newmenu_pinkribbon.swf'>");
document.write("<param name=quality value=high>");
document.write("<param name='wmode' value='opaque'>");
document.write("<embed src='newmenu_pinkribbon.swf'");
document.write("quality=high
pluginspage='/flash/swflash.cab#version=4,0,2,0'");
document.write("type='application/x-shockwave-flash' ");
document.write("width='100%' ");
document.write("height='100%' ");
document.write("name='estee'");
document.write("id='estee'");
document.write("wmode='opaque' ");
document.write("swliveconnect='true'>");
document.write("</embed> ");
document.write("</object>");
document.write("</div>");
}
work in Mozilla and Safari. The changes I made so far have allowed it
to work in Mozilla but not Safari. It seems to be getting hung up on
the first line of code. I put an alert after that line and I never saw
it in Safari but I did see it in Mozilla. Any Thoughts?
Thanks,
Andrew
Here's the code:
{
document.write("<div id='orbitLayer' style='position:absolute;
left:0px; top:"+document.all['topBanner'].offsetWidth+"px;
width:"+document.all['topBanner'].offsetWidth+"px;
height:"+(document.body.offsetHeight-document.all['topBanner'].offsetHeight)+"px;
z-index:2'>");
document.write("<object
classid='clsid
document.write("codebase='/flash/swflash.cab#version=4,0,2,0' ");
document.write("width='100%' ");
document.write("height='100%' ");
document.write("name='estee' ");
document.write("id='estee'>");
document.write("<param name=movie value='newmenu_pinkribbon.swf'>");
document.write("<param name=quality value=high>");
document.write("<param name='wmode' value='opaque'>");
document.write("<embed src='newmenu_pinkribbon.swf'");
document.write("quality=high
pluginspage='/flash/swflash.cab#version=4,0,2,0'");
document.write("type='application/x-shockwave-flash' ");
document.write("width='100%' ");
document.write("height='100%' ");
document.write("name='estee'");
document.write("id='estee'");
document.write("wmode='opaque' ");
document.write("swliveconnect='true'>");
document.write("</embed> ");
document.write("</object>");
document.write("</div>");
}