PDA

View Full Version : Pics effect



jjmaster-j
January 10th, 2009, 09:39 PM
Hello,

Is there a tutorial for the effect in http://rivercityflats.com/gallery.html? When the cursor is on the square, a picture pops up.

Thanks

Ubik
January 13th, 2009, 08:58 AM
hello,
This gallery is in flash, you can take a look at scotty's gallery here on the forums. If you want it html, there is plenty of it, like this one : http://devkick.com/lab/galleria/

jjmaster-j
January 13th, 2009, 01:02 PM
Ubik,

Thanks for the link. It is very nice. However, the main picture does not change when the cursor move over the thumbnail. You have to click it to see the main picture. Thanks

simplistik
January 13th, 2009, 02:08 PM
Ubik,

Thanks for the link. It is very nice. However, the main picture does not change when the cursor move over the thumbnail. You have to click it to see the main picture. Thanks

Sooo ... ummm ... yea ... change the script then. Inside that script is something that looks like


_thumb.click(function() {
$.galleria.activate(_src);
});

// hover classes for IE6
_thumb.hover(
function() { $(this).addClass('hover'); },
function() { $(this).removeClass('hover'); }
);

should be able to move the functionality of the click into the hover ... simple