Team:Grenoble/script

From 2012.igem.org

(Difference between revisions)
Line 33: Line 33:
}return{'w':c,'h':a}
}return{'w':c,'h':a}
     }
     }
 +
 +
    function x(){
 +
var c=o,a=c.documentElement,b=c.body,d,e;
 +
e=a.scrollHeight;
 +
d=a.scrollWidth;
 +
if(a.clientHeight>e){
 +
    e=a.clientHeight
 +
}
 +
if(a.clientWidth>d){
 +
    d=a.clientWidth
 +
}
 +
if(b.scrollHeight>e){
 +
    e=b.scrollHeight
 +
}
 +
if(b.scrollWidth>d){
 +
    d=b.scrollWidth
 +
}return{'w':d,'h':e}
 +
    }
 +
})
})
(window,document);
(window,document);

Revision as of 15:28, 11 July 2012