Results 1 to 5 of 5

Thread: Conveyor Script

  1. #1
    Join Date
    Mar 2008
    Posts
    7
    Thanks
    2
    Thanked 1 Time in 1 Post

    Question Conveyor Script

    1) Conveyor Script

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

    3) I'm very new at this and don't know script language that well and I need help with adding the images to the conveyor belt script. The script runs fine on the page, but I just don't know how to add the images to the script. All I'm getting are little boxes with a red X and I can't figure out where I need to add the image script and what script I need to insert for the images to work correctly. I can see the HTML coding, but when I try different things, it doesn't work. I would appreciate any help. Thank you.

  2. The Following User Says Thank You to Green1 For This Useful Post:

    minpot (03-10-2008)

  3. #2
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    Code:
    leftrightslide[0]='<a href="http://"><img src="you_image.JPG" border=1></a>'
    leftrightslide[1]='<a href="http://"><img src="you_image.JPG" border=1></a>'
    leftrightslide[2]='<a href="http://"><img src="you_image.JPG" border=1></a>'
    leftrightslide[3]='<a href="http://"><img src="you_image.JPG" border=1></a>'
    leftrightslide[4]='<a href="http://"><img src="you_image.JPG" border=1></a>'
    If the images are not in the same folder as the webpage, you need to give it a path, such as: "MyFolder/My_image.JPG"
    The paths are case sensitive, so image.jpg and Image.JPG are not the same paths.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  4. The Following User Says Thank You to Jas For This Useful Post:

    Green1 (03-11-2008)

  5. #3
    Join Date
    Mar 2008
    Posts
    7
    Thanks
    2
    Thanked 1 Time in 1 Post

    Smile thanks

    Thank you so much Jas. I appreciate you taking the time to explain it. That was the problem. Thanks again

  6. #4
    Join Date
    Mar 2008
    Posts
    7
    Thanks
    2
    Thanked 1 Time in 1 Post

    Question Centering the Conveyor Belt Slideshow

    I have the slideshow working great; however, do you know how to center the conveyor belt? I've tried inserting a table, but it won't work. It doesn't need to be in a table, I'd just like it centered and not sitting on the left side of the page. Thanks again.

  7. #5
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    The reason it won't center is because it is absolutely positioned. In order to fix that, you need to position it inside of a relatively positioned div. Perhaps something like:
    Code:
    <div style="position:relative;width:300px;margin:auto;">
    <!--Your Code Here//-->
    </div>
    Just a shot in the dark-- I don't really know how to best accommodate the position of this script, but I imagine I'm close .
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

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
  •