How do you limit the number of items in a flyout menu?
How do you limit the number of items in a flyout menu?
How do you limit the displayed values in an asp:menu flyout? I.e. make it show only 10 items and then have it scroll? Is there also a way to show the scroll bar instead of having a bottom image that scrolls when you hover? I'd rather be able to have the scroll bar on the side.
-
- Commander (CMDR)
- Posts: 118
- Joined: Sat Dec 20, 2008 11:27 pm
Re: How do you limit the number of items in a flyout menu?
I would use CSS to do it. If you've set the font size in the flyout menu, you should be able to figure the height attribute needed to limit the number of items to 10. Then set overflow:auto, and it will create a scroll box for you.
Re: How do you limit the number of items in a flyout menu?
Thanks. They axed all their sidebar menus that I wanted to do this on so I won't be able to test it until the next project. Thanks for letting me know though.