
Originally Posted by
maikelz
In firefox and safari itīs works really well, but in IE the slideshow doesnīt repeat.
So when all images have been shown, it stops? In Firefox the slideshow than continious with the first image.
Is there a code, so i can let the slideshow repeat in IE?
It's the trailing comma in the list of items that is still causing you problems.
When there's a trailing comma, Internet Explorer thinks there's another unspecified item in the list, so your list is no longer 4 items long but 5 items long instead. Then Internet Explorer tries to read that 5th item and fails, stopping the script.
Get rid of that trailing comma in each of the arrays, and your problem will be solved.
If you don't understand what a trailing comma is, here is is highlighted in red:
Code:
var array = [1, 2, 3, 4,];
Bookmarks