Results 1 to 4 of 4

Thread: Ultimate Fade-In Slideshow not showing up in IE8

  1. #1
    Join Date
    Aug 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade-In Slideshow not showing up in IE8

    1) Script Title: Ultimate Fade-In Slideshow v2.4

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.htm

    3) Describe problem: My slideshow is working in Firefox, but on IE8 it isn't showing up at all. No images. Not sure about other browsers like Safari.

    I've checked everything I know how. Ideas?

    My site: http://www.nyscooterclub.com/forum
    Last edited by nyscooterclub; 08-04-2010 at 05:46 PM.

  2. #2
    Join Date
    Aug 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Here is my code:

    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
     
    <script type="text/javascript" src="http://www.nyscooterclub.com/images/ads/fadeslideshow.js"> 
     
    /***********************************************
    * Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
    ***********************************************/
     
    </script>
     
    <script type="text/javascript"> 
     
    var mygallery=new fadeSlideShow({
    	wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
    	dimensions: [468, 60], //width/height of gallery in pixels. Should reflect dimensions of largest image
    	imagearray: [
    ["http://www.nyscooterclub.com/images/ads/scootersobanner.gif", "http://www.scootersoriginali.com", "_new"],
    ["http://www.nyscooterclub.com/images/ads/scooterbottegabanner.bmp", "http://www.scooterbottega.com/", "_new"],
    ["http://www.nyscooterclub.com/images/ads/motosportbannernew.jpg", "http://www.motosportbrokerage.com", "_new"],
    ["http://www.nyscooterclub.com/images/ads/stevenfriedbanner.gif", "http://www.siflaw.com/", "_new"],
    ["http://www.nyscooterclub.com/images/ads/statefarmbannernew.jpg", "http://www.hobokensf.com", "_new"],
    ["http://www.nyscooterclub.com/images/ads/newenoughbanner.jpg", "http://www.newenough.com", "_new"],
    ["http://www.nyscooterclub.com/images/ads/zoomscooterbanner.gif", "http://www.zoomscooternyc.com/", "_new"],
    ["http://www.nyscooterclub.com/images/ads/potamkinbanner.jpg", "http://www.vespapotamkin.com", "_new"],
    ["http://www.nyscooterclub.com/images/ads/vespajcbanner.jpg", "http://www.vespajc.com", "_new"],
    ["http://www.nyscooterclub.com/images/ads/scooterworksbanner2.gif", "http://www.scooterworks.com/",],
    ["http://www.nyscooterclub.com/images/ads/scooterwestbanner.gif", "http://www.scooterwest.com", "_new"],
    ["http://www.nyscooterclub.com/images/ads/scootstockbanner.jpg", "http://www.longislandscooterclub.com", "_new"] //no trailing comma after very last image element!
    	],
    	displaymode: {type:'auto', pause:30000, cycles:0, randomize:true},
    	persist: false, //remember last viewed slide and recall within same session?
    	fadeduration: 500, //transition duration (milliseconds)
    })
     
    </script>

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Get rid of the trailing comma (red):

    Code:
     . . . ["http://www.nyscooterclub.com/images/ads/scooterworksbanner2.gif", "http://www.scooterworks.com/",],
    ["http://www.nyscooterclub.com/images/ads/scooterwestbanner.gif", "http://www.scooterwest.com", "_new"],
    ["http://www.nyscooterclub.com/images/ads/scootstockbanner.jpg", "http://www.longislandscooterclub.com", "_new"]
    	],
    	displaymode: {type:'auto', pause:30000, cycles:0, randomize:true},
    	persist: false, 
    	fadeduration: 500,
    })
    It's technically invalid to have a comma after the last item in an object (this is an object) or an array, but most browsers these days will error correct that for you. IE will not.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Aug 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Bingo, thank you.

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
  •