View Full Version : Script not working in IE

02-08-2010, 06:24 PM
1) Script Title: Ultimate Fade-in slideshow (v2.1)

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

3) Describe problem: Will not work in IE 7 or 8

Hi there,

I have put the code in my site and it works perfect in Firefox, however, I went to test it out in IE8 and nothing happens. It's not working at all. Can anyone give me any pointers? I havent touched the JS file that I downloaded, the only code I changed is the code that the script gave me to put in my header, sorry if this is a simple problem, I'm not too used to js... My code is below. Thanks in advance!

<script type="text/javascript">

var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [359, 210], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["images/img2.jpg", "", "", ],
["images/img1.jpg", "", "", ],
["images/img5.jpg", "", "", ],
["images/img6.jpg", "", "", ],
["images/img3.jpg", "", "", ],
["images/img4.jpg", "", "", ],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""



02-09-2010, 03:37 AM
There shouldn't be a comma following the last image array element. Remove the code in red below:

["images/img3.jpg", "", "", ],
["images/img4.jpg", "", "", ],

02-09-2010, 12:30 PM
thanks so much, did that and now it works perfect!! :) thankyou!