I'm working on a kind of instant-messaging option on my website. I would like to have the effect of the browser of my user to 'flash' in his menubar, when he recieves a notification that requires his attention. This should not be an additional popup or anything else annoying, and it should only happen when the user's browser (that has my site open) is not active.
okay. if the op wants to make sure then i would recommend that odoisc try it in safari and opera as well.
But from experience i learned that if it works in chrome, firefox, and IE it should be fine-- usually.
really annoying if you're typing and typing a space clears the alert box without having read what it said.
Yes that would be quite annoying especially if it was something important and if the OP's client requested it then it should be visible until the user purposely requests its departure.
Here is an idea, maybe one could add buttons in the box that when the user gives input or clicks a certain button it would close the alert. The notification in the taskbar would turn off the moment the user reaches said window.
A window-close button, a circle with an X in it should suffice...
It works in IE and Firefox, Google Chrome though actually brings the browser window to the front, which would be really annoying if you're typing a space, that clears the alert box without having read what it had to say.
yeah a dialogue box works for me
However, the dialogue box was triggered after a certain time of viewing the page so I had some time to minimise my browser. Because i believe the os or browser won't cause the flashing notification if the user is in said window.
I dont know if it will work on the dock for mac. But for mac it would cause the browser's icon to bounce.
One thing that felgall might have been referring too, sorry if im speaking for you, here:
is that it may not work in every browser. Try safari, firefox, and (i just tried it in IE and it works)
wow saying I tried it in IE and it works feels weird :lol: because usually speciifc configurations have to be made for IE
Anywho, I hope I was of help. Ill post if I find anything
Edit: Just wondering I believe OP means the user with the original question, but what does it stand for?
That earthquake effect affects the browser page, but the OP is wanting the taskbar button to attract the users attention instead, for when the browser is not visible.
You don't get any choice of what is in a dialog box generated by the browser. That is fully under the browser control.
The only cross browser way to generate the wanted flash is to force a page reload.
It might be something that can be done using a plugin or extension added to the browser. You'd definitely need to have something trigger a reload of the page in order to provide something to detect.
It appears though that showing a dialog box will achieve the desired result.
check here if this is what you want
if not then you may want to check out dynamicdrive.com 's document effects section as they have a lot of cool scripts to do things to the document, viewport window, etc
When you use an alert for when the notification requires the users attention, that will flash the toolbar button for the browser.