View Full Version : a weekly js
molina2000
10-13-2015, 02:34 AM
I'm looking for a js that post an new html document in an iframe every Saturday at noon. Any help will be appreciated.
Beverleyh
10-13-2015, 05:35 AM
Maybe you can use this? http://www.dynamicdrive.com/dynamicindex17/ajaxrotate.htm
molina2000
02-13-2016, 07:18 PM
Thanks Berveley for replaying, but I'm looking for anything that can display a diferent html document in an iframe every Saturday at noon. Can a js change it at noon?, not a midnight, that the real issue.
molina2000
02-13-2016, 07:20 PM
I want to display the same document during the whole week, but change it every Saturday at noon.
styxlawyer
02-14-2016, 12:03 AM
A more detailed requirement is needed before anyone can offer a sensible solution.
Do you want the document to change actively whilst someone has their browser open over noon on Saturday? If not then server-side programming with PHP and a cron job would be a much simpler. Opening the page at 11:59:59 on Saturday will display one document and opening it at 12:00:01 will display a different one. Having the document change live whilst the browser is open over noon is more difficult.
molina2000
02-14-2016, 02:05 AM
It not necessary to open live, what I'm looking forward is to publish a different study lesson every Saturday at Noon and stay available for the whole week. In another word, a lesson weekly but changing on Saturday at noon not at midnight. I'm looking for a js because people in Spain or Germany can see the new lesson on their time zone, and people in the USA on their own time zone. Right now I'm doing it manually, but I live in Central Time, and that is too late for Europe! Any help will be appreciated.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.