adfy
04-02-2010, 08:11 PM
I'm using the slideshow in two ways, one on the home page, another in the left sidebar.
in the left sidebar area, the 2nd widget with the rotating flyers, it works on the home page, but not on any other pages:
http://alldesignedforyou.com/whiskey/
Thanks ahead of time.
I used this code: http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [600, 400], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/03/fg1.png"],
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/03/fg2.png"],
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/03/fg3.png"],
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/03/fg4.png"],
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/03/fg5.png"],
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/03/fg6.png"],
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/03/fg7.png"],
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/03/fg8.png"]
],
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: ""
})
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow2", //ID of blank DIV on page to house Slideshow
dimensions: [200, 262], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/04/widget-flyer1.png"],
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/04/widget-flyer2.png"],
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/04/widget-flyer3.png"]
],
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>
in the left sidebar area, the 2nd widget with the rotating flyers, it works on the home page, but not on any other pages:
http://alldesignedforyou.com/whiskey/
Thanks ahead of time.
I used this code: http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [600, 400], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/03/fg1.png"],
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/03/fg2.png"],
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/03/fg3.png"],
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/03/fg4.png"],
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/03/fg5.png"],
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/03/fg6.png"],
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/03/fg7.png"],
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/03/fg8.png"]
],
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: ""
})
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow2", //ID of blank DIV on page to house Slideshow
dimensions: [200, 262], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/04/widget-flyer1.png"],
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/04/widget-flyer2.png"],
["http://alldesignedforyou.com/whiskey/wp-content/uploads/2010/04/widget-flyer3.png"]
],
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>