Notice any errors on this line?

liunx

Guest
Hi, I'm building a site using DW4.0. THe site test out fine, but testing my remote site, I have a problem with the code.<br />
On the second page of the site, there is a button (when clicked) starts a very simple timeline with 3 sound files in it. On the remote site it doesn't work, UPDATE: it now works, but shows an error on the page still.<br />
THanks in advance,<br />
Shan.<br />
<br />
URL-www.bassanglersofsandiego.pair.com<!--content-->Could you pretty please post a link to the site in question. Then we can look at the rest of the code, to see what it's doing.<!--content-->Sorry about that. <!-- w --><a class="postlink" href="http://WWW.bassanglersofsandiego.pair.com">WWW.bassanglersofsandiego.pair.com</a><!-- w --><br />
<br />
A little update on the situation:<br />
I have recently moved some files around on my site (not much has changed) but now the sound files work on the remote site as well as remote, except you still see 'error on page' at the bottom when you run the pointer over the button.<br />
While you're there (look at that moon), I'm looking for some code that will make the image change into the next phase every 48 hours ( I have 15 phases sitting in a bank and currently have to manually load them).<br />
Yanks,<br />
Shan.<!--content-->There aren't any major screw ups in the HTML code. Just a couple of very minor things to look at (<!-- m --><a class="postlink" href="http://validator.w3.org/check?uri=http%3A%2F%2FWWW.bassanglersofsandiego.pair.com%2F&charset=%28detect+automatically%29&doctype=HTML+4.01+Transitional&ss=1&outline=1&sp=1&verbose=1">http://validator.w3.org/check?uri=http% ... &verbose=1</a><!-- m -->).<br />
<br />
<br />
Add type="text/javascript" to every <script> tag.<br />
<br />
<br />
Remember to "Quote" all attributes, especially all "#FFFFFF" colors, all URLs, all "50%" sizes, and any other attribute value that contains anything other than a simple "A" to "Z" or "0" to "9" value. In HTML 4.01 it is recommended to quote all attribute values.<br />
<br />
<br />
Add alt="some text" to every <img > tag, the text reflecting what is in the dispayed image. On unimportant images, like spacer elements, a minimum of alt="" is fine. For bullet-point images, alt="*" is often used. Search engines do index the alt text. The alt attribute is a required element.<br />
<br />
<br />
<br />
I can't see what else might be causing problems in the javascript code. Ack, too late on a Sunday evening for this. I'll take a look in the week. I usually export javascript to external files to make for a neater HTML page, and allow the file to be reused across the site. External .js files are called using:<br />
<script type="text/javascript" language="javascript" src=http://www.htmlforums.com/archive/index.php/"/path/file.js"></script><!--content-->I appreciatte you taking a look at the code like that. I'm still learning all the 'ins and out's to HTML, so you're input is great to hear. I'll be working on those things you mentioned ASAP.<br />
Thanks,<br />
Shan.<br />
<br />
URL <!-- w --><a class="postlink" href="http://www.bassanglersofsandiego.pair.com">www.bassanglersofsandiego.pair.com</a><!-- w --><!--content-->update:<br />
I changed some things around, so the error is no longer on line 67 and I enabled *right click* again.<!--content-->I get this<br />
<br />
Error: document.CS1047498432570.play is not a function<br />
Source File: <!-- m --><a class="postlink" href="http://www.bassanglersofsandiego.pair.com/basd/frames/mainframe.htm">http://www.bassanglersofsandiego.pair.c ... nframe.htm</a><!-- m --><br />
Line: 67<br />
<br />
also that code is not stopping. it is looping even though you told it to not loop. there is something wrong with that plugin you are using. what is MASTERSOUND ??<br />
<br />
in IE anyway, it will not play in other browsers.<!--content-->
 
Back
Top