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

  • Home
  • SEARCH
  • 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 8833105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:41:57+00:00 2026-06-14T08:41:57+00:00

i am trying to get a hover state div to appear above an isotope

  • 0

i am trying to get a hover state div to appear above an isotope element (an image thumbnail).

i have managed to get it above other divs but not this particular div.

the jsfiddle shows exactly where i am up to and the jquery below is the script i am running for the hover effect.

i am using a modified version of the isotope.min.js file to remove some relative positioning that was being added to the container.

jsfiddle

http://jsfiddle.net/rwone/nvtCW/

script

$(".magic").hover(
function () {
console.log($(this).position().top);
$(this).find('.hidden_db_data_div')
.css({'left':$(this).position().left+40 + "px" + "!important", 'top':'-50px'}).fadeIn(500);

},
function() { 
$(this)
.find('.hidden_db_data_div')
.fadeOut(100);
}                
);

thank you.

  • 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-06-14T08:41:58+00:00Added an answer on June 14, 2026 at 8:41 am

    Ah, the magic of z-indexes. When you’ve got the time, eventually go read up on them. It’s really fascinating on how all this bogus works.

    I’ve understood correct, your issue is that the non-hovered Boxes are above the Box that appears on hover, yes?

    Long story short, put the hovered surrounding element in a higher z-index.

    $(".magic").hover(
      function () {
        $(this)
          .css('z-index', '999') // This Line - Gives the element a high z-index
          .find('.hidden_db_data_div') 
          .css({'left':$(this).position().left+40 + "px" + "!important",'top':'-50px'}).fadeIn(500);
      },
      function() { 
        $(this)
          .css('z-index', '') // And this line - Gets rid of the inline z-index again.
          .find('.hidden_db_data_div')
          .fadeOut()
      }                
    );
    

    Edit: Oh, and while I’m at it, have the working JSFiddle:
    http://jsfiddle.net/nvtCW/10/

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

Sidebar

Related Questions

I have css hover over images for my tabs and I'm trying to get
I'm trying to get jQuery to play a sound on element hover/click. (It's like
I'm trying to get a transparent png frame image to hover over an img
Im trying to get the ID of the <div> element here so that i
I'm trying to get a hover trigger done on the td which will change
I'm trying to get circles to react to my jquery .hover. Here's my js:
Using the following code, trying to get the font color to animate on hover,
So i am trying get 2 div-containers which both should contain centered text (Both
I am trying to get a simple effect working in jQuery, and only have
I was trying to get my div that contains floating elements, to enlarge to

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.