Changeset 2813 for branches/2.0/expressoMail1_2/js/common_functions.js
- Timestamp:
- 05/18/10 16:59:44 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/expressoMail1_2/js/common_functions.js
r2758 r2813 37 37 var content_folders = Element("content_folders"); 38 38 var clientHeight = ((window.innerHeight ? window.innerHeight : document.body.offsetHeight) - 8); 39 var clientWidth = ((window.innerWidth ? window.innerWidth : document.body.offsetWidth));39 var clientWidth = window.innerWidth ? window.innerWidth : document.body.offsetWidth; 40 40 if(divScrollMain){ 41 41 divScrollMain.style.height = (clientHeight - (findPosY(divScrollMain) + (table_message.clientHeight ? table_message.clientHeight : table_message.offsetHeight))) + "px"; … … 52 52 if(div_scroll){ 53 53 div_scroll.style.height = (clientHeight - (findPosY(div_scroll) + (table_message.clientHeight ? table_message.clientHeight : table_message.offsetHeight)+5)) + "px"; 54 div_scroll.style.width = (clientWidth - (findPosX(div_scroll)+1 0)) + "px";54 div_scroll.style.width = (clientWidth - (findPosX(div_scroll)+15)) + "px"; 55 55 } 56 56 }
Note: See TracChangeset
for help on using the changeset viewer.