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