Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 963931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T01:44:50+00:00 2026-05-16T01:44:50+00:00

I must be making some obvious mistake but it just doesn’t seem to work.

  • 0

I must be making some obvious mistake but it just doesn’t seem to work.

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/hoverIntent.js"></script>

<script type="text/javascript">

$(document).ready(function() {
$('.section').mouseover(function(){
  $('#nav2').fadeOut(0).animate({"height":"30px"}, 250);

         });


$('#section1').hoverIntent(navSelect('.interior','0px'));
$('#section2').hoverIntent(navSelect('.exterior','100px'));
$('#section3').hoverIntent(navSelect('.view','200px'));

function navSelect(section,selectorPosition){
 return function(evt){
  if ( $(section).is(':hidden')){
  $('.subSection').fadeOut(250);
  $(section).delay(250).fadeIn(250);
  $('#selector').animate({"left":selectorPosition},250);
  }}}


         });
</script>

</head>

.hover works just fine, but when i use hoverIntent it does absolutely nothing.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T01:44:51+00:00Added an answer on May 16, 2026 at 1:44 am

    hoverIntent doesn’t have a single in/out function overload, from the main page:

    jQuery .hover() can take both a handlerIn and a handlerOut, /or/ just a handlerIn. My .hoverIntent() plug-in takes both handlerIn and handlerOut, /or/ a single configuration object. It was not designed to take just a handlerIn like .hover(). The next version (r6) will be more flexible.

    So to get what you want, you either have to pass the same method twice, like this:

    $('#section1').hoverIntent(navSelect('.interior','0px'), navSelect('.interior','0px'));
    

    Or, a bit cleaner, you can use the object overload, and pass it once but change your navSelect to return that object instead, like this:

    function navSelect(section,selectorPosition){
      var func = function(evt){
        if ( $(section).is(':hidden')) {
          $('.subSection').fadeOut(250);
          $(section).delay(250).fadeIn(250);
          $('#selector').animate({"left":selectorPosition},250);
        }
      }
      return { over: func, out: func };
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I must be dumb (and I'm sure I am making mistake but can't figure
Must be missing something really obvious here but how do you change the size
I've created this simple demo because I'm having some trouble making auto-sizing work in
I'm making a game where I have must have some objects like weapons and
I must be making some simple error somewhere, any help appreciated. Associative Array data_form[name]
Hey, I am making some stuff in Objective-C++... And I must say that I
I'm making some site which must be fully unicode. Database etc are working, i
I'm making practice with CakePHP user registration validation but I get some error from
I'm making an App for iPad. But I faced some troubles because of Touch
This is probably something simple but it's driving me nuts. I'm making some pagination

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.