Changeset 5849 for trunk/expressoMail1_2
- Timestamp:
- 03/29/12 16:26:01 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/common_functions.js
r5848 r5849 41 41 var content_folders = Element("content_folders"); 42 42 43 44 43 var clientWidth = 0, clientHeight = 0; 44 if( typeof( window.innerWidth ) == 'number' ) { 45 45 //Non-IE 46 46 clientWidth = window.innerWidth; 47 47 clientHeight = window.innerHeight; 48 48 } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { 49 49 //IE 6+ in 'standards compliant mode' 50 50 clientWidth = document.documentElement.clientWidth; 51 51 clientHeight = document.documentElement.clientHeight; 52 52 } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { 53 53 //IE 4 compatible 54 54 clientWidth = document.body.clientWidth; 55 55 clientHeight = document.body.clientHeight; 56 56 } 57 57 clientHeight = clientHeight - 8; 58 58
Note: See TracChangeset
for help on using the changeset viewer.