Bandenjamin
Programmer
Hey all have a somewhat tricky one.
I've got an html file with the following script
When I open this in my browser (ie and/or firefox) it seems to work fine but if I try to load this as my html signature it won't attach at all and there are no error messages. If I had some plain text to the body of the html it will show that, it just doesn't appear to be executing the Javascript.
I've checked all the FAQ's and forums I can think of for any old posts and there was one from R5 that said Javascript wasn't supported but I thought it was in R7.
Any ideas/suggestions are greatly appreciated. Does anyone see what I'm doing wrong here?
--Dan
Whenever you find yourself on the side of the majority, it is time to pause and reflect.
Mark Twain
I've got an html file with the following script
Code:
<span><script type="text/javascript">
var d=new Date()
theDay=d.getDay()
switch (theDay)
{
case 1:
document.write("Before the first year nobody gave it a chance. Now, 36 years later,
everybody knows Monday Night Football</br><b>Frank Gifford</b>")
break
case 2:
document.write("Work is an evil to be avoided.</br><b>Mark Twain</b>")
break
case 3:
document.write("Once a Raider, always a Raider.</br<b>Al Davis<b>")
break
case 4:
document.write("This must be Thursday. I never could get the hang of
Thursdays.</br><b>Douglas Adams</b>")
break
case 5:
document.write("Finally Friday")
break
case 6:
document.write("Super Saturday")
break
case 0:
document.write("Sleepy Sunday")
break
}
</script></span>
</body>
</html>
When I open this in my browser (ie and/or firefox) it seems to work fine but if I try to load this as my html signature it won't attach at all and there are no error messages. If I had some plain text to the body of the html it will show that, it just doesn't appear to be executing the Javascript.
I've checked all the FAQ's and forums I can think of for any old posts and there was one from R5 that said Javascript wasn't supported but I thought it was in R7.
Any ideas/suggestions are greatly appreciated. Does anyone see what I'm doing wrong here?
--Dan
Whenever you find yourself on the side of the majority, it is time to pause and reflect.
Mark Twain