Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End HoverIntent is Not a Function! Reply To: HoverIntent is Not a Function!

#176471
Alen
Participant

hoverIntent is a optional plugin that goes with Dropdown Menu plugin you’re using. Look in the settings for this plugin to turn off hoverIntent. It is being outputted by the plugin…


<!-- Dropdown Menu Widget Effects by shailan (http://shailan.com) v1.9.3 on wp3.9.1 -->
<script type="text/javascript">/* <![CDATA[ */
jQuery(document).ready(function($) { 
 
  var config = {
    over : function(){ $(this).find("ul:first").fadeIn('fast'); },  
    out : function(){ $(this).find("ul:first").fadeOut('fast'); },
    timeout : 100  }
 
  $(".dropdown li").hoverIntent( config );
        
});
/* ]]> */</script>
<!-- /Dropdown Menu Widget Effects -->

hoverIntent is a plug-in that attempts to determine the user’s intent… like a crystal ball, only with mouse movement! It is similar to jQuery’s hover method. However, instead of calling the handlerIn function immediately, hoverIntent waits until the user’s mouse slows down enough before making the call.

http://cherne.net/brian/resources/jquery.hoverIntent.html