How to alert a user [SOLVED]

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
Stryks
Forum Regular
Posts: 746
Joined: Wed Jan 14, 2004 5:06 pm

How to alert a user [SOLVED]

Post by Stryks »

I have a page which is designed to be watched by a user over a period of a few hours. The page automatically reloads to show the latest info, and that works OK.

My problem is that after a while, the screensaver kicks in and the user needs to be alerted to look at the screen.

I thought I would just embed a sound effect, which is no drama really, but I am wondering if this is the best answer to this problem.

Anyone have any ideas ... I was thinking maybe an applet to handle the sound output, but maybe there is a better solution.

Ideas anyone?
Last edited by Stryks on Thu Nov 24, 2005 5:14 am, edited 1 time in total.
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

Just tell the user to turn the screen saver off.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

Ya, there's no way in your webpage to know if the screensaver is on or not. Playing a sound every 10 minutes or so will just annoy the user. After a while, it'll just mix into the background and become ineffective anyway.

Just turn off the screensaver. Modern monitors don't need them anyway.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
Stryks
Forum Regular
Posts: 746
Joined: Wed Jan 14, 2004 5:06 pm

Post by Stryks »

Really? They dont need them? I didn't know that.

Interesting points though, and I think it solves my problem.

Thanks. 8)
Post Reply