View Full Version : Customizing "Simple Controls Gallery" to support multiple galleries.

03-07-2011, 11:08 PM
1) Script Title: Simple Controls Gallery v1.3

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

3) Describe problem: No problem, I love it! But...

I'm looking for help to adapt Simple Controls Gallery (or something else similar) for my needs.

Basically, I want one image box to support multiple separate galleries, and allow users to change galleries by clicking links on the page.

Specifically, I would need to be able to click a link on the page that would change the "imagearray" used by Simple Controls Gallery, dynamically generating a new imagearray from two variables - part number and image count, then refresh the gallery on screen.

Example: I would pass "2345" (part number) and "5" (image count), and it would generate this new imagearray, and refresh the gallery:

["images/2345_01.jpg", "", "", ""],
["images/2345_02.jpg", "", "", ""],
["images/2345_03.jpg", "", "", ""],
["images/2345_04.jpg", "", "", ""],
["images/2345_05.jpg", "", "", ""]