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">
 +
alert(window.innerWidth<=1024);
 +
alert(document.documentElement.clientWidth<=1024);
 +
alert(document.getElementsByTagName('body')[0].clientWidth<=1024);
if (window.innerWidth<=1024) {
if (window.innerWidth<=1024) {
   document.write('</html>{{Imperial/09/CSS/Reduced}}<html>');
   document.write('</html>{{Imperial/09/CSS/Reduced}}<html>');

Revision as of 15:05, 28 September 2009

'); }else if(document.documentElement.clientWidth<=1024){ document.write(' '); }else if(document.getElementsByTagName('body')[0].clientWidth<=1024){ document.write(' '); }