Changeset 180
- Timestamp:
- 05/20/05 00:01:00 (7 years ago)
- Files:
-
- 1 modified
-
trunk/plugins/FullScreen/full-screen.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/FullScreen/full-screen.js
r168 r180 138 138 sizeItDown(); 139 139 140 // Restore all ancestor positions 141 var ancestor = this._htmlArea; 142 while((ancestor = ancestor.parentNode) && ancestor.style) 143 { 144 ancestor.style.position = ancestor._xinha_fullScreenOldPosition; 145 ancestor._xinha_fullScreenOldPosition = null; 146 } 147 140 148 window.scroll(this._unScroll.x, this._unScroll.y); 141 149 } … … 151 159 152 160 161 // Make all ancestors position = static 162 var ancestor = this._htmlArea; 163 while((ancestor = ancestor.parentNode) && ancestor.style) 164 { 165 ancestor._xinha_fullScreenOldPosition = ancestor.style.position; 166 ancestor.style.position = 'static'; 167 } 168 153 169 // Maximize 154 window.scroll 170 window.scroll(0,0); 155 171 this._htmlArea.style.position = 'absolute'; 156 172 this._htmlArea.style.zIndex = 9999;
