You should see an image array for Action A!!!!
(Action A is the image that does not change when you mouseover.)

I want to make ActionA change after the five second timeout, but it is not working.

What is my problem?

Willy Duitt

12-19-2004, 03:01 PM

For one, you are using the same global variables names in both this script and your navigation script which are conflicting with each other...

var the_timeout;
var index = 0;

.....Willy

NeilKelty

12-19-2004, 03:30 PM

i changed the variables and it still didn't work

What now....

Willy Duitt

12-19-2004, 03:52 PM

Try turning on error reporting...

The name of your array is: ActionA_images = new Array();
But you have:
Line 21: actionA_images[0] = new Image();

Also, you should use: document.images['IMAGE_NAME].src
Rather than: window.document.IMAGE_NAME.src

Lastly; there is an error being thrown in your external navigation script: images is null or not an object

But I am not inclined to open and look thru that file until you at least fix these problems you posted about... I would suggest that you create another example page which only contains the code relavent to the script at hand and get that working before you try adding it to another document which already contains script errors... And do not forget to turn on error reporting...

.....Willy

NeilKelty

12-19-2004, 04:00 PM

Lastly; there is an error being thrown in your external navigation script: images is null or not an object

yeah, i couldnt figure that one out. It doesn't seem to be impairing anything so i figured id work on it later. If you can help that would be great!