View Full Version : 2-D Array and divs

12-15-2007, 02:59 AM
I don't know javascript but was recommended that a 2-dimensional array is what I need to accomplish this.

I am trying to make an image gallery using essentially 3 divs on a single page:

1st div will contain a list of albums as text links

2nd div will contain the images (showing the first image of an album when it is clicked in div 1)

3rd div will have a simple "previous" / "next" text navigation that will display the previous/next image of the album in div 2

Anybody know how to write this? Like I said, I'm new to this and am not sure how to create a 2D array. Thanks!