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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T08:33:36+00:00 2026-06-13T08:33:36+00:00

I have used an asp .net menu in a div. I need to display

  • 0

I have used an asp .net menu in a div. I need to display the menu by mouse hover on another div element called “Menu”.

The problem is that the menu disappears when the mouse moves onto the menu [away from the “Menu” div], thus making the menu non accessible.

jQuery(document).ready(function () {
        //toggle the componenet with class msg_body
        jQuery(".heading").hover(function () {
            jQuery(this).next(".txtcontent").slideToggle("slow");
        });
    });

HTML code:

<div class="heading" style="width: 100%; font-size: 7pt; font-family: 'Lucida Bright';">
<span style="font-size: 20pt">MENU</span>
</div>
<div class="txtcontent" style="width: 90%; display: none;">
<asp:Menu> Menu contents </asp:Menu>
<div>

Kindly 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-06-13T08:33:37+00:00Added an answer on June 13, 2026 at 8:33 am

    Try this please :) http://jsfiddle.net/SJHr5/

    Hope it fits the cause :)

    Code

    <div class="heading" style="width: 100%; font-size: 7pt; font-family: 'Lucida Bright';">
    <span style="font-size: 20pt">MENU</span>
    
    <div class="txtcontent" style="width: 90%; display: none;">
        <asp:Menu> Menu contents </asp:Menu>
    
    </div>
    </div>
    

    Jquery code

    $(function() {
        $(".heading").hover(function() {
            $(this).find(".txtcontent").slideDown("slow");
    
        }, function() {
            $(this).find(".txtcontent").slideUp("slow");
    
    
        });
    });​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I used to have a standard ASP.NET MVC 3 application that was Ninject-wired via
I have been reading about MVP, MVVM and have used asp.net MVC in couple
I have not used ASP.NET Membership and Role Providers before but looking for a
I have used JQuery within my asp.net page. JQuery is working fine. I could
I have used Visual Studio 2008 ASP.NET AccessDataSource Wizard to generate the update command.
This is about asp.net mvc3 web application. We have used Object cache to store
I am developing a site using asp.net MVC. I have used AJAX for paging,sorting
We are developing a SaaS application in Asp.net, where we have used the Single
I am new ASP.NET and I have never used a GridView or DataGrid, but
sending mail along with embedded image using asp.net I have already used following but

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.