Changeset 321
- Timestamp:
- 06/18/08 11:29:07 (16 years ago)
- Location:
- trunk/instant_messenger
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/instant_messenger/js/client.js
r318 r321 148 148 { 149 149 if ( !_disconnected ) 150 _conn.go('$this.Ujabber.getContacts'); 150 { 151 _conn.go('$this.Ujabber.getContacts', 152 function(data) 153 { 154 if ( data == 'disconnected' ) 155 setTimeout(_contacts, 3000); 156 } 157 ); 158 setTimeout(function() 159 { 160 var _contact_list = top.document.getElementById('im_contact_list'); 161 if ( !_contact_list ) 162 _contacts(); 163 }, 5000); 164 } 151 165 } 152 166 -
trunk/instant_messenger/js/dragdrop.js
r318 r321 88 88 var x = mousePos.x - _element.mouseOffset.x; 89 89 var y = mousePos.y - _element.mouseOffset.y; 90 _element.style.left = ( x < 0 ) ? 0 : x;91 _element.style.top = ( y < 0 ) ? 0 : y;90 _element.style.left = (( x < 0 ) ? 0 : x) + 'px'; 91 _element.style.top = (( y < 0 ) ? 0 : y) + 'px'; 92 92 } 93 93 } … … 152 152 return false; 153 153 154 _pObject.style.position = 'absolute';155 154 _pObject.setAttribute('dragdrop_parent', 'true'); 156 155 -
trunk/instant_messenger/js/jabber.js
r318 r321 350 350 while ( el.getAttribute('jid') ) 351 351 { 352 if ( el.style.backgroundImage.indexOf('unavailable') < 0 ) 353 el.style.display = _display; 352 if ( _display == 'block' ) 353 { 354 var _show_all = _cookies.get('IM_unavailable'); 355 if ( (el.style.backgroundImage.indexOf('unavailable') > -1) && (_show_all == 'hidden') ) 356 _display = 'none'; 357 } 358 el.style.display = _display; 354 359 el = el.nextSibling; 355 360 if ( el && el.nextSibling ) -
trunk/instant_messenger/js/windows.js
r318 r321 21 21 _window.setAttribute('id', pId + '__window_master'); 22 22 _window.setAttribute('class', 'window'); 23 _window.setAttribute('className', 'window'); 23 24 24 25 _window = this._TARGET.appendChild(_window); … … 286 287 function _position(pX, pY) 287 288 { 288 this.wm.style.position = 'absolute'; 289 // for IE 290 //if ( window.ActiveXObject ) 291 // this.wm.style.position = 'absolute'; 289 292 290 293 if ( typeof pX == 'number' ) -
trunk/instant_messenger/templates/default/css/window.css
r318 r321 13 13 font: 10pt Verdana, Arial, Helvetica, sans-serif; 14 14 margin: 0px; 15 position: absolute; 15 position:fixed; 16 } 17 18 * html .window 19 { 20 position:absolute; 16 21 } 17 22
Note: See TracChangeset
for help on using the changeset viewer.