Changeset 1579


Ignore:
Timestamp:
11/03/09 16:51:57 (14 years ago)
Author:
alexandrecorreia
Message:

Ticket #370 - Melhoria do layout das janelas, para criação de preferencia(on/offline).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jabberit_messenger/js/makeW.js

    r1567 r1579  
    2626                        _window.style.zIndex    = pObj.zindex; 
    2727                        _window.innerHTML               = Xtools.parse( Xtools.xml('window_main'), 'window.xsl', pObj ); 
    28                          
    29                         document.body.appendChild( _window );    
     28 
     29                        window.document.body.insertBefore( _window, document.body.lastChild ); 
    3030                         
    3131                        if( pObj.draggable ) 
     
    4646                        _win_content.innerHTML = pContent; 
    4747                }; 
    48                  
    49                 setTimeout( function(){ _contentWindow();}, 220 ); 
     48 
     49                setTimeout( _contentWindow, 220 ); 
    5050        } 
    5151         
     
    5757                { 
    5858                        if ( pVisible == "display" ) 
    59                         { 
    6059                                winM.style.left = "70px"; 
    61                         } 
    6260                         
    6361                        if ( pVisible == "hidden") 
    64                         { 
    6562                                winM.style.left = "-1500px"; 
    66                         } 
    6763                         
    6864                        if( pVisible == "remove" ) 
Note: See TracChangeset for help on using the changeset viewer.