开发者

image scroller using yui

开发者 https://www.devze.com 2022-12-20 19:42 出处:网络
Can any one t开发者_如何学Goell me how to implement a yui carousel based image scroller ? Will it also respond to mouse wheel event as well ?http://developer.yahoo.com/yui/examples/carousel/csl_circul

Can any one t开发者_如何学Goell me how to implement a yui carousel based image scroller ? Will it also respond to mouse wheel event as well ?


http://developer.yahoo.com/yui/examples/carousel/csl_circular.html

However, the carousel is a YUI2 widget, mousewheel events are supported in YUI3 (but not, as far as I can tell, in 2). So you are out of luck with mousewheel + carousel in YUI2. You could use the event outside of YUI and create a custom event to subscribe to and run your callbacks from that.

http://www.java2s.com/Code/JavaScriptReference/Javascript-Properties/wheelDeltaExample.htm

0

精彩评论

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

关注公众号