|
Posted by Beauregard T. Shagnasty on 12/12/06 19:49
sally jo wrote:
> Here's the code I'm using:
>
> <script language="Javascript">
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
That's a good thing; means it won't play in my browser. Also, it is an
incorrect syntax.
> if (navigator.userAgent.indexOf('MSIE') > -1)
> {
> document.write('<bgsound src="Norah Jones - Sunrise.mp3"
> loop="1">');
> } else {
> document.write('<embed src="Norah Jones - Sunrise.mp3"
> autostart=TRUE hidden=true loop="1">');
^^^^^^^^^^^^^^^^
What if I was already playing a nice mellow jazz CD, and Norah came
blaring out of my speakers on top of my jazz? I would immediately hit
the back button. Or what if my grandbaby was having a nap and you woke
her up?
Further,
<http://cc.usu.edu/~cassia/Norah%20Jones%20-%20Sunrise.mp3>
ERROR 404 - The requested resource could not be found.
File not found ... NO:[REVERSE.MAPPING.FOR.THIS]FILE.PATH
(document, bookmark, or reference requires revision)
Additional information: 1xx, 2xx, 3xx, 4xx, 5xx, Help
WASD/8.0.0h Server at barney.usu.edu Port 80
Maybe your server doesn't like spaces in the file names?
> }
> </script>
>
> and here's the site:
>
> http://cc.usu.edu/~cassia/index.html
<http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fcc.usu.edu%2F~cassia%2Findex.html>
> Am I supposed to add that code to all the pages on the site?
Remove it from all pages.
Have a read of this site and write valid code:
http://htmldog.com/
--
-bts
-Motorcycles defy gravity; cars just suck
[Back to original message]
|