PDA

View Full Version : Simple Controls Gallery v1.3



adiem
06-27-2009, 01:46 PM
1) Script Title: :: Simple Controls Gallery v1.3

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

3) Describe problem: Can anyone tell me if its possible to get this script running with more than just 4 photos ? and if so which variable do i change to make it work?
I really like the script and would like to use it , any help would be great ,

thank you.

ddadmin
06-28-2009, 05:37 PM
Of course. The key is just to make sure that when you're defining your images, that the final image should have no trailing comma following it. For example:


imagearray: [
["http://i26.tinypic.com/11l7ls0.jpg", "http://en.wikipedia.org/wiki/Swimming_pool", "_new", "There's nothing like a nice swim in the Summer."],
["http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave", "", ""],
["http://i30.tinypic.com/531q3n.jpg", "", "", "Eat your fruits, it's good for you!"],
["http://i30.tinypic.com/531q3n.jpg", "", "", "Eat your fruits, it's good for you!"],
["http://i30.tinypic.com/531q3n.jpg", "", "", "Eat your fruits, it's good for you!"],
["http://i30.tinypic.com/531q3n.jpg", "", "", "Eat your fruits, it's good for you!"],
["http://i31.tinypic.com/119w28m.jpg", "", "", ""] <--No trailing comma following last image!
],