Results 1 to 2 of 2

Thread: HTML v. integer

  1. #1
    Join Date
    May 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default HTML v. integer

    1) Script Title: Coneyor Belt Sldeshow

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rightslide.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=

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    The script is expecting that imagegap should be in HTML. So it's better you do something like:
    Code:
    //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.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

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
  •