I need a javascript to click an URL link at 7:00pm CST everyday which starts a web presentation?
Java timer script to click url at set time each day
Collapse
X
-
i m not sure that i understand ur problem.
yet i responding u .....
if ur page opened and the time is 7:00pm then the specified URL is redirected....r ight????
then set a timer see the JS API (setTimeInterva l and setTimeOut) and update the window.location .href with the spcified URL when the time is 7:00pm.
best of luck
kind regards.
dmjpro.Comment
-
Thanks I am a total newbie. The url I want to go to is 2.htm everyday at 7pm CST what would the could be that I would need to insert in the page.Originally posted by dmjproi m not sure that i understand ur problem.
yet i responding u .....
if ur page opened and the time is 7:00pm then the specified URL is redirected....r ight????
then set a timer see the JS API (setTimeInterva l and setTimeOut) and update the window.location .href with the spcified URL when the time is 7:00pm.
best of luck
kind regards.
dmjpro.
Thanks in advance for your helpComment
-
It is on the same domain and will be put on 1.htm I already have a timer refresh script on 2.htm, 3.htm etc that takes it to the next page when the audio is finished from each page.Originally posted by patberryThanks I am a total newbie. The url I want to go to is 2.htm everyday at 7pm CST what would the could be that I would need to insert in the page.
Thanks in advance for your helpComment
-
Do you want to redirect to that page or open a new window?
In your window onload, execute a function which runs at set intervals using setInterval. How often depends on how accurate you wish to be.
Then check out the Date object. Use that to determine the current time. If the time is right, either change the location using location.href=. .. or open a new window depending on what you want.Comment
-
I am looking to redirectOriginally posted by acoderDo you want to redirect to that page or open a new window?
In your window onload, execute a function which runs at set intervals using setInterval. How often depends on how accurate you wish to be.
Then check out the Date object. Use that to determine the current time. If the time is right, either change the location using location.href=. .. or open a new window depending on what you want.Comment
-
I have looked at all the suggestions and they are great, but I still can't get it to work. The Windows Task opens the page in IE no matter what I do it also opens a new instance of IE even if I have on already open which is a problem because I need to be logged in as a moderator to control the webcast. I already use timer script to go from 2.htm to 3.htm ect. All I need is a script to put on the index page that automatically goes to 2.htm at 7pm CST everyday. This would completely automate the webcast. I would be willing to make a donation or pay someone to not point me in the right direction, but provide me a working script. Thanks looking forward to your response.Originally posted by acoderSo use location.href to change the url.Comment
Comment