Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

Is there anyway to control the height of the dropdown?

Home Forums Older releases 0.9.x Is there anyway to control the height of the dropdown?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1385
    nkrid813
    Participant

    Hello – we often have a dropdown list of 50-100 items. Currently the UL container with the multiple LI items is running off the bottom of the page. Is there any way to limit the dropdown to 300-400px and scroll within that 400px container as opposed to the height being the height of the browser window? Thanks

    #1729
    admin
    Keymaster

    Hi, sorry for the delay! I was on a vacation.

    If the long sub menus don’t have any further sub menus, you could apply custom max-height via some additional CSS. For example, add the “scrolling-sub” class to the UL element of any long sub menu and then use the following additional CSS:

    ul.scrolling-sub {
    	max-height:500px;
    	overflow-y:auto;
    }

    Cheers!

    #1747
    Elizabeth_Keen
    Participant

    This should help you out. very elegant and clean.

    http://css-tricks.com/long-dropdowns-solution/

    For Innovative Methodologies in web apps visit http://www.ati-erp.com

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘0.9.x’ is closed to new topics and replies.