nebullaone
01-23-2012, 11:51 PM
1) Script Title: Ultimate Fade-in slide show v2.4
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem: Hello everyone. I am hoping someone can help me with this because I am going a little crazy trying to get this to work :confused:. I am creating my own wordpress theme, and am trying to incorporate this slideshow. Here is my code in my header.php:
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/fadeslideshow.js"></script>
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [443, 255], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["<?php bloginfo('template_directory'); ?>/images/home-slideshow/slideshow.jpg", "", "", ""],
["<?php bloginfo('template_directory'); ?>/images/home-slideshow/slideshow.jpg", "", "", ""] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:3500, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})
</script>
I have also tried:
["/images/home-slideshow/slideshow.jpg", "", "", ""]
and
["images/home-slideshow/slideshow.jpg", "", "", ""]
but still not working.
And my code in index.php:
<div style="margin-left:auto; margin-right:auto; width:443px;" id="fadeshow1"></div>
The gallery is just not showing up. I am not receiving any error messages or anything. It's just not working. Any ideas what I am missing?
Thanks
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem: Hello everyone. I am hoping someone can help me with this because I am going a little crazy trying to get this to work :confused:. I am creating my own wordpress theme, and am trying to incorporate this slideshow. Here is my code in my header.php:
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/fadeslideshow.js"></script>
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [443, 255], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["<?php bloginfo('template_directory'); ?>/images/home-slideshow/slideshow.jpg", "", "", ""],
["<?php bloginfo('template_directory'); ?>/images/home-slideshow/slideshow.jpg", "", "", ""] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:3500, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})
</script>
I have also tried:
["/images/home-slideshow/slideshow.jpg", "", "", ""]
and
["images/home-slideshow/slideshow.jpg", "", "", ""]
but still not working.
And my code in index.php:
<div style="margin-left:auto; margin-right:auto; width:443px;" id="fadeshow1"></div>
The gallery is just not showing up. I am not receiving any error messages or anything. It's just not working. Any ideas what I am missing?
Thanks