View Full Version : Simple Controls Gallery tweaking

05-24-2012, 05:40 AM
1) Script Title: Simple Controls Gallery

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

3) Describe problem: I am wanting to use this script as a banner ad rotator within a rather large site. The current tool I am using is a cgi script (works but old and can do better)

The current cgi method calls the images from an external flat delimited file, so it is easy to maintain. The cgi is called inside a 'global header' by means of a 'php include' on every page of the site, including a oscommerce section, forums, links area (php driven), articles (php driven)

I'd like to incorporate Simple Controls Gallery, but that means I will have to add the entire section of:

<script type="text/javascript">

var mygallery=new simpleGallery({
etc etc
to every page. If I have changes to the banners (50/50 self-promotion and paid adverts) I'll have to change every page..

Is there any other way around this??

05-24-2012, 10:47 AM

05-26-2012, 05:21 AM
thanks.. dont know why I didnt consider that option!