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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T23:56:26+00:00 2026-05-19T23:56:26+00:00

Hi I would like to slide an element out when the mouse goes over

  • 0

Hi I would like to slide an element out when the mouse goes over and then slide it back and hide when the mouse goes out..I have this code, but I have problem when the mouse leave the element before the first mouseenter function is completed..The .entry_extend div stay visible. I tried to the hover function, but is the same problem..Please help..Thanks.

jQuery("document").ready(function(){
                    jQuery(".fire").mouseenter(function(){
                        jQuery(this).children('.entry_extend').stop(true, false).show('slide',null,500,null);

                    });
                    jQuery(".fire").mouseleave(function(){
                        jQuery(this).children('.entry_extend').stop(true, false).hide('slide',null,500,null);
                    });

                });


<div id="craft" class="fire">
       <div class="entry_main">
           <a href="" title="">
             <img src="" alt="" />
            </a>
        </div>
        <div id="entry_ex_craft" class="entry_extend">
           <a href="" title="">original shisha pipe collection</a>
    </div>
 </div>

Please Help:)

  • 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-19T23:56:27+00:00Added an answer on May 19, 2026 at 11:56 pm

    You are trying to implement a “hover”. This works:

    jQuery(".fire").hover(
        function(){jQuery('.entry_extend', this).stop(true, true).show(500);}
        ,
        function(){jQuery('.entry_extend', this).stop(true, true).hide(500);}
    ); 
    

    Mind you, it isn’t a good idea to have the DIV you are sliding in and out within the DIV you are hovering on, since HIDING the DIV alters the boundaries of the DIV containing it. You can end up with some “trembling” activity sometimes because of this.

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

Sidebar

Related Questions

I have a JS code and would like to know how to add a
If an item is being deleted then I would like to fade it out
Ok, this may have been asked dozens of times over. But I'm not exactly
I would like to add a uitoolbar able to slide -in from the top
I would like to install a gem (JSON) on the client side, but only
I have a UITextView and a WebView side by side and I would like
I have a function that is side-effect free. I would like to run it
I have two doubts: 1. I would like to add some client side support
Okay I just typed this whole question out and then managed to delete it.
I want to hide an element by sliding it up. For example, see this

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.