www.webdeveloper.com
Results 1 to 2 of 2

Thread: Scrolling Images

  1. #1
    Join Date
    Jul 2013
    Posts
    1

    Scrolling Images

    So I have a few images and I am using the marquee tag to scroll the images. How can I set the marquee so that first image comes right after the last image and there is no space. Like infinite scrolling loop of images. Here is my html code:

    Code:
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <title>HTML</title>
    </head>
    <body>
    <div id="photobanner">
    <marquee scrollamount="15" scrolldelay="95">
    <img src="Photo_Gallery.jpg" alt="" />
    <img src="Photo_Gallery2.jpg" alt="" />
    <img src="Photo_Gallery4.jpg" alt="" />
    <img src="Photo_Gallery5.jpg" alt="" />
    <img src="Photo_Gallery6.jpg" alt="" />
    <img src="Photo_Gallery7.jpg" alt="" />
    <img src="Photo_Gallery8.jpg" alt="" />
    </marquee>
    </div>
    </body>
    </html>

  2. #2
    Join Date
    Jul 2013
    Location
    France
    Posts
    16
    hello,

    You have to make all your Images In-line.. Here is an Example :

    Code:
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <title>HTML</title>
    </head>
    <body>
    <div id="photobanner">
    <marquee scrollamount="15" scrolldelay="95"><img src="http://www.quackit.com/pix/web_graphics/free_website_graphics/clip_arts/bats_013.gif" /> <img src="http://www.quackit.com/pix/web_graphics/free_website_graphics/clip_arts/bats_013.gif" /> <img src="http://www.quackit.com/pix/web_graphics/free_website_graphics/clip_arts/bats_013.gif" /></marquee>
    
    </div>
    </body>
    </html>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles