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<1024) { | if (window.innerWidth<1024) { | ||
- | document.write('{{Imperial/09/Menu/CSS/Reduced}}'); | + | document.write('</html>{{Imperial/09/Menu/CSS/Reduced}}<html>'); |
}else if(document.documentElement.clientWidth<1024){ | }else if(document.documentElement.clientWidth<1024){ | ||
- | document.write('{{Imperial/09/CSS/Reduced}}'); | + | document.write('</html>{{Imperial/09/CSS/Reduced}}<html>'); |
}else if(document.getElementsByTagName('body')[0].clientWidth<1024){ | }else if(document.getElementsByTagName('body')[0].clientWidth<1024){ | ||
- | document.write('{{Imperial/09/Menu/CSS/Reduced}}'); | + | document.write('</html>{{Imperial/09/Menu/CSS/Reduced}}<html>'); |
} | } | ||
</script> | </script> |
Revision as of 14:56, 28 September 2009
'); }else if(document.getElementsByTagName('body')[0].clientWidth<1024){ document.write(' '); }