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 7561629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:12:20+00:00 2026-05-30T13:12:20+00:00

In the eg below you can see that when I’m hovering the image the

  • 0

In the eg below you can see that when I’m hovering the image the black box bounce.

I want to be able to hover only the Black box.
I can’t understand what I’m missing.

Also, I want to add some CSS3 on the black box when is on top hovered. to do this I’m adding a class .focus but seems to not working.
Any suggestion?
Ta,

http://jsfiddle.net/Q6Czh/19/

  • 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-30T13:12:21+00:00Added an answer on May 30, 2026 at 1:12 pm

    You are binding the hover event on the <li> element, not only on the <a> (the black box), so it is triggered when you hover any element within the list element.

    Change you code to this:

    // bind hover on the anchor element
    $("#nav-shadow li a").hover(function() {
        var e = this;
        // remove the .find('a') as 'e' is the anchor
        $(e).stop().animate({
            ...
        }, 250, function() {
            ...
        });
        // use .sibling() instead of .find('img')
        $(e).siblings("img.width320").stop().animate({
            ...
        }, 250);
    }, function() {
            ...
    });​
    

    DEMO

    For the second part, I have no clue what you’re trying to explain… :-/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Looking at the image below, you can see that there are lots of javascript
so guys, if u test the code below, u can see that everything is
Below you can see that I store the results of the jquery selector in
If you take a look at the code below you can see that I
In my example code below, you can see that I have been trying to
if you try my code below you can see that the background color is
I don't really understand why this simple stuff won't work. I can see that
As you can see below, in the constructor I'm instantiating a validation object so
I'm using graphviz (dot) to generate the graph you can see below. The node
i have a pretty complicated form. as you can see below: alt text http://img9.imageshack.us/img9/2465/test2xk.jpg

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.