Template:Imperial/09/TemplateTop

From 2009.igem.org

(Difference between revisions)
Line 6: Line 6:
   document.write('<style type="text/css" src="https://2009.igem.org/wiki/Template:Imperial/09/CSS/Reduced"></style>');
   document.write('<style type="text/css" src="https://2009.igem.org/wiki/Template:Imperial/09/CSS/Reduced"></style>');
}else if(window.innerWidth>1024){
}else if(window.innerWidth>1024){
 +
  alert('yeah');
   document.write('<style type="text/css" src="https://2009.igem.org/wiki/Template:Imperial/09/CSS"></style>');
   document.write('<style type="text/css" src="https://2009.igem.org/wiki/Template:Imperial/09/CSS"></style>');
}else if(document.documentElement.clientWidth>1024){
}else if(document.documentElement.clientWidth>1024){
 +
  alert('yeah in IE');
   document.write('<style type="text/css" src="https://2009.igem.org/wiki/Template:Imperial/09/CSS"></style>');
   document.write('<style type="text/css" src="https://2009.igem.org/wiki/Template:Imperial/09/CSS"></style>');
}
}

Revision as of 15:31, 28 September 2009