Changeset 171 for trunk/instant_messenger/js/load.js
- Timestamp:
- 02/26/08 17:01:46 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/instant_messenger/js/load.js
r164 r171 1 window.document.onmouseover = awayTimer; 2 1 var focusFlag = true; 2 3 window.document.onblur = windowBlur; 4 window.document.onclick = windowFocus; 5 window.document.onmouseover = awayTimer; 6 7 var window_title = document.title; 8 3 9 var _awayTimer_ = null; 4 10 var cod_emotions = { … … 20 26 { 21 27 im_window.load('_contacts_im_','instant_messenger_content', '<title>Expresso Messenger</title>', 'window.xsl','',true,true,true); 22 //im_window.visible('_contacts_im_','block');23 28 } 24 29 … … 49 54 _awayTimer_ = setTimeout("im.set_timeOut()", parseInt(im.timeOut_im) * 60000 ); 50 55 } 51 56 57 function windowBlur() 58 { 59 try 60 { 61 focusFlag = false; 62 document.title = window_title; 63 }catch(e){} 64 } 65 66 function windowFocus() 67 { 68 try 69 { 70 focusFlag = true; 71 document.title = window_title; 72 }catch(e){} 73 } 74 52 75 shortcut_im(); 53 76 awayTimer();
Note: See TracChangeset
for help on using the changeset viewer.