View Full Version : HTML v. integer

10-02-2011, 11:19 AM
1) Script Title: Coneyor Belt Sldeshow

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/leftrightslide.htm

3) Describe problem: I need to enter a value in the code below.... but how do i do that using HTML? The spacing i want is 2px. If ijust enter the figure 2 i get the spacing ok but along with the"2"

//Specify gap between each image (use HTML):
var imagegap=

10-02-2011, 11:28 AM
The script is expecting that imagegap should be in HTML. So it's better you do something like:

//Specify gap between each image (use HTML):
var imagegap="  "

Lastly, you can always set a gap on the images by setting one in CSS. You can set right margin on those scrolling images.

Hope that helps.