Template:Imperial/09/TemplateTop

From 2009.igem.org

(Difference between revisions)
Line 1: Line 1:
{{Imperial/09/CSS}}
{{Imperial/09/CSS}}
<html>
<html>
-
<script type="text/javascript">
 
-
if (window.innerWidth<=1024) {
 
-
  alert('cat is in the house');
 
-
}else if(document.documentElement.clientWidth<=1024){
 
-
    alert('cat is in IE');
 
-
}
 
-
</script>
 
<script type="text/javascript">
<script type="text/javascript">
if (window.innerWidth<=1024) {
if (window.innerWidth<=1024) {
   document.write('</html>{{Imperial/09/CSS/Reduced}}<html>');
   document.write('</html>{{Imperial/09/CSS/Reduced}}<html>');
}else if(document.documentElement.clientWidth<=1024){
}else if(document.documentElement.clientWidth<=1024){
-
  document.write('</html>{{Imperial/09/CSS/Reduced}}<html>');
 
-
}else if(document.getElementsByTagName('body')[0].clientWidth<=1024){
 
   document.write('</html>{{Imperial/09/CSS/Reduced}}<html>');
   document.write('</html>{{Imperial/09/CSS/Reduced}}<html>');
}
}
</script>
</script>
 +
<body>
<body>
<div id="II09_mainWrapper">
<div id="II09_mainWrapper">

Revision as of 15:15, 28 September 2009

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