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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T11:46:31+00:00 2026-06-10T11:46:31+00:00

I have a quick basket; a checkout box div that appears when you hover

  • 0

I have a quick basket; a checkout box div that appears when you hover the basket link. I want the basket it to appear only on hovering over the link and it will disappear when the user moves away from the link.

The box should also stay still if the user is inside the main div and only slideout onmouseout too.

Pains me to post this I cannot get it and been at it for sometime..

jQuery

// Toggle the Quick Cart (uses Load Balance for higher TPS no que!)
$('#show-quick-cart').hover(function () {        
    $('#quickcart').slideDown(500);
    return false;
});
$('#quickcart').mouseleave(function () {        
    $(this).slideUp(500);
    return false;
});

HTML5

<a id="show-quick-cart" href="#show-quick-cart">MY BAG</a>
<div id="show-quick-cart-zone">
    <div id="quickcart" class="quickcart hide">
        <div class="quickcarttitle"><span>SHOPPING BAG</span></div>
        <div class="quickcart-products">
            <p><strong>No items in your cart so far</strong></p>
            <a href="/cart?ref=quick-cart"><img src="//gc-cdn.com/cart/securecheckout.png"></a>
        </div>
    </div>
</div>

Demo

Live Demo (page)

http://tinyurl.com/bwn33op

The actual jQuery

http://tinyurl.com/cz6kl66

jsFiddle

jsFiddle.

  • 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-10T11:46:33+00:00Added an answer on June 10, 2026 at 11:46 am

    DEMO on JSFiddle

    HTML

    <div id="pardiv">
    <a id="show-quick-cart" href="#show-quick-cart">MY BAG</a>
    <div id="show-quick-cart-zone">
        <div id="quickcart" class="quickcart hide">
            <div class="quickcarttitle"><span>SHOPPING BAG</span></div>
            <div class="quickcart-products">
                <p><strong>No items in your cart so far</strong></p>
                <a href="/cart?ref=quick-cart"><img src="//gc-cdn.com/cart/securecheckout.png"></a>
            </div>
        </div>
    </div>
    </div>​
    

    Jquery

    $('#show-quick-cart').mouseenter(function () {        
        $('#quickcart').slideDown(500);
        return false;
    });
    $('#pardiv').mouseleave(function () {        
    
        $('#quickcart').slideUp(500);
        return false;
    });
    
    ​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a quick jQuery question: First, my HTML: <div id=taskinput> <form> <input id=taskinput-box
I have a quick question that I can't seem to find online. I am
I have quick question about a herf link in php field. When I try
I have a quick question for you all. I'm trying to convert over some
I have quick and simple question. How can I check that an element is
I have a quick and simple question on a small project that I'm starting
Have a quick project I need to put together for windows that can have
I have a quick question about while loop. I want to read ASCII char
I just noticed that live() is already deprecated in jQuery. I have quick question
I have a quick question that I can't find anywhere. I am limiting my

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.