Results 1 to 3 of 3

Thread: Script not working in IE

  1. #1
    Join Date
    Feb 2010
    Location
    Ireland
    Posts
    23
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default Script not working in IE

    1) Script Title: Ultimate Fade-in slideshow (v2.1)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.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!

    HTML Code:
    <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: ""
    
    })
    
    
    </script>

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    There shouldn't be a comma following the last image array element. Remove the code in red below:

    Code:
    		["images/img3.jpg", "", "", ],
    		["images/img4.jpg", "", "", ],
    	],
    DD Admin

  3. #3
    Join Date
    Feb 2010
    Location
    Ireland
    Posts
    23
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    thanks so much, did that and now it works perfect!! thankyou!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •