Template:Imperial/09/TemplateTop

From 2009.igem.org

(Difference between revisions)
Line 3: Line 3:
if (window.innerWidth<=1024) {
if (window.innerWidth<=1024) {
     document.write('</html>');
     document.write('</html>');
-
   document.write('{{Imperial/09/CSS/Reduced}}');
+
   document.write('<style type="text/css">@import "https://2009.igem.org/Template:Imperial/09/CSS/Reduced";</style>');
   document.write('<html>');
   document.write('<html>');
}else if(document.documentElement.clientWidth<=1024){
}else if(document.documentElement.clientWidth<=1024){
       document.write('</html>');
       document.write('</html>');
-
   document.write('{{Imperial/09/CSS/Reduced}}');
+
   document.write('<style type="text/css">@import "https://2009.igem.org/Template:Imperial/09/CSS/Reduced";</style>');
   document.write('<html>');
   document.write('<html>');
}else if(window.innerWidth>1024){
}else if(window.innerWidth>1024){
       document.write('</html>');
       document.write('</html>');
-
   document.write('{{Imperial/09/CSS}}');
+
   document.write('<style type="text/css">@import "https://2009.igem.org/Template:Imperial/09/CSS";</style>');
   document.write('<html>');
   document.write('<html>');
}else if(document.documentElement.clientWidth>1024){
}else if(document.documentElement.clientWidth>1024){
   document.write('</html>');
   document.write('</html>');
-
   document.write('{{Imperial/09/CSS}}');
+
   document.write('<style type="text/css">@import "https://2009.igem.org/Template:Imperial/09/CSS";</style>');
   document.write('<html>');
   document.write('<html>');
}
}

Revision as of 15:54, 28 September 2009