Ignore:
Timestamp:
05/18/10 16:59:44 (14 years ago)
Author:
niltonneto
Message:

Ticket #1040 - Corrige problemas na largura de barra de funções e scroll vertical.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/expressoMail1_2/js/common_functions.js

    r2758 r2813  
    3737        var content_folders = Element("content_folders"); 
    3838        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;             
    4040        if(divScrollMain){ 
    4141                divScrollMain.style.height = (clientHeight - (findPosY(divScrollMain) + (table_message.clientHeight ? table_message.clientHeight : table_message.offsetHeight))) + "px"; 
     
    5252                        if(div_scroll){ 
    5353                                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)+10)) + "px"; 
     54                                div_scroll.style.width = (clientWidth - (findPosX(div_scroll)+15)) + "px"; 
    5555                        } 
    5656                } 
Note: See TracChangeset for help on using the changeset viewer.