开发者

image scroller using yui

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜