开发者

iphoto effect over thumbnails?

开发者 https://www.devze.com 2023-01-11 06:25 出处:网络
I need to implement an \"iphoto effect\" over thumbnails. When the mouse moves over an image all the images in that gallery should appear in sequence.

I need to implement an "iphoto effect" over thumbnails.

When the mouse moves over an image all the images in that gallery should appear in sequence.

If I click on it a lightbox with a slideshow sequence starts.

开发者_如何学编程

(I know how to do the lightbox, I dunno how to make the iphoto effect. Is there any module there for it ?)

thanks


There's not a module for it. You could create this effect with JavaScript, but you would need to have the images loaded to make the effect smooth.

You would need to track the mouse movement hovering over the image. It would probably be a bit tricky to do but not. Impossible.

A good solution would probably be to use z-index to decide which img to show.

0

精彩评论

暂无评论...
验证码 换一张
取 消