Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

hide menu items on click and cursor sign

Home › Forums › Older releases › 0.9.x › hide menu items on click and cursor sign

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1393
    sunkist
    Participant

    Hello,

    I’am using the responsive mobile version. A menu button appears when the viewport gets small. On click on the menu button the menu items appears.

    I would like the menu items collapse (disappear) automatically when the user clicks on a menu link. Only the menu-button should be on the top of the mobile-site.

    How can I do this?

    The second thing. On mouseover on the menu button the cursor shows not the hand. It’s showing the text cursor. Why?

    Thanks, sunkist

    #1770
    admin
    Keymaster

    Hi, you could use the following:

    $('#main-menu').bind('select.smapi', function(e, item) {
    	$('#menu-button').click();
    });

    If you use a different id for your menu button, just update #menu-button accordingly.

    Let me know if you still have any troubles (a live demo would also help very much).

    Cheers!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘0.9.x’ is closed to new topics and replies.