PDA

View Full Version : FadeSlideShow links to images



Kkooey
05-27-2012, 01:35 PM
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


<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: ""

jscheuer1
05-27-2012, 05:08 PM
This:



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

should be:


["banners_home1.jpg", "/societeskincare.com/www/index.html", "", ""],