| Page 1 of 1 | [ 3 posts ] |
|
I'm creating a button with a menu as follows but no matter what I set the scrollincrement to it doesn't affect the scroll speed. I've tried 2, 5, 10, even 50.
hierMenu3_9_then_Button = new YAHOO.widget.Button({ type: "menu", label: "", name: "hierMenu", scrollincrement: 5, menu: sa_hiermenu3_9_then_items, container: this}); Am I not using it correctly? It is listed as a config parameter just like 'menu' and 'container' so I'd assume this is correct. |
|
I am doing the same thing with YUI Menu to speed up the scroll rate when the menu is too large for the screen. It doesn't seem to speed up at all.
|
|
I've been struggling with this too and finally figured out a solution. Just add:
hierMenu3_9_then_Button.getMenu().cfg.setProperty("scrollincrement", 4); Hope this helps! |
| Page 1 of 1 | [ 3 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group