View Full Version : Photo Album script v2.0

10-26-2007, 08:33 PM
1) Script Title: Photo Album script v2.0

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/photoalbum.htm

3) Describe problem:

I would like to get this script to work in reverse by showing the last image from the array first and working it's way up the array list.

Can anyone help me, I'd apreciate it very much.

10-27-2007, 12:04 AM
Sure, just add the below line in red to your images array:

var myvacation=new Array()
myvacation[0]=["../photo1.jpg", "", "photo1-large.jpg"]
myvacation[1]=["photo2.jpg", "Our car", ""]
myvacation[2]=["photo3.jpg", "Our dog", "photo3-large.jpg"]
myvacation[3]=["photo4.jpg", "Our hotel", "http://www.gohawaii.com/"]
myvacation[4]=["photo5.jpg", "Our Computer", "http://www.google.com", "_new"]
myvacation[5]=["photo6.jpg", "Our house", "photo6-large.jpg"]
myvacation[6]=["photo7.jpg", "Our Friends", "http://www.ask.com"]


This reverses the contents of the array before passing it into the script.

10-27-2007, 10:59 AM
That worked

Thank You