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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T18:49:09+00:00 2026-06-16T18:49:09+00:00

I have the following so far: $(#main-link-bottom-about).mouseenter(function() { $(#main-about-hover).slideDown(slow); }); $(#main-about-hover, #main-link-bottom-about).mouseleave(function() { $(#main-about-hover).slideUp(slow);

  • 0

I have the following so far:

$("#main-link-bottom-about").mouseenter(function() {
    $("#main-about-hover").slideDown("slow");
});

$("#main-about-hover, #main-link-bottom-about").mouseleave(function() {
    $("#main-about-hover").slideUp("slow");
});

This is basically a drop down menu when you hover over links. What I want to achieve is that when you hover over #main-link-bottom-about, #main-about-hover slides back up when the mouse leaves either #main-about-hover, #main-link-bottom-about.

However, the problem is, if the mouse leaves #main-about-hover onto #main-link-bottom-about, #main-about-hover slides up where as I don’t want this to happen.

Is it possible to add this exception or am I going about this the wrong way?

EDIT::

HTML:

<!-- Navigation Links Bottom -->

<div id="main-links-bottom" class="shadow">

    <a href="index.php" id="main-link-bottom-about" class="main-infotext-bottom">About</a>

    <a href="#" class="main-infotext-bottom">Information</a>

    <a href="#" class="main-infotext-bottom">Services</a>

    <a href="#" class="main-infotext-bottom">Support</a>

    <a href="#" class="main-infotext-bottom">Careers</a>

    <a href="#" class="main-infotext-bottom">Mobile Site</a>

    <a href="#" class="main-infotext-bottom">Site Map</a>

    <a href="#" class="main-infotext-bottom" onclick="alert('Coming Soon!')">Mobile App</a>

    <div id="main-links-bottom-hover">

        <div id="main-about-hover">

            <div id="main-about-div">

                <li id="lnk1" class="about-lnk"><a href="#">Contact</a></li>
                <li id="lnk2" class="about-lnk"><a href="#">Technology</a></li>
                <li id="lnk3" class="about-lnk"><a href="#">Coverage</a></li>
                <li id="lnk4" class="about-lnk"><a href="#">Environment</a></li>
                <li id="lnk5" class="about-lnk"><a href="#">T&amp;C's</a></li>
                <li id="lnk6" class="about-lnk"><a href="#">Refund Policy</a></li>

            </div>

        </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-16T18:49:10+00:00Added an answer on June 16, 2026 at 6:49 pm

    A good starting point is this. Make the navigation prettier than the example (put it under each category), but this will work.

    jsfiddle: http://jsfiddle.net/xtBXj/2/

    HTML:

    <!-- Navigation Links Bottom -->
    <input id="test"></input>
    <div id="main-links-bottom" class="shadow">
    
        <a href="index.php" id="main-link-bottom-about" class="main-infotext-bottom">About</a>
    
        <a href="#" class="main-infotext-bottom">Information</a>
    
        <a href="#" class="main-infotext-bottom">Services</a>
    
        <a href="#" class="main-infotext-bottom">Support</a>
    
        <a href="#" class="main-infotext-bottom">Careers</a>
    
        <a href="#" class="main-infotext-bottom">Mobile Site</a>
    
        <a href="#" class="main-infotext-bottom">Site Map</a>
    
        <a href="#" class="main-infotext-bottom" onclick="alert('Coming Soon!')">Mobile App</a>
    
        <div id="main-links-bottom-hover">
    
            <div id="main-about-hover">
    
                <div class="hovers" id="About">
    
                    <li id="lnk1" class="about-lnk"><a href="#">Contact</a></li>
                    <li id="lnk2" class="about-lnk"><a href="#">Technology</a></li>
                    <li id="lnk3" class="about-lnk"><a href="#">Coverage</a></li>
                    <li id="lnk4" class="about-lnk"><a href="#">Environment</a></li>
                    <li id="lnk5" class="about-lnk"><a href="#">T&amp;C's</a></li>
                    <li id="lnk6" class="about-lnk"><a href="#">Refund Policy</a></li>
    
                </div>
    
              <div class="hovers" id="Information">
    
                    <li id="lnk1" class="about-lnk"><a href="#">InfoContact</a></li>
                    <li id="lnk2" class="about-lnk"><a href="#">InfoTechnology</a></li>
                    <li id="lnk3" class="about-lnk"><a href="#">Coverage</a></li>
                    <li id="lnk4" class="about-lnk"><a href="#">Environment</a></li>
                    <li id="lnk5" class="about-lnk"><a href="#">T&amp;C's</a></li>
                    <li id="lnk6" class="about-lnk"><a href="#">Refund Policy</a></li>
    
                </div>
    
                        <div class="hovers" id="Services">
    
                    <li id="lnk1" class="about-lnk"><a href="#">ServInfoContact</a></li>
                    <li id="lnk2" class="about-lnk"><a href="#">ServInfoTechnology</a></li>
                    <li id="lnk3" class="about-lnk"><a href="#">Coverage</a></li>
                    <li id="lnk4" class="about-lnk"><a href="#">Environment</a></li>
                    <li id="lnk5" class="about-lnk"><a href="#">T&amp;C's</a></li>
                    <li id="lnk6" class="about-lnk"><a href="#">Refund Policy</a></li>
    
                </div>
    
            </div>
    
        </div>
    
    </div>
    

    JS:

    $(".hovers").hide();
    
    //$("#main-links-bottom-hover").hide();
    
    $(".main-infotext-bottom").mouseenter(function() {
        $(".hovers").slideUp();
        var m = $(this).html();
        $("#test").val(m);
        $("#" + m).slideDown();
    });
    
    
    $("#main-links-bottom").mouseleave(function() {
        $(".hovers").slideUp();
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello this is may first question and I have found so far the following
Basically, I have the following so far: class Foo { public override bool Equals(object
I have the following query so far, which works perfectly to rank the books
I have to following code and as far as I know it is correct,
Learning a bit about Linq. I have the following code: (Please excuse the pathetic
I have the following code, so far, I want to check if a file
I have the following program: def main(): print Running primes = sieve(100000) print Sieve
I have a main page index.html. This main page is the enterance to the
In my testing code, I have the following: @pytest.mark.parametrize((title, description, 'site'), [ (abc, this
i have the following problem. as far a i put my Textboxes in a

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.