Template:Imperial/09/TemplateTop

From 2009.igem.org

(Difference between revisions)
Line 5: Line 5:
}else if(document.documentElement.clientWidth<=1024){
}else if(document.documentElement.clientWidth<=1024){
   document.write('</html>{{Imperial/09/CSS/Reduced}}<html>');
   document.write('</html>{{Imperial/09/CSS/Reduced}}<html>');
-
}else{
+
}else if(window.innerWidth>1024){
 +
  document('</html>{{Imperial/09/CSS}}<html>');
 +
}else if(document.documentElement.clientWidth>1024){
   document('</html>{{Imperial/09/CSS}}<html>');
   document('</html>{{Imperial/09/CSS}}<html>');
}
}

Revision as of 15:19, 28 September 2009

'); }else if(document.documentElement.clientWidth<=1024){ document.write(' '); }else if(window.innerWidth>1024){ document(' '); }else if(document.documentElement.clientWidth>1024){ document(' '); }