sketchpad
01-26-2012, 11:21 PM
1) Script Title: Ultimate Fade-in slideshow (v2.4)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem:
I believe I set everything up correctly per the script instructions, but my images just will not come in. All I get is a black box where the images should be. My website is at www.ottoandsons-nursery.com/test
Here is my code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script type="text/javascript" src="fadeslideshow.js">
/***********************************************
* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [900, 270], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://www.ottoandsons-nursery.com/Roses_slide2.jpg"],
["http://www.ottoandsons-nursery.com/Roses_slide7.jpg"],
["http://www.ottoandsons-nursery.com/Roses_slide4.jpg"],
["http://www.ottoandsons-nursery.com/Roses_slide8.jpg"],
["http://www.ottoandsons-nursery.com/Roses_slide3.jpg"],
["http://www.ottoandsons-nursery.com/Roses_slide1.jpg"],
["http://www.ottoandsons-nursery.com/Roses_slide5.jpg"],
["http://www.ottoandsons-nursery.com/Roses_slide6.jpg"] //<--no trailing comma after very last image element!
],
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: "none",
togglerid: ""
})
</script>
----------------------------------------------------------------
This is what I call in the page (template): <div id="fadeshow1"></div>
This is the top of my stylesheet:
<!DOCTYPE HTML>
@charset "utf-8";
/* CSS Document */
-----------------------------------------------------------------
This is what I have at the top of the JS file:
var fadeSlideShow_descpanel={
controls: [['http://www.ottoandsons-nursery.com/images/x.png',7,7], ['http://www.ottoandsons-nursery.com/images/restore.png',10,11], ['http://www.ottoandsons-nursery.com/images/loading.gif',54,55]], //full URL and dimensions of close, restore, and loading images
fontStyle: 'normal 11px Verdana', //font style for text descriptions
slidespeed: 200 //speed of description panel animation (in millisec)
}
-----------------------------------------------------------------
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem:
I believe I set everything up correctly per the script instructions, but my images just will not come in. All I get is a black box where the images should be. My website is at www.ottoandsons-nursery.com/test
Here is my code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script type="text/javascript" src="fadeslideshow.js">
/***********************************************
* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [900, 270], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://www.ottoandsons-nursery.com/Roses_slide2.jpg"],
["http://www.ottoandsons-nursery.com/Roses_slide7.jpg"],
["http://www.ottoandsons-nursery.com/Roses_slide4.jpg"],
["http://www.ottoandsons-nursery.com/Roses_slide8.jpg"],
["http://www.ottoandsons-nursery.com/Roses_slide3.jpg"],
["http://www.ottoandsons-nursery.com/Roses_slide1.jpg"],
["http://www.ottoandsons-nursery.com/Roses_slide5.jpg"],
["http://www.ottoandsons-nursery.com/Roses_slide6.jpg"] //<--no trailing comma after very last image element!
],
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: "none",
togglerid: ""
})
</script>
----------------------------------------------------------------
This is what I call in the page (template): <div id="fadeshow1"></div>
This is the top of my stylesheet:
<!DOCTYPE HTML>
@charset "utf-8";
/* CSS Document */
-----------------------------------------------------------------
This is what I have at the top of the JS file:
var fadeSlideShow_descpanel={
controls: [['http://www.ottoandsons-nursery.com/images/x.png',7,7], ['http://www.ottoandsons-nursery.com/images/restore.png',10,11], ['http://www.ottoandsons-nursery.com/images/loading.gif',54,55]], //full URL and dimensions of close, restore, and loading images
fontStyle: 'normal 11px Verdana', //font style for text descriptions
slidespeed: 200 //speed of description panel animation (in millisec)
}
-----------------------------------------------------------------