5
Hi Richard
follow this link for rotation scripts
HEREHere's one I used myself
place the code below into a blank html page and call it "redirect.html" place it in a directory called /rotate/
-------------------------------------------------------
<html>
<head>
<script language="JavaScript" type="text/javaScript">
<!-- Begin
// This will retrieve today's date from the visitors computer
var today = new Date();
// This will extract the numeric value of what day of the month today is
var dayOfMonth = today.getDate();
// This will create the name of the HTML document to be retrieved
var target = dayOfMonth + ".html";
// This will redirect the browser to the correct HTML document
window.location = target;
// End -->
</script></head>
<body>
</body>
</html>
-----------------------------------------------------------
Now create 31 pages with different text/ images etc to suit each day of the month
call page 1 "1.html"
call page 2 "2.html"
etc to 31
place them all in the same directory as "redirect.html
--------------------------------------------------------
to use the script simply call /rotate/"redirect.html"
You could now create a custom block with an iframe and call "rotate/redirect.html" like this
<div align='center'>
<IFRAME align=center width=100% height=600 scrolling="auto" src="http://www.yoursite.com/.../rotate/redirect.html" ></IFRAME>
</div>
This would automatically load the correct page corresponding to todays' date as soon as the page with the iframe loaded. To view other pages other than todays date you could try making hyperlinks in another block to other day names and target the iframe. Add a link to redirect.html as well and call it 'today' This is all off the top of my head, so please experiment ok!
Richard