StephanieT
02-24-2010, 10:09 PM
1) Script Title: Ultimate Fade-in Slide show (v2.1)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem: My images are all displaying at once, and not rotating one-by-one (http://stephaniesuggests.com/) Can you tell me what I’m doing wrong? Thanks!
This is the code I put in the Head Section:
<!DOCTYPE HTML>
<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: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://stephaniesuggests.com/images/Rotating1.jpg", "", "", "Welcome to our United Physical Therapy in Peru, IL!"],
["http://stephaniesuggests.com/images/Rotating4.jpg", "", "", "Just follow the sign to our office."],
["http://stephaniesuggests.com/images/Rotating6.jpg", "", "", "Our office is private and welcoming."],
["http://stephaniesuggests.com/images/Rotating9.jpg", "", "", "And our waiting room is comfortable and quiet"],
["http://stephaniesuggests.com/images/Rotating2.jpg", "", "", "Each room was designed with your comfort and privacy in mind"],
["http://stephaniesuggests.com/images/Rotating10.jpg", "", "", "Personalized attention promotes your progress and recovery."],
["http://stephaniesuggests.com/images/Rotating3.jpg", "", "", "Any necessary exercises are performed in a private setting"],
["http://stephaniesuggests.com/images/Rotating5.jpg", "", "", "One-on-one care is the best care possible!"] //<--no trailing comma
after very last image element!
],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false, randomize:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})
</script>
<noscript>Sorry you can't see the great pictures here - you have javascript turned off!</noscript>
This is the code I put on the page:
<div id="fadeshow1"></div>
<div id="fadeshow2toggler" style="width:250px; text-align:center; margin-top:10px">
<a href="#" class="prev"><img src="http://stephaniesuggests.com/images/Rotating1.jpg" style="border-width:0" /></a> <span class="status"
style="margin:0 50px; font-weight:bold"></span> <a href="#" class="next"><img src="http://stephaniesuggests.com/images/Rotating4.jpg" style="border
-width:0" /></a><a href="#" class="next"><img src="http://stephaniesuggests.com/images/Rotating6.jpg" style="border-width:0" /></a>
<a href="#" class="next"><img src="http://stephaniesuggests.com/images/Rotating9.jpg" style="border-width:0" /></a>
<a href="#" class="next"><img src="http://stephaniesuggests.com/images/Rotating2.jpg" style="border-width:0" /></a>
<a href="#" class="next"><img src="http://stephaniesuggests.com/images/Rotating10.jpg" style="border-width:0" /></a>
<a href="#" class="next"><img src="http://stephaniesuggests.com/images/Rotating3.jpg" style="border-width:0" /></a>
<a href="#" class="next"><img src="http://stephaniesuggests.com/images/Rotating5.jpg" style="border-width:0" /></a>
</div>
This is the code I uploaded to my site’s script directory:
http://www.dynamicdrive.com/dynamicindex14/fadeslideshow.js
I'm using XSitePro as my html editor.
THANKS!
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem: My images are all displaying at once, and not rotating one-by-one (http://stephaniesuggests.com/) Can you tell me what I’m doing wrong? Thanks!
This is the code I put in the Head Section:
<!DOCTYPE HTML>
<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: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://stephaniesuggests.com/images/Rotating1.jpg", "", "", "Welcome to our United Physical Therapy in Peru, IL!"],
["http://stephaniesuggests.com/images/Rotating4.jpg", "", "", "Just follow the sign to our office."],
["http://stephaniesuggests.com/images/Rotating6.jpg", "", "", "Our office is private and welcoming."],
["http://stephaniesuggests.com/images/Rotating9.jpg", "", "", "And our waiting room is comfortable and quiet"],
["http://stephaniesuggests.com/images/Rotating2.jpg", "", "", "Each room was designed with your comfort and privacy in mind"],
["http://stephaniesuggests.com/images/Rotating10.jpg", "", "", "Personalized attention promotes your progress and recovery."],
["http://stephaniesuggests.com/images/Rotating3.jpg", "", "", "Any necessary exercises are performed in a private setting"],
["http://stephaniesuggests.com/images/Rotating5.jpg", "", "", "One-on-one care is the best care possible!"] //<--no trailing comma
after very last image element!
],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false, randomize:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})
</script>
<noscript>Sorry you can't see the great pictures here - you have javascript turned off!</noscript>
This is the code I put on the page:
<div id="fadeshow1"></div>
<div id="fadeshow2toggler" style="width:250px; text-align:center; margin-top:10px">
<a href="#" class="prev"><img src="http://stephaniesuggests.com/images/Rotating1.jpg" style="border-width:0" /></a> <span class="status"
style="margin:0 50px; font-weight:bold"></span> <a href="#" class="next"><img src="http://stephaniesuggests.com/images/Rotating4.jpg" style="border
-width:0" /></a><a href="#" class="next"><img src="http://stephaniesuggests.com/images/Rotating6.jpg" style="border-width:0" /></a>
<a href="#" class="next"><img src="http://stephaniesuggests.com/images/Rotating9.jpg" style="border-width:0" /></a>
<a href="#" class="next"><img src="http://stephaniesuggests.com/images/Rotating2.jpg" style="border-width:0" /></a>
<a href="#" class="next"><img src="http://stephaniesuggests.com/images/Rotating10.jpg" style="border-width:0" /></a>
<a href="#" class="next"><img src="http://stephaniesuggests.com/images/Rotating3.jpg" style="border-width:0" /></a>
<a href="#" class="next"><img src="http://stephaniesuggests.com/images/Rotating5.jpg" style="border-width:0" /></a>
</div>
This is the code I uploaded to my site’s script directory:
http://www.dynamicdrive.com/dynamicindex14/fadeslideshow.js
I'm using XSitePro as my html editor.
THANKS!