Scrolling Photo gallery possible in java script?

Discussion in 'JavaScript' started by i_am_dhaval, Dec 28, 2009.

  1. #1
    Scrolling Photo gallery possible in java script

    like in flash some image is rotet then when i click on that then the photo is open

    is it possible in java script or may be we use AJex
     
    i_am_dhaval, Dec 28, 2009 IP
  2. harrierdh

    harrierdh Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can make a scroll box with a div tag like this. As long as the content is larger than the div size it will work. So I suggest you wrap your images in a second pair of div tags and put your images there.

    <div style="width: 100px; height: 100px;overflow: auto;">
    	<div>
            <img src="GBLUE.jpg" style="width: 600px; height: 60px;" />
    		<img src="GBLUE.jpg" style="width: 600px; height: 60px;" />
    	</div>
    </div>
    Code (markup):
     
    harrierdh, Dec 30, 2009 IP