开发者

Documentary-style image panning with jQuery?

开发者 https://www.devze.com 2023-01-23 05:33 出处:网络
There are several questions about zooming and panning with jQuery, but they all (as far as I can tell) have to do with hooking up the zooming or panning to user behavior, such as mousing or using a sl

There are several questions about zooming and panning with jQuery, but they all (as far as I can tell) have to do with hooking up the zooming or panning to user behavior, such as mousing or using a slider.

I'm inter开发者_高级运维ested in something different: any advice on making the panning happen automatically? The sort of thing I have in mind can be seen in this video:

http://www.youtube.com/watch?v=q-2WSDtksj0


I've whipped up a proof-of-concept demo. As pointed out in the comments, browser-powered image resizing can run into quality issues. You'd have to play with it, and decide for yourself if it looks good enough for your purposes.


Check out CrossSlide: http://tobia.github.com/CrossSlide

Implements the Ken Burns effect and has a few other settings. Looks pretty nifty, but it's quite demanding on bad browsers.

0

精彩评论

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

关注公众号