Template:Imperial/09/TemplateTop

From 2009.igem.org

(Difference between revisions)
Line 4: Line 4:
if (window.innerWidth<=1024) {
if (window.innerWidth<=1024) {
   alert('cat is in the house');
   alert('cat is in the house');
 +
}else if(document.documentElement.clientWidth<=1024){
 +
    alert('cat is in IE');
}
}
</script>
</script>

Revision as of 15:12, 28 September 2009

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