How do you limit the number of items in a flyout menu?

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
RKS_213
Lieutenant (LT)
Lieutenant (LT)
Posts: 69
Joined: Mon Dec 26, 2011 2:48 pm

How do you limit the number of items in a flyout menu?

Post by RKS_213 » Fri Jan 13, 2012 3:19 pm

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.

euroluxantiques
Commander (CMDR)
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?

Post by euroluxantiques » Sat Jan 21, 2012 5:28 pm

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.

RKS_213
Lieutenant (LT)
Lieutenant (LT)
Posts: 69
Joined: Mon Dec 26, 2011 2:48 pm

Re: How do you limit the number of items in a flyout menu?

Post by RKS_213 » Tue Jan 24, 2012 10:00 am

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.

Post Reply