Here are some simple hover intent examples, utilizing doTimeout. For more usage examples, also see the doTimeout plugin page.

Hover intent on individual items (250ms delay)

$('#item-over a').hover(function(){
  $(this).doTimeout( 'hover', 250, 'addClass', 'hover' );
}, function(){
  $(this).doTimeout( 'hover', 250, 'removeClass', 'hover' );
});

Hover intent on a group of items (250ms delay)

$('#items-over a')
  .mouseenter(function(){
    $.doTimeout( 'hover', 250, function(elem){
      $('#items-over-text').html( $(elem).html() );
    }, this);
  })
  .mouseleave(function(){
    $.doTimeout( 'hover' );
  });

Hovered over: ???


Hover intent on a nav / subnav (250ms delay)

$('ul.main-nav').each(function(){
  var nav = $(this);
  
  nav
    .mouseover(function(e){
      nav.doTimeout( 'main-nav', 250, over, e.target );
    }).mouseout(function(){
      nav.doTimeout( 'main-nav', 250, out );
    });
  
  function over( elem ) {
    var parent = $(elem).closest( 'li.main-nav' );
    
    out( parent );
    parent.children( 'a' ).addClass( 'hover' );
    parent.children( 'ul:hidden' ).slideDown( 'fast' );
  };
  
  function out( elem ) {
    var parents = elem
      ? $(elem).closest( 'li.main-nav' ).siblings()
      : nav.children();
    
    if ( nav.is( '.main-nav-horizontal' ) ) {
      parents = parents.not( '.active' );
    }
    
    parents.children( 'a' ).removeClass( 'hover' );
    parents.children( 'ul' ).hide();
  };
});

Sample Content

Sample Content

Sample Content

Sample Content

Sample Content

Sample Content