Hi all,
could anyone tell me why this code does not work in Netscape?
<script language="JavaScript"><!--
if ((screen.availWidth <950) || (screen.availHeight < 720)) {
document.write('<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" width="100%" height="100%">');
document.write('<param name=movie value="FlashMovies/welcome 800x600.swf">');
document.write('<param name=quality value=high>');
document.write('<embed src="FlashMovies/welcome 800x600.swf" quality=high pluginspage=" type="application/x-shockwave-flash" width="100%" height="100%"></embed>');
document.write('</object>')
}
else{
document.write('<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" width="100%" height="100%">');
document.write('<param name=movie value="FlashMovies/welcome.swf">');
document.write('<param name=quality value=high>');
document.write('<embed src="FlashMovies/welcome.swf" quality=high pluginspage=" type="application/x-shockwave-flash" width="100%" height="100%"></embed>');
document.write('</object>')
}
//--></script>
It works perfectly in IE and I don't have a clue why it doesn't work in Netscape :-s
Thanks a lot in advance for your help!
Greetz,
Dirk
could anyone tell me why this code does not work in Netscape?
<script language="JavaScript"><!--
if ((screen.availWidth <950) || (screen.availHeight < 720)) {
document.write('<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" width="100%" height="100%">');
document.write('<param name=movie value="FlashMovies/welcome 800x600.swf">');
document.write('<param name=quality value=high>');
document.write('<embed src="FlashMovies/welcome 800x600.swf" quality=high pluginspage=" type="application/x-shockwave-flash" width="100%" height="100%"></embed>');
document.write('</object>')
}
else{
document.write('<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" width="100%" height="100%">');
document.write('<param name=movie value="FlashMovies/welcome.swf">');
document.write('<param name=quality value=high>');
document.write('<embed src="FlashMovies/welcome.swf" quality=high pluginspage=" type="application/x-shockwave-flash" width="100%" height="100%"></embed>');
document.write('</object>')
}
//--></script>
It works perfectly in IE and I don't have a clue why it doesn't work in Netscape :-s
Thanks a lot in advance for your help!
Greetz,
Dirk