Simple Image Slider

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • India777
    New Member
    • Apr 2012
    • 61

    Simple Image Slider

    Hai all,
    I feel very happy to share this to all of you. here i share, how to create a image slider using marquee tag? It is simple.

    jsfiddle example --> http://jsfiddle.net/Sivaranjani/8p6s2/2/.
    Code:
    <html>
     <head>
      <title> Photo Gallery </title>  
     </head>
     <body>
      <div id="PhotoGallery" style="width:50px;border:1px solid #000000">
       <marquee scrollamount="2" direction="left">
        <img src="http://w3schools.com/images/colormap_80.gif" width="50px" height="50px" name="Images" />
        <img src="http://img.dinamalar.com/data/thumb/Tamil_News_thumb_489193.jpg" width="50px" height="50px" name="Images" />
        <img src="https://lh3.googleusercontent.com/-CuhhMbx1liA/AAAAAAAAAAI/AAAAAAAAAAA/_pO8TSPiDQU/s27-c/photo.jpg" width="50px" height="50px" name="Images" />
        </marquee>
       </div>
     </body>
    </html>
    To know about Marquee tag , study this link -->http://www.htmlmarquee.com
  • Aimee Bailey
    Recognized Expert New Member
    • Apr 2010
    • 197

    #2
    I should mention that although some browsers still support this tag for backwards compatibility, it is actually deprecated and usage is advised against by the W3C.



    Aimee

    Comment

    Working...