Results 1 to 3 of 3

Thread: Script doesn't work in IE8!! Help!!!

  1. #1
    Join Date
    Jan 2011
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Unhappy Script doesn't work in IE8!! Help!!!

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

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

    3) Describe problem:

    The problem that I have is that for some reason this script just doesn't show the images in Internet Explorer 8. I have read many threads about it and I already tried the solutions (like update the fadeslideshow.js version and delete the
    jQuery.noConflict() line). The only thing that I did was to put the slide inside tables to have it centralized. I still don't have the page live but I attached a zip file that include the index.html, the .css file and the fadeslideshow.js! I really don't like to be asking for help but I just can't realize why it works fine in every single other browser but Internet Explorer!!!

    Thank you!

  2. #2
    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

    In your zip you have an index.html file. In its code there is:

    Code:
    <script type="text/javascript">
    
    
    var mygallery2=new fadeSlideShow({
    	wrapperid: "fadeshow2", //ID of blank DIV on page to house Slideshow
    	dimensions: [500, 390], //width/height of gallery in pixels. Should reflect dimensions of largest image
    	imagearray: [
    		["http://i67.photobucket.com/albums/h300/666Cradel666/bla1.jpg", "", "", "Nothing beats relaxing next to the pool when the weather is hot. jaofnsaofnaof noasn aofaofaofnasofas f asfhasofha"],
    		["http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave", "_new", "Some day I'd like to explore these caves!"],
    		["http://i30.tinypic.com/531q3n.jpg"],
    		["http://i31.tinypic.com/119w28m.jpg", "", "", "What a beautiful scene with everything changing colors."],//<--no trailing comma after very last image element!
    	],
    	displaymode: {type:'manual', pause:2500, cycles:0, wraparound:false},
    	persist: false, //remember last viewed slide and recall within same session?
    	fadeduration: 500, //transition duration (milliseconds)
    	descreveal: "always",
    	togglerid: "fadeshow2toggler"
    })
    
    </script>
    See the highlighted line? Get rid of the trailing comma (red). Other browsers now error correct for this, but it's still a technical error and implies there's another one coming, but there isn't.
    - John
    ________________________

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

  3. #3
    Join Date
    Jan 2011
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Wink

    Thank you!!!! What a stupid error. My area is console languages like C++, Visual Basic, Ruby and etc. I rarely deal with javascript so... sorry hehe. Thank you again man.

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
  •