-
PLEASE HELP!!! Seems so simple, but I don't get it!
1) Script Title: Local Time script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex6/localtime.htm
Question: Would it be possible to have this script output a line(s) of text at certain intervals instead of the actual time based on some conditions?
For example, the script already gets the time from the webserver and outputs it, but at a specific time can I have it output text instead? Like so:
If server time = 08:00 AM then output "It is breakfast time!" and keep message displayed for about 5 minutes and then go back to displaying the time.
else If server time = 12:15 PM then output "It is lunch time!" and keep message displayed for about 5 minutes and then go back to displaying the time.
else If server time = 5:30PM then output "It is dinner time!" and keep message displayed for about 5 minutes and then go back to displaying the time. ETC..ETC...
Also, could it be possible to make the non-time message continuously flash (i.e. It's is breafast time!") and then stop flashing when it goes back to displaying the time again?
Thanks so much in advance for your help!
Last edited by wpthebest; 03-16-2007 at 06:25 PM.
Reason: Receiving no answers? Shortened up my question!
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks