Skip to content

Instantly share code, notes, and snippets.

@alizahid
Created April 16, 2014 08:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save alizahid/10833297 to your computer and use it in GitHub Desktop.
Save alizahid/10833297 to your computer and use it in GitHub Desktop.
$('#selector').menu(
{
dataJSON: [
{
"label": "One",
"children": [
{
"label": "Item 1",
"href": "#"
},
{
"label": "Item 2",
"href": "#"
}
]
},
{
"label": "One",
"href": "#"
}
]
});
@pixelagent
Copy link

Is it possible to select the active menu item as a setting?

@mojtabadeveloper
Copy link

Hi alizahid
How to refresh menu ?

@boogii
Copy link

boogii commented May 28, 2015

When you click on an item with an URL the menu goes back to zero - is it possible that it stays on the same spot (the current selection)???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment