Template:MissouriMiners2012

From 2012.igem.org

(Difference between revisions)
Line 99: Line 99:
// Scripting.
// Scripting.
-
document.write('<script type="text/javascript" src="https://2012.igem.org/wiki/index.php?title=Team:Missouri_Miners/Superfish&action=raw"><\/script>');
+
$.ajaxSetup({async:false,cache:true});
-
document.write('<script type="text/javascript" src="https://2012.igem.org/wiki/index.php?title=Team:Missouri_Miners/Superfish&action=raw"><\/script>');
+
$.getScript(decodeURIComponent('https://2012.igem.org/wiki/index.php?title=Team:Missouri_Miners/Superfish&action=raw&ctype=text/javascript'));
-
document.write('<script type="text/javascript" src="https://2012.igem.org/wiki/index.php?title=Team:Missouri_Miners/Superfish&action=raw"><\/script>')
+
$.getScript(decodeURIComponent('https://2012.igem.org/wiki/index.php?title=Team:Missouri_Miners/Superfish&action=raw&ctype=text/javascript'));
-
+
$.getScript(decodeURIComponent('https://2012.igem.org/wiki/index.php?title=Team:Missouri_Miners/Superfish&action=raw&ctype=text/javascript'));
 +
$.ajaxSetup({async:true,cache:false});
$('#menu > ul').superfish();
$('#menu > ul').superfish();
             });
             });

Revision as of 23:47, 28 September 2012