jquery Programming Glossary: howmanytimes
How to create flashing page title effect like facebook? http://stackoverflow.com/questions/3381462/how-to-create-flashing-page-title-effect-like-facebook share improve this question Code function var original document.title var timeout window.flashTitle function newMsg howManyTimes function step document.title document.title original newMsg original if howManyTimes 0 timeout setTimeout step 1000 howManyTimes.. window.flashTitle function newMsg howManyTimes function step document.title document.title original newMsg original if howManyTimes 0 timeout setTimeout step 1000 howManyTimes parseInt howManyTimes if isNaN howManyTimes howManyTimes 5 cancelFlashTitle.. function step document.title document.title original newMsg original if howManyTimes 0 timeout setTimeout step 1000 howManyTimes parseInt howManyTimes if isNaN howManyTimes howManyTimes 5 cancelFlashTitle timeout step window.cancelFlashTitle function..
|