Template:LCG top Netscape
From 2009.igem.org
(Difference between revisions)
Line 265: | Line 265: | ||
<script language="JavaScript"> | <script language="JavaScript"> | ||
<!--document.write("funciono");--> | <!--document.write("funciono");--> | ||
- | |||
- | |||
- | |||
- | |||
- | + | if(navigator.appName=="Microsoft Internet Explorer"){ | |
+ | |||
+ | document.write('<div id="header"><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="900" HEIGHT="207" id="https://static.igem.org/mediawiki/igem.org/d/de/Banner_lcg.swf"><PARAM NAME=movie VALUE="https://static.igem.org/mediawiki/2009/b/bc/Banner_LCG.swf"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF></OBJECT> </div>'); | ||
} | } | ||
- | + | ||
+ | |||
else{ | else{ | ||
- | mime=" | + | if(mime=="mimeTypes"){ |
- | + | if(navigator.mimeTypes["application/x-shockwave-flash"]){ | |
- | + | <!--document.write("Yey!!! tengo flash mira!!!" + mime);--> | |
+ | document.write('<div id="header"><EMBED src="https://static.igem.org/mediawiki/2009/b/bc/Banner_LCG.swf" quality=high bgcolor=#FFFFFF WIDTH="900" HEIGHT="207"></EMBED></div>'); | ||
- | + | } | |
+ | else{ | ||
+ | mime="noMimeTypes"; | ||
+ | <!--document.write("Sorry, no flash" + mime);--> | ||
+ | document.write('<table border="0" width="900" cellpadding="80"><tr><th><a href="http://get.adobe.com/es/flashplayer/"><img border="0" height="172" width="200" src="https://static.igem.org/mediawiki/2009/b/b2/Phages_flash_player_a.png" id="b1" onmouseover="mouseOver()" onmouseout="mouseOut()"></a></th><th><p><a href"Flashless.html"><img border="0" height="172" width="200" src="https://static.igem.org/mediawiki/2009/d/d0/Nonflash_a.png" id="b2" onmouseover="mouseOver2()" onmouseout="mouseOut2()"></a></th></tr></table>'); | ||
+ | } | ||
+ | } | ||
} | } | ||
+ | |||
+ | |||
</script> | </script> | ||
Line 356: | Line 364: | ||
</body> | </body> | ||
- | </html | + | </html |
Revision as of 21:03, 14 October 2009