• 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

Viewing 1 replies (of 1 total)
  • 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

Viewing 1 replies (of 1 total)

The topic ‘add JavaScript to Menu bar’ is closed to new replies.