Does not seem to work.
I'm trying to use it in an ILAYER, not an IFRAME.
I tried coding
Code:
document.frames['nscontent'].location="monday.html";
but it doesn't work.
So is it possible to target an ILAYER in that way?
Also which of the ILAYERS is the correct target?
Code:
<ilayer name="nscontainer" width=175 height=160 clip="0,0,175,160">
<layer name="nscontent" width=175 height=160 visibility=hidden>
<!--INSERT CONTENT HERE-->
<script>
<!--
mydate=new Date()
today=mydate.getDay()
if (today==1)
document.location="monday.html";
else if (today==2)
document.location="tuesday.html";
else if (today==3)
document.location="wednesday.html";
else if (today==4)
document.location="thursday.html";
else if (today==5)
document.location="friday.html";
else if (today==6)
document.location="saturday.html";
else
document.location="sunday.html";
//-->
</script>
<!--END CONTENT-->
Ta
Emily