Changeset 6722


Ignore:
Timestamp:
07/05/12 17:01:15 (7 years ago)
Author:
eduardow
Message:

Ticket #2932 - Melhorado o posicionamento de botão do messenger.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/jabberit_messenger/jmessenger/js/jscode/loadIM.mini.js

    r6179 r6722  
    2626{StatusBarIM=document.createElement('div');StatusBarIM.setAttribute('id','JabberMessenger');} 
    2727if(StatusBar) 
    28 {StatusBar.style.paddingLeft='33px';var _div=document.createElement('div');_div.appendChild(StatusBar.parentNode.removeChild(StatusBar.previousSibling));StatusBar.parentNode.insertBefore(_div,StatusBar);var _fastMenu=top.document.createElement('div');_fastMenu.setAttribute('id','fast_menu_jabber_expresso');_fastMenu.style.background='no-repeat';_fastMenu.style.backgroundImage='url('+arrow_down.src+')';_fastMenu.style.float='left';_fastMenu.style.height='15px';_fastMenu.style.left='7px';_fastMenu.style.margin='8 0 0 10px';_fastMenu.style.padding='0px';_fastMenu.style.position='absolute';_fastMenu.style.width='15px';_fastMenu.style.cursor='pointer';StatusBarIM.insertBefore(_fastMenu,StatusBarIM.firstChild);configEvents(_fastMenu,'onclick',function(){fastMenu(_fastMenu);});var _statusJabber=top.document.createElement('div');_statusJabber.setAttribute('id','status_jabber_expresso');_statusJabber.style.background='no-repeat';_statusJabber.style.backgroundImage='url('+add_user.src+')';_statusJabber.style.float='left';_statusJabber.style.height='18px';_statusJabber.style.left='19px';_statusJabber.style.margin='0 0 0 10px';_statusJabber.style.padding='0px';_statusJabber.style.position='absolute';_statusJabber.style.width='18px';_statusJabber.style.cursor='pointer';_statusJabber.style.zindex='999999';StatusBarIM.insertBefore(_statusJabber,StatusBarIM.firstChild);StatusBar.insertBefore(StatusBarIM,StatusBar.firstChild);if(_preferencesIM[0]=="openWindowJabberit:true") 
     28{StatusBar.style.paddingLeft='33px';var _div=document.createElement('div');_div.appendChild(StatusBar.parentNode.removeChild(StatusBar.previousSibling));StatusBar.parentNode.insertBefore(_div,StatusBar);var _fastMenu=top.document.createElement('div');_fastMenu.setAttribute('id','fast_menu_jabber_expresso');_fastMenu.style.background='no-repeat';_fastMenu.style.backgroundImage='url('+arrow_down.src+')';_fastMenu.style.float='left';_fastMenu.style.height='15px';_fastMenu.style.left='17px';_fastMenu.style.margin='8 0 0 10px';_fastMenu.style.padding='0px';_fastMenu.style.position='absolute';_fastMenu.style.width='15px';_fastMenu.style.cursor='pointer';StatusBarIM.insertBefore(_fastMenu,StatusBarIM.firstChild);configEvents(_fastMenu,'onclick',function(){fastMenu(_fastMenu);});var _statusJabber=top.document.createElement('div');_statusJabber.setAttribute('id','status_jabber_expresso');_statusJabber.style.background='no-repeat';_statusJabber.style.backgroundImage='url('+add_user.src+')';_statusJabber.style.float='left';_statusJabber.style.height='18px';_statusJabber.style.left='19px';_statusJabber.style.margin='0 0 0 10px';_statusJabber.style.padding='0px';_statusJabber.style.position='absolute';_statusJabber.style.width='18px';_statusJabber.style.cursor='pointer';_statusJabber.style.zindex='999999';StatusBarIM.insertBefore(_statusJabber,StatusBarIM.firstChild);StatusBar.insertBefore(StatusBarIM,StatusBar.firstChild);if(_preferencesIM[0]=="openWindowJabberit:true") 
    2929{configEvents(_statusJabber,'onclick',function(){rosterDiv();});} 
    3030else 
Note: See TracChangeset for help on using the changeset viewer.