View Single Post
Old 11-02-2009, 04:31 PM   #3 (permalink)
billybolsa
Recruit
 
billybolsa's Avatar
 
Join Date: Oct 2009
Posts: 9
billybolsa is on a distinguished road
This is obviously JQuery in action but you could also do this in JavaScript(Same thing) by manipulating the Dom elements. 1 real basic way is to put all the images in a large div with the overflow property set to 0 and then set up tags with mouse event listeners that change the position of the div to show the corresponding image.

Jquery is much faster and easier to code with but i have also done something similar to this using an array and a div containing two pictures and shifting the array elements around on the click event.
billybolsa is offline   Reply With Quote