OK. The answer is yes, but you really don't need to worry about it. The changes are improvements, but if you don't want the hassle, don't bother. The advice was more for the future, along the lines of; what you did works, but here's how to do it better.Quote:
Originally Posted by Titties
There is one thing that this shows though: it tends to be easier to manage scripts when you place them in external files, especially when they are used in more than one document. You would just need to change one file and the update affects anything that uses the script automatically.
Sorry, I missed that.Quote:
As i said the rollover and banner image changes was made with Imageready [...]
If you look at the img elements in the markup (for example, line 131) you'll see that some of them have a name attribute:Quote:
You said something about "no such image with the name or id attribute value(...), so the browser throws an error"
This attribute value can be used by a script to find an image within the document, and if you look at the changeImages calls, you'll see that 'Index_03' is the first argument. However, at the end of these calls, you'll also find 'Index_34' and a filename with the same name, but no img element within the markup has a matching name attribute so the script errors out when it tries to use something that doesn't exist.HTML Code:<IMG NAME="Index_03" SRC="images/Index_03.jpg" WIDTH=490 HEIGHT=100 ALT="">
Mike
