Copy link to clipboard
Copied
As simple as the problem seems, its driving me crazy.
I have a straight forward vertical cfmenu with about 15 items in it. For more than 10 items, cfmenu uses its scroll function. Since 15 items fit quite well into my design, I dont want the user to scroll, but display all of them. Is there a way to define, how many items are displayed, bevore scrolling ist used?
Thank you for your help!!
Copy link to clipboard
Copied
<cfmenu> doesn't intrinsically start scrolling @ 10 items.
Can you post some (simple, self-contained) code to demonstrate what you're seeing?
--
Adam
Copy link to clipboard
Copied
Thank you for your answer. Here comes the screenshot.
The menu keeps ading the little "down arrow", so the user can scroll down to see the three menuitems that are not yet shown. But there is actually plenty of space to show all of the them.
The menu is generated as follows:
<cfmenu name="myMenu" type="horizontal" fontsize="12" bgcolor="##bcb592" font="Arial" selectedItemColor="##cdc69e">
The menuitems are generated through a cfloop, retruning the result of a db query. My cfmenuitem looks like this:
<cfmenuitem name="#objects.id#" display="#objects.name_d#" href="default.cfm?page=objekt.cfm&lang=#lang#&type=#type#&objectid=#objects.id#" />
Do you see what I mean?
Cheers
Michael