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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T06:29:47+00:00 2026-06-14T06:29:47+00:00

Hi basically I have a element when I hover over it I have a

  • 0

Hi basically I have a element when I hover over it I have a div that slides up from the bottom and when I stop hovering over the element the div slides back down.

Currently I have it working, however on odd occasions the div that slides up and down gets stuck and the sliding up and down is reversed and I have no idea why. By reversed I mean when I’m not hovering the div element is shown and then when I hover it slides down.

The only way which makes the element stop doing that at the moment is by refreshing.

can any one guide me in solving this issue?

Many thanks

Code:
JAVA SCRIPT

      $(document).ready(function () 
       {
        $("div.small_info_container").hover(function () 
        {  
          $(this).parent().find('div.small_slide_info_container').slideToggle("fast");
        });
      });

CSS:

.elem {
width: 248px;
height: 238px;
margin: 10px 0 0 5px;
float: left;
border: 1px solid #ACACAC;
background: white;
box-shadow: 3px 4px 2px -2px #CACACA;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;

}

.small_info_container {
position: absolute;
width: 248px;
height: 238px;
background:transparent;
}

.small_slide_info_container {
position: absolute;
width: 248px;
height: 45px;
background: rgba(173, 173, 173, 0.36);
display: none;
bottom: 0;
}

HTML

<div class="elem">
    <div class="small_info_container">
        <div class="small_slide_info_container">
        </div>
    </div>
</div>
  • 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-14T06:29:49+00:00Added an answer on June 14, 2026 at 6:29 am

    Try this….

     $(document).ready(function () 
               {
                $("div.small_info_container").mouseover(function () {  
         $(this).parent().find('div.small_slide_info_container').stop().slideDown("fast");
                    }).mouseleave(function(){
            $(this).parent().find('div.small_slide_info_container').stop().slideUp("fast");
                })    
              });​
    

    DEMO:
    http://jsfiddle.net/mSWP8/7/

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

Sidebar

Related Questions

I basically have a program that filters records from one excel file to another
So, basically I have a plugin that I want called on an element if
Basically, if you look at this you'll see that I have an element with
Possible Duplicate: Make mouse pointer a hand when hover over <li> element? Basically, I
I want to maintain the width of an element on hover. Basically, I have
I have an element that is dynamically resized by code from a plugin. its
I have a page where I basically want an element to 'blink' for a
I basically have 7 select statements that I need to have the results output
I have an html link that has uses hover() (well, the hoverIntent plugin...but same
Basically i have a wcf service that returns a dataset of 2000 records. When

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.