title: Jquery UI 1.9 Menu - How do you keep active menu item highlighted?
body: <p>I'm using the Jquery UI "Menu" API to create a navigation menu in an application.</p>
  
  <p>The menu draws and links fine, and when hovering over it, the natural jquery ui css is applied, giving hovered elements the ui-state-focus class. When you move the mouse off of the element, it removes this class, which puts the element in the default unhighlighted state.</p>
  
  <p>I have experimented with adding the standard jquery ui css class "ui-state-active" which applies particular CSS to the element in the menu given this class. However, when hovering any other element, this ui-state-active class is REMOVED from the active element, effectively making the hover kill the active selection even though a new selection has yet to be made (with a click).</p>
  
  <p>I want to be able to keep the hovering classes adding, but leave the ACTIVE class intact so that on each page, the active menu element will always have the active class.</p>
  
  <p>Any ideas on the proper way to mark elements active in jquery UI menu api?</p>