Submerged
01 Aug 2006, 03:31 AM
Hi, my name is Alex, I'm new here... I'm working on a site, but there is one script that I have no clue how to do. I mostly work with PHP, Javascipt is pretty alien to me.
Basically, when the scripts loads, I need to display a timer that counts down from 20. Then, when it hits 0, I need to run a little PHP script to display some random numbers (the script to write the numbers I can handle, I just need the script to be triggered after the timer runs out). It would be awesome if, when the timer hit 0, the timer disappeared, so the n umbers would appear in it's place, but ill be fine without it.
I dont know how tough that is, but if someone could help me a bit with the script I would be very grateful :)
Thanks for your time,
-Alex (Submerged)
PS. If you are wondering why it mentioned a Submit in the title, it's because I changed the idea well I was writing the post to make it simpler, but forgot to edit the title. No submit button is actually needed ;)
Basically, when the scripts loads, I need to display a timer that counts down from 20. Then, when it hits 0, I need to run a little PHP script to display some random numbers (the script to write the numbers I can handle, I just need the script to be triggered after the timer runs out). It would be awesome if, when the timer hit 0, the timer disappeared, so the n umbers would appear in it's place, but ill be fine without it.
I dont know how tough that is, but if someone could help me a bit with the script I would be very grateful :)
Thanks for your time,
-Alex (Submerged)
PS. If you are wondering why it mentioned a Submit in the title, it's because I changed the idea well I was writing the post to make it simpler, but forgot to edit the title. No submit button is actually needed ;)