Jump to content


Window Blink Function

  • Please log in to reply
1 reply to this topic

#1 nikhilthecool

  • Members
  • PipPip
  • Member
  • 18 posts

Posted 03 April 2006 - 10:29 AM

Everyone has seen the yahoo messenger, where when we receive a new message, the minimised window starts blinking with a sound.

I want to implement something similar here.

I retrive rows from a mysql database in a window which is being refreshed every 5 secs. So all i want is whenever there is a new row added in the database and it is retrieved on refresh, i want the window to blink, in case it is minimised.

Is this possible in php? Or in javascript or anyother scripting language??

Please share something if u know.


#2 redbullmarky

  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 03 April 2006 - 11:20 AM

the javascript 'alert'/confirm/prompt functions all cause this to happen even if the window is minimized. only problem is that it can often depend on the user's setup (browser, O/S, etc)
"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users