Results 1 to 3 of 3

Thread: Conveyor Belt imagegap issue-problem

  1. #1
    Join Date
    Aug 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Conveyor Belt imagegap issue-problem

    1) Script Title: Conveyor Belt slideshow script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rightslide.htm

    3) Describe problem:

    I have been trying to create a slideshow with no gap between images.
    I have read relevant posts regarding the code:

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

    I have been setting this variable to null ("") or '' and I always seem to get a gap between images.

    Am I doing something wrong?

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

    Default

    Set it like so:

    Code:
    //Specify gap between each image (use HTML):
    var imagegap=""
    That's with no space between the quotes. Also, were you have images in your array like this (from the demo):

    Code:
    leftrightslide[0]='<a href="http://"><img src="dynamicbook1.gif" border="0"></a>'
    Use zero for the border (the default coding in the demo uses border=1).

    Finally, if you want as little spacing as the script allows, set this value:

    Code:
    //Specify pixels gap between each slideshow rotation (use integer):
    var slideshowgap=0
    to zero as shown (default in the demo is 5). This last value only affects the space between each full train of images though (each time the images start to repeat). It has nothing to do with the gap between each individual image.

    ___________________

    Notes:

    Code:
    <a href="http://">
    is bad form. It really is just a place holder in the demo. Either replace it with a real link or use:

    Code:
    <a href="javascript:void(0);">
    Or remove the:

    Code:
    <a href="http://">
    and the:

    Code:
    </a>
    if no link is what you really want.
    - John
    ________________________

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

  3. #3
    Join Date
    May 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Closing the gaps

    To create (almost) perfect no gap loop:

    Code:
    var imagegap=""
    var slideshowgap=-3
    (Try loping the same image multiple times, for better result, as done here)

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
  •