PDA

View Full Version : use HTML to specify gap



sketchpad
07-21-2012, 04:18 PM
1) Concerning DD Script (Enter Script Title, URL to script on DD):
Conveyor Belt Slideshow

3) Describe Problem (be as detailed as possible):

The following code is in the script:
//Specify gap between each image (use HTML):
var imagegap=" "

What it is looking for here? I've tried several things to no avail.

jscheuer1
07-21-2012, 04:51 PM
It's the gap between images. You can leave it as is, which is a single space character. You could make no gap:


var imagegap=""

Or you can put in any valid inline HTML, example:


var imagegap='<img src="transparent.gif" alt="" height="2" width="2">'

You can't put a div, p, table, etc., because those are block level and will break the train. A span, an img, or an a tag are OK. You could even use an input tag or iframe, but I don't see why you would want to.