PDA

View Full Version : Ultimate Fade-in Slideshow - images not showing



erin138439
07-14-2009, 03:19 AM
1) Script Title: Ultimate Fade-in Slideshow

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem: on here: http://www.erindevers.net/wordpresstest I'm trying to use three arrays. Only the first one shows up.

Also: the one that does load 1. pulls photos from different arrays and 2. shows the same ones over and over, leaving some out. I've turned the Random option off, and all the URLs are correct. Why does it do this?

Editable code (I apologize for the long img urls - it wouldn't load otherwise):


var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/1.jpg", "1", ""] //plain image syntax
fadeimages[1]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/2.jpg", "2", ""] //plain image syntax
fadeimages[2]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/3.jpg", "3", ""] //plain image syntax
fadeimages[3]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/4.jpg", "4", ""] //plain image syntax
fadeimages[4]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/5.jpg", "5", ""] //plain image syntax
fadeimages[5]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/16.jpg", "16", ""] //plain image syntax
fadeimages[6]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/17.jpg", "17", ""] //plain image syntax
fadeimages[7]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/18.jpg", "18", ""] //plain image syntax
fadeimages[8]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/25.jpg", "25", ""] //plain image syntax

var fadeimages2=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/6.jpg", "6", ""] //plain image syntax
fadeimages[1]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/7.jpg", "7", ""] //plain image syntax
fadeimages[2]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/8.jpg", "8", ""] //plain image syntax
fadeimages[3]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/9.jpg", "9", ""] //plain image syntax
fadeimages[4]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/10.jpg", "10", ""] //plain image syntax
fadeimages[5]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/19.jpg", "19", ""] //plain image syntax
fadeimages[6]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/20.jpg", "20", ""] //plain image syntax
fadeimages[7]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/21.jpg", "21", ""] //plain image syntax

var fadeimages3=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/11.jpg", "11", ""] //plain image syntax
fadeimages[1]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/12.jpg", "12", ""] //plain image syntax
fadeimages[2]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/13.jpg", "13", ""] //plain image syntax
fadeimages[3]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/14.jpg", "14", ""] //plain image syntax
fadeimages[4]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/15.jpg", "15", ""] //plain image syntax
fadeimages[5]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/22.jpg", "22", ""] //plain image syntax
fadeimages[6]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/23.jpg", "23", ""] //plain image syntax
fadeimages[7]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/24.jpg", "24", ""] //plain image syntax

var fadebgcolor="white"


and


<div id="photo1">
<script type="text/javascript">
new fadeshow(fadeimages, 263, 197, 0, 3000, 1)
</script>
</div><!--end photo1-->

<div id="photo2">
<script type="text/javascript">
new fadeshow(fadeimages2, 263, 197, 0, 3000, 1)
</script>
</div><!--end photo2-->

<div id="photo3">
<script type="text/javascript">
new fadeshow(fadeimages3, 263, 197, 0, 3000, 1)
</script>
</div><!--end photo3-->

I really appreciate any help anyone can give me! I'm really stuck on this!

erin138439
07-21-2009, 03:14 AM
It's been a week and I've still had no luck. Can anyone help with this at all? Thanks!!

ddadmin
07-21-2009, 07:49 AM
You'll need to change the names of the 2nd and 3rd set of arrays holding the images to "fadeimages2" and "fadeimages3", respectively. For example:


var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/1.jpg", "1", ""] //plain image syntax
fadeimages[1]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/2.jpg", "2", ""] //plain image syntax
"
"

var fadeimages2=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages2[0]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/6.jpg", "6", ""] //plain image syntax
fadeimages2[1]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/7.jpg", "7", ""] //plain image syntax
fadeimages2[2]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/8.jpg", "8", ""] //plain image syntax
"
"


var fadeimages3=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages3[0]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/11.jpg", "11", ""] //plain image syntax
fadeimages3[1]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/12.jpg", "12", ""] //plain image syntax
fadeimages3[2]=["http://www.erindevers.net/wordpresstest/wp-content/themes/starkers/style/images/13.jpg", "13", ""] //plain image syntax
"
"