Results 1 to 2 of 2

Thread: FadeSlideShow links to images

  1. #1
    Join Date
    Jan 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default FadeSlideShow links to images

    1) Script Title: FadeSlideShow

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

    3) Describe problem: I need to add links to the individual images in the slide show. What am I doing wrong?! www.societeskincare.com

    Code:
    <script type="text/javascript" src="tabcontent.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
    <script type="text/javascript" src="fadeslideshow.js"></script>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script type="text/javascript">
    var mygallery=new fadeSlideShow({
    	wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
    	dimensions: [800, 350], //width/height of gallery in pixels. Should reflect dimensions of largest image
    	imagearray: [
    		["banners_home1.jpg", ""<a href="/societeskincare.com/www/index.html"></a> "", "", ""],
    		["banners_home2.jpg", "", "", ""],
    		["banners_home3.jpg", "", "", ""],
    		["banners_home4.jpg", "", "", ""],
    		["banners_home5.jpg", "", "", ""],
    		["banners_home6.jpg", "", "", ""] //<--no trailing comma after very last image element!
    	],
    	displaymode: {type:'auto', pause:4000, cycles:0, wraparound:false},
    	persist: false, //remember last viewed slide and recall within same session?
    	fadeduration: 500, //transition duration (milliseconds)
    	descreveal: "ondemand",
    	togglerid: ""
    Last edited by jscheuer1; 05-27-2012 at 05:06 PM. Reason: Format

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,030
    Thanks
    44
    Thanked 3,211 Times in 3,173 Posts
    Blog Entries
    12

    Default

    This:

    Code:
    		["banners_home1.jpg", ""<a href="/societeskincare.com/www/index.html"></a> "", "", ""],
    should be:

    Code:
    		["banners_home1.jpg", "/societeskincare.com/www/index.html", "", ""],
    - John
    ________________________

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

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
  •