문제

Example so far here

code here

Simply, I have a menu with 8 items in it (the topmost menu). We are using a 12 item width grid in bootstrap and want the dropdown part of each menu (that appears when clicked) to be full width of the container.

Something similar to the navigation menu here

Any ideas?

도움이 되었습니까?

해결책

using jquery you can find the height of the window and set the drop down div to this height minus the header height. Here is jQueries .outerHeight() https://api.jquery.com/outerHeight/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top