Results 1 to 3 of 3

Thread: Ultimate Fade-In Slideshow doesn't appear

  1. #1
    Join Date
    Jun 2010
    Posts
    13
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade-In Slideshow doesn't appear

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

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

    3) Describe problem: It just doesn't show up in the specified div. Works fine on the demo page, and I think I've done everything to get it working. Look at www.arcan3.co.uk, it should appear on the homepage below the last line of text in the grey box, in <div id="fadeshow1">

    Sorry some of the code is a bit unreadable, a lot of it is generated by php scripts, and I haven't found a way of adding line breaks to the source.

    i love the site, the scripts here rock!

  2. #2
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    You have this in your sourcecode:
    Code:
    <script type="text/javascript">
    
    var mygallery=new fadeSlideShow({
    	wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
    	dimensions: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of largest image
    	imagearray: [
    		["http://i26.tinypic.com/11l7ls0.jpg", "", "", "Nothing beats relaxing next to the pool when the weather is hot."],
    		["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:'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>
    Remove the last:
    })
    And you should be okay

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

    Default

    Thanks, works a dream. No idea how that got there...

    EDIT:

    One other thing, I'm trying to align the slideshow centrally in the page, but I'm having no luck. How should I go about it? I haven't updated the online version yet, but the script is working fine running on my local server.
    Last edited by timbim; 06-06-2010 at 04:11 PM.

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
  •