Changeset 2636 for sandbox/jabberit_messenger/trophy_expresso
- Timestamp:
- 04/27/10 11:38:25 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/jabberit_messenger/trophy_expresso/js/loadIM.js
r2629 r2636 351 351 { 352 352 var oldTitle = document.title; 353 var newTitle = " ## NOVA MENSAGEM ##";353 var newTitle = "## NOVA MENSAGEM ##"; 354 354 var idWindow = arguments[1]; 355 356 if( timeoutId == null )355 356 if( timeoutId == null ) 357 357 { 358 358 timeoutId = setInterval(function() 359 { 360 document.title = document.title == newTitle ? ' ' : newTitle; 361 359 { 360 document.title = ( document.title == newTitle ) ? oldTitle : newTitle; 362 361 }, 1000); 363 362 364 configEvents( window , 'onclick', function()363 configEvents( window.document, 'onclick', function() 365 364 { 366 365 clearInterval(timeoutId); … … 369 368 }); 370 369 371 configEvents( window , 'onkeypress', function()370 configEvents( window.document, 'onkeypress', function() 372 371 { 373 372 clearInterval(timeoutId);
Note: See TracChangeset
for help on using the changeset viewer.