HTML 5: how to make stackable images?

0 votes
33 views
asked Dec 15, 2012 in HTML by john (4,220 points)

    Is it possible to load up 10 images (same dimension), stack them on top of one another only showing 1 image at a time and then by holding down the left mouse button and dragging the mouse up you scroll in one direction and moving the mouse down scrolls in the opposite direction?'

if so how can this be done? canvas element would be the begining, no?

 

1 Answer

0 votes
answered Dec 15, 2012 by kalpana (3,995 points)

 

This sounds like a job for... Javascript!

This solution isn't perfect, but it's an example of mouse scrolling images: https://github.com/kamranayub/Just-Another-Carousel

 

...