title: jquery hoverIntent and keyboard triggering on focus
body: <p>I'm using the popular hoverIntent jQuery plugin for a drop down mega-menu. </p>
  
  <p><a href="http://cherne.net/brian/resources/jquery.hoverIntent.html" rel="nofollow noreferrer">http://cherne.net/brian/resources/jquery.hoverIntent.html</a></p>
  
  <p>I'm attaching it to list items:</p>
  
  <pre><code>$myMenuOfLIs
      .hoverIntent(megaConfig)
  </code></pre>
  
  <p>This works as intended: If I mouse over the LI, hoverIntent is triggered and shows the menu. </p>
  
  <p>Each LI also has an anchor tag (link). I'd like to be able to have a person tab to the link (focus) and then trigger the menu as well. This is to make the menu work via the keyboard. </p>
  
  <p>I've tried various settings, but none seem to work:</p>
  
  <pre><code>$myMenuOfLIs
      .hoverIntent(megaConfig)
      .find('a:first')
          .hoverIntent(megaConfig)
  </code></pre>
  
  <p>&nbsp;</p>
  
  <pre><code>$myMenuOfLIs
      .hoverIntent(megaConfig)
      .find('a:first')
          .hover()
  </code></pre>
  
  <p>And even this mess:</p>
  
  <pre><code>$myMenuOfLIs
      .hoverIntent(megaConfig)
      .find('a:first')
          .focus(function(){
              $(this).parent().hover(function(){
                  $(this).hoverIntent(megaConfig)
              })
          })
  </code></pre>
  
  <p>Has anyone used hoverIntent along with keyboard/focus events? Is my syntax or logic wrong?</p>
  
  <p>UPDATE/SOLUTION:</p>
  
  <p>I was digging through the hoverIntent logic and realized that it, itself, is triggering the function to show/hide the menu. The solution to my particular problem is to not trigger hoverIntent via another event, but rather just call the functions that hoverIntent calls directly via my focus event. Kind of obvious in hindsight. </p>