Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
trash
/
vhost_www.arlenshop.fr_1556185825
/
htdocs
/
modules
/
cshometab1
/
js
/
/srv/data/trash/vhost_www.arlenshop.fr_1556185825/htdocs/modules/cshometab1/js/getwidthbrowser.js
function getWidthBrowser() { var myWidth; if( typeof( window.innerWidth ) == 'number' ) { //Non-IE myWidth = window.innerWidth; //myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' myWidth = document.documentElement.clientWidth; //myHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible myWidth = document.body.clientWidth; //myHeight = document.body.clientHeight; } return myWidth; }