Template:Imperial/09/TemplateTop

From 2009.igem.org

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

Revision as of 14:52, 28 September 2009