Forum Moderators: open
<SCRIPT LANGUAGE="JavaScript">
// Courtesy of SimplytheBest.net (http://simplythebest.net/info/dhtml_scripts.html)
<!--
document.write("<font color=#000000 size=2 face=Arial, Helvetica, sans-serif>")
now = new Date()
if (now.getDay() == 5)
document.write("It's Friday, Have you gotten your pay check yet?")
if (now.getDay() == 6)
document.write("It's Saturday, time to relax and surf through this site!")
if (now.getDay() == 0)
document.write("It's Sunday, the Day of Rest.")
if (now.getDay() == 1)
document.write("It's Monday, take it easy, don't get frustrated.")
if (now.getDay() == 2)
document.write("It's Tuesday, for some reason I think of Philly.")
if (now.getDay() == 3)
document.write("It's Wednesday, the middle of the week, perhaps a drink later?")
if (now.getDay() == 4)
document.write("It's Thursday, another drink!")
document.write("</font>")
//-->
</script>
I have another script also that rotates images below, I am wondering if I can get it to rotate pages, I tried an <A Href> tag, but this did not work. Any thoughts?
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source! [javascript.internet.com...] -->
<!-- Begin
today = new Date();
day = today.getDay();
arday = new Array("sunday.jpg", "monday.jpg", "tuesday.jpg",
"wednesday.jpg", "thursday.jpg", "friday.jpg", "saturday.jpg");
document.write("<img src='" + arday[day] + "'>");
// End -->
</script>
PLease take a look and let me know if there is anything I can do.
L.
<?
$today = date("D");if($today == "Sun")
include 'sunday.ext';
else if($today == "Mon")
include 'monday.ext';
else if($today == "Tue")
include 'tuesday.ext';
else if($today == "Wed")
include 'wednesday.ext';
else if($today == "Thu")
include 'thursday.ext';
else if($today == "Fri")
include 'friday.ext';
else if($today == "Sat")
include 'saturday.ext';
?>
<script>
function Change_iframe(number,date)
{
argument_local = '?' + 'date' + '=' + date;
try
{
document.getElementById('iframe').src='mydoc' + '_' + date + '/' + 'mydoc.html' + argument_local;
}
catch(er) {
}
}
</script>