Template:Imperial/09/TemplateTop

From 2009.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
<script type="text/javascript">
<script type="text/javascript">
-
if (document.window.innerWidth <= 2000)){
+
if (self.innerHeight){
-
   alert('viva la bamba');
+
  alert(self.innerWidth);
 +
}else if (document.documentElement && document.documentElement.clientHeight){
 +
   alert(document.documentElement.clientWidth);
 +
}else if (document.body){
 +
  alert(document.body.clientWidth);
}
}
 +
if (window.innerWidth <= 2000)){
if (window.innerWidth <= 2000)){
  document.write('</html>{{Imperial/09/CSSnarrow}}<html>');
  document.write('</html>{{Imperial/09/CSSnarrow}}<html>');

Revision as of 14:13, 28 September 2009