WNavigationBar and WMenu
Added by John Foster over 10 years ago
Hi
I have a navigation bar and a menu with drop-down items. However, at start-up it always appears with just a title and a small icon. I have to click on the icon to get the menu displayed. This happens whatever CSS I use, and with the bootstrap CSS themes.
How do I get the navigation bar to display the menu by default?
I have attached images of the startup window and window when I click on the little grey box!
Thanks for any advice!
John
Capture.JPG (8.25 KB) Capture.JPG | |||
Capture2.JPG (14.6 KB) Capture2.JPG |
Replies (2)
RE: WNavigationBar and WMenu - Added by Alex V over 10 years ago
some example code would help.
have you created your menu as a Wt::WPopupMenu() by accident?
RE: WNavigationBar and WMenu - Added by Koen Deforche about 10 years ago
Hey,
The navigation bar only works with the bootstrap theme. Have you loaded this theme and deployed the resources folder?
Some code that shows what you're doing would be helpful as well.
Koen