Forums
Forums / Plugins / add JavaScript to Menu bar
(@dooby)
10 years, 7 months ago
Hi,
i would like to add javascript to the menu bar. when ill click “login” it will generate this code: Login
please assist thanks, Dooby
(@damses)
You can do it using jquery, example:
jQuery(“#menu-bar-id”).click(function(){ this.append(‘Login‘); });
With this code you will add the html to you bar, but maybe you will need to add the more html elements like <li class=”xxxx”>Login
The topic ‘add JavaScript to Menu bar’ is closed to new replies.