Changeset 22133 for extensions/Autosize/js/autosize.cookie.js
- Timestamp:
- Apr 11, 2013, 11:37:27 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/autosize.cookie.js
r17503 r22133 96 96 97 97 } 98 99 jQuery("document").ready(function (jQuery) { 98 //========================================================================= 99 jQuery(window).ready(function (jQuery) { 100 return; 101 jQuery(window).load(function (i) { 102 103 }); 104 var myWidth = 0, myHeight = 0, myImgWidth = 0, myImgHeight = 0; 105 if (typeof (window.innerWidth) == 'number') { 106 //Non-IE 107 myWidth = window.innerWidth; 108 myHeight = window.innerHeight; 109 } else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) { 110 //IE 6+ in 'standards compliant mode' 111 myWidth = document.documentElement.clientWidth; 112 myHeight = document.documentElement.clientHeight; 113 } else if (document.body && (document.body.clientWidth || document.body.clientHeight)) { 114 //IE 4 compatible 115 myWidth = document.body.clientWidth; 116 myHeight = document.body.clientHeight; 117 } 118 windowWidth = parseInt(myWidth); 119 windowHeight = parseInt(myHeight); 120 100 121 101 122 return;
Note: See TracChangeset
for help on using the changeset viewer.