Results 1 to 3 of 3

Thread: //Specify gap between each image (use HTML)???

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

    Red face //Specify gap between each image (use HTML)???

    1) Script Title: Conveyor Belt slideshow script

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

    3) Describe problem: I don't know how to edit this part, I want some space between images:

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

    Thanks!

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    You could:

    1) Increase the border on the image

    Code:
    leftrightslide[0]='<a href="http://"><img src="dynamicbook1.gif" border=1></a>'
    2) Use CSS

    Code:
    <style type="text/css">
         a img { margin-right:5px; }
    </style>
    This is assuming there are no other linked images on your page. It goes between the document's head tags.

  3. #3
    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

    Or, you could do as instructed by the script:

    Code:
    //Specify gap between each image (use HTML):
    var imagegap=" "
    Like (for example):

    Code:
    //Specify gap between each image (use HTML):
    var imagegap="<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>"
    Any valid HTML code that will not cause a line break may be used.
    - 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
  •