Changeset 2642 for trunk/expressoMail1_2/js/jscode/common_functions.js
- Timestamp:
- 04/27/10 16:58:10 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/jscode/common_functions.js
r2618 r2642 1 1 // BEGIN: FUNCTION RESIZE WINDOW 2 /*3 2 if (!expresso_offline) { 4 3 var _showBar = showBar; 5 4 var _hideBar = hideBar; 6 5 } 7 */8 6 9 7 function __showBar(){ … … 19 17 hideBar = __hideBar; 20 18 21 window.onresize = resizeWindow;19 XEvents.add( window, 'onresize', resizeWindow ); 22 20 23 21 function resizeWindow(){ … … 36 34 var div = Element("content_id_"+BordersArray[i].sequence); 37 35 38 // This comented code cause/avoid (!?) Firefox to stuck some request39 36 if(div) 40 // div.setAttribute("style","height: "+parseInt(defaultHeight - 90)+"px;"); 41 div.style.height = defaultHeight - 90; 37 div.style.height = ( defaultHeight - 90 ) + 'px'; 42 38 if(div_scroll) 43 // div_scroll.setAttribute("style","height: "+parseInt(defaultHeight - 130)+"px;"); 44 div_scroll.style.height = defaultHeight - 130; 39 div_scroll.style.height = ( defaultHeight - 130 ) + 'px'; 45 40 } 46 41 }
Note: See TracChangeset
for help on using the changeset viewer.