Results 1 to 2 of 2

Thread: use HTML to specify gap

  1. #1
    Join Date
    Jan 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default use HTML to specify gap

    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.
    Last edited by jscheuer1; 07-21-2012 at 04:41 PM. Reason: moved from paid section

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    It's the gap between images. You can leave it as is, which is a single space character. You could make no gap:

    Code:
    var imagegap=""
    Or you can put in any valid inline HTML, example:

    Code:
    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •