Wordpress Slide show Problems
Posted: Sun Mar 11, 2012 1:06 pm
hi friends , i have a problem with wordpress slideshow, i have install a slideshow and its ok but i want that each image have url , i cant add url code in the PHP code,
the slideshow code show below:
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [630, 182], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["<?php bloginfo('stylesheet_directory'); ?>/img/slidshow/1.jpg", "", ""],
["<?php bloginfo('stylesheet_directory'); ?>/img/slidshow/2.jpg", "", ""],
["<?php bloginfo('stylesheet_directory'); ?>/img/slidshow/3.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: ""
})
</script>
please help me!
Thanks
the slideshow code show below:
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [630, 182], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["<?php bloginfo('stylesheet_directory'); ?>/img/slidshow/1.jpg", "", ""],
["<?php bloginfo('stylesheet_directory'); ?>/img/slidshow/2.jpg", "", ""],
["<?php bloginfo('stylesheet_directory'); ?>/img/slidshow/3.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: ""
})
</script>
please help me!
Thanks