I hate to hit and run, but I can't test from here, so....
I think the "//" comment does not work in VBscript. At least it didn't the last time I tried. It works in JavaScript and in C#, but VBScript used the single quote for comments, if I recall correctly.
Also, the Marquee tag worked in Firefox the last time I saw it (which was depressingly recent). |
Shannon, I was talking about VBS explicitly, and yes, it did work using C-style double-slash. I was astounded too, which is why I mentioned it. You can call the following VBS to see for yourself:
option explicit
function test() dim s
s = "foo" // s = "bar" msgbox s
end function
The HTML to run it:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Title</title> <script type="text/vbscript" src="file.vbs"></script> </head> <body onload="test()">
Test
</body> </html>
|