Javascript not working in IE - Please help me

Hello,

I’m having an issue getting a javascript photo scroller to work in IE.

It works fine in all other browsers.

I’m getting this error message:

Webpage error details

Message: ‘imagearray[…].0’ is null or not an object
Line: 37
Char: 3
Code: 0
URI: http://hexham.info/resources/javascript/fadeslideshow.js

The JS file exists at the above URL if you want to check it out and the page (http://hexham.info) contains a small piece of relating java also.

If anyone can help I would be so happy and eternally grateful.

Lee.

No problem. Glad it worked.

r51 - THANK YOU so much - It worked perfectly. I don’t know how to thank you - If you have a site I could back link it? – A million thank you’s. Lee.

In your page code, where you define imagearray, there is a trailing comma at the end of the array. Try removing that.


imagearray: [
   ...
	["resources/images/sellthemoon.jpg", "http://hexham.info/business/sellthemoon.php", "", "Sell The Moon"], 
	["resources/images/dillies_featured.jpg", "http://hexham.info/business/dillies.php", "", "Dillies - Wines Flowers Chocolate"], 
	["resources/images/layercom.jpg", "http://hexham.info/business/layercom.php", "", "Layercom - Computer Network Service"], 
--> at end of this line -->	["resources/images/shakes21.jpg", "http://hexham.info/business/shake-n.php", "", "Shake'n Milkshakes"],  <-- Lose this comma <-- <--
],