PDA

View Full Version : Simple Controls Gallery Help!



youngwebmaster
07-16-2009, 08:22 PM
1) Script Title: Simple Controls Gallery

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

3) Describe problem
Is there any way I can add more than 4 photos to the gallery, I tried continuing the imagearray but it didn't work.

chechu
07-16-2009, 10:04 PM
I use with lots of pictures, so I don't see the problem. Maybe this causes you problems:

["http://i30.tinypic.com/531q3n.jpg", "", "", "Eat your fruits, it's good for you!"],
["http://i31.tinypic.com/119w28m.jpg", "", "", ""]

Make sure that the last image, and only the last one, has no comma at the end.

youngwebmaster
07-17-2009, 08:10 PM
okay, thanks, I knew it was a simple thing, I just didnt see it, I wasn't including the comma.


what would be the code to center the Simple Controls gallery, I tried
<div align="center" id="simplegallery1"></div>

but it didnt work.