Template:LCG top Netscape

From 2009.igem.org

(Difference between revisions)
Line 258: Line 258:
-
<!-- Begin of Checking for Flash availability -->
+
<!--Flash -->
-
 
+
-
 
+
<script language="JavaScript">
<script language="JavaScript">
 +
function newLocation()
 +
{
 +
window.location="https://2009.igem.org/Team:LCG-UNAM-Mexico";
 +
}
         <!--document.write("funciono");-->
         <!--document.write("funciono");-->
if(navigator.appName=="Microsoft Internet Explorer"){
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>');
+
document.write('<div id="header"><a href="https://2009.igem.org/Team:LCG-UNAM-Mexico" onClick="newLocation()"><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></a></div>');
}
}
Line 276: Line 278:
if(navigator.mimeTypes["application/x-shockwave-flash"]){
if(navigator.mimeTypes["application/x-shockwave-flash"]){
<!--document.write("Yey!!! tengo flash mira!!!" + mime);-->
<!--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>');
+
document.write('<div id="header"><a href="https://2009.igem.org/Team:LCG-UNAM-Mexico" onClick="newLocation()"><EMBED src="https://static.igem.org/mediawiki/2009/b/bc/Banner_LCG.swf" quality=high bgcolor=#FFFFFF WIDTH="900" HEIGHT="207"></EMBED></a></div>');
}
}

Revision as of 16:01, 20 October 2009