View Full Version : Carousel Slideshow is not seen in IE7

12-14-2011, 01:39 PM
1) Carousel Slideshow HELP!

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/carousel.htm

3) Describe problem: I used the script in a website and it works in Google Chrome, but when I open the site in IE 7 I do'nt see the Carousel slideshow.
What is wrong? how can I fix it??

12-14-2011, 03:19 PM
It could be that when you edited this:

Car_Image_Sources=new Array(
"photo3.jpg","", //this slide isn't linked
"photo4.jpg","http://www.codingforums.com" // NOTE No comma after last line

You allowed a comma to creep in there where it doesn't belong. Most modern browsers, IE 9 and Chrome included, but not IE 7, will error correct that for you. Technically speaking though you may not have a comma there.

The browser cache may need to be cleared and/or the page refreshed to see changes.

But it could be something else or there could also be other problems.

If you want more help, please post a link to the page on your site that contains the problematic code so we can check it out.

12-14-2011, 03:32 PM
Thank you verry much for your quick reply!
It's all new for me and I asume I made a mistake but where?
The link is:

12-14-2011, 03:53 PM
OK, I found it, and it is something else. On that page:


You have two body tags, one where it should be, at the start of the body content:

<body bgcolor="#666699" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">

And one near the end:

<body onload="Carousel()">

Technically only one of these tags is allowed per page. So get rid of the second one and make the first one be:

<body onload="Carousel()" bgcolor="#666699" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">

12-14-2011, 07:46 PM
Oh, I am so thankfull, it works indeed.
It is'nt easy to do the first time, without knowing a lot about scripts and things like that.

I got rid of the second one and did like you said. I published the file again and now it works fine.
Thank you very much.