PDA

View Full Version : fade ins & outs going nowhere



azul
11-04-2008, 04:41 AM
Hello,

1) Script Title: Ultimate Fade-in slideshow (v1.51)

2) Script URL (on DD): I used this page's instructions http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

here's the original page without the fades & a properly rotating gallery: www.lesliemazoch.com

here's the test page to get the fade ins & random order working: www.lesliemazoch.com/fades

3) Describe problem: First picture fades in but nothing further happens. A gallery of 18 pictures should be randomly displayed with fade ins and fade outs.

oh what a mess,

thanks in advance to anyone with the time & good will to help me find the way

:rolleyes:

rangana
11-04-2008, 04:54 AM
What you have is erroneous:


fadeimages[0]=["rotate/01.JPG", "rotate/02.JPG", "rotate/03.JPG", "rotate/04.JPG", "rotate/05.JPG", "rotate/06.JPG", "rotate/07.JPG", "rotate/08.JPG", "rotate/09.JPG", "rotate/10.JPG", "rotate/11.JPG","rotate/12.JPG", "rotate/13.JPG", "rotate/14.JPG", "rotate/15.JPG", "rotate/16.JPG", "rotate/17.JPG", "rotate/18.JPG"] //plain image syntax


...where in fact, it should be like this:


fadeimages[0]=["rotate/01.JPG"]
fadeimages[1]=["rotate/02.JPG"]
fadeimages[2]=["rotate/03.JPG"]
.
.
.


Alternatively, you can just change highlighted to fadeimagesArray:


fadeimages[0]=["rotate/01.JPG", "rotate/02.JPG . . .


...and add this just above the fadebgcolor declaration:


for(var i=0;i<fadeimagesArray.length;i++)
fadeimages[i]=[fadeimagesArray[i]]

var fadebgcolor="white"


Hope that helps.

azul
11-04-2008, 04:23 PM
rangana

THANK YOU !!

i have to wait until thursday to make the changes.

will be back in touch then. all the best,

azul;)