質問

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