Template:Imperial/09/TemplateTop

From 2009.igem.org

(Difference between revisions)
Line 3: Line 3:
<script type="text/javascript">
<script type="text/javascript">
if (window.innerWidth<3000) {
if (window.innerWidth<3000) {
-
   document.write('{{Imperial/09/Menu/Reduced}}');
+
   document.write('{{Imperial/09/Menu/Reduced}}new');
}else if(document.documentElement.clientWidth<3000){
}else if(document.documentElement.clientWidth<3000){
-
   document.write('{{Imperial/09/Menu/Reduced}}');
+
   document.write('{{Imperial/09/Menu/Reduced}}god knows');
}else if(document.getElementsByTagName('body')[0].clientWidth<3000){
}else if(document.getElementsByTagName('body')[0].clientWidth<3000){
-
   document.write('{{Imperial/09/Menu/Reduced}}');
+
   document.write('{{Imperial/09/Menu/Reduced}}IE<7');
}
}
</script>
</script>

Revision as of 14:49, 28 September 2009