P
Prophet
I have figured out how to have text change according to the day of the
week - what I want to do is to ad an accompanying picture, which also
changes according to the day of the week.
Any ideas on how to help me??????
This is how I did the text:
<script language="JavaScript">
<!--
function quick() {
var mydate=new Date()
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var qfarray=new Array("text 1.",
"text 2.",
"text3.",
"text4",
"text5.",
"text6.",
"text7.")
document.write("<small><font face='Times New Roman'>"+qfarray[day])}
// -->
</script>
<script language="JavaScript">
<!--
quick()
//-->
</script>
week - what I want to do is to ad an accompanying picture, which also
changes according to the day of the week.
Any ideas on how to help me??????
This is how I did the text:
<script language="JavaScript">
<!--
function quick() {
var mydate=new Date()
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var qfarray=new Array("text 1.",
"text 2.",
"text3.",
"text4",
"text5.",
"text6.",
"text7.")
document.write("<small><font face='Times New Roman'>"+qfarray[day])}
// -->
</script>
<script language="JavaScript">
<!--
quick()
//-->
</script>