adamnurdin01 / bootsnav

Bootsnav - Multi Purpose Header
MIT License
170 stars 122 forks source link

How to change bootsnav menu to activate on click instead of hover/mouseover? #12

Open EM1L opened 8 years ago

EM1L commented 8 years ago

Apologies if I missed something obvious, but I did not find any code samples.

I am looking to change this behavior with minimum impact on the existing bootsnav menu css or js code. Any pointers on what's the best way to do this?

Thanks, Emil

EM1L commented 8 years ago

To answer my own question if anyone is interested to disable the hover menu activation just comment the following line in initialize, however it would be nice to have a initialization config option! //this.hoverDropdown();

jrmollel commented 7 years ago

@EM1L @adamnurdin01 Hello Guys, I am looking to disable the hover menu activation, into a click option !! Any help guys ?

Thanks Mollel

alikazi88 commented 2 years ago

The hover option is by default did anyone change this to click ? commenting this.hoverDropdown() doesnt help