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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:16:40+00:00 2026-06-13T09:16:40+00:00

i have created a dynamic side category menu…..in jquery, But its sometimes doesn’t work

  • 0

i have created a dynamic side category menu…..in jquery, But its sometimes doesn’t work properly…i dont know the reason behind,,,, i’d given the code static (picked from the firebug). plz see it soon & if the code could be more better and the menu could more smooth in working than it is(given), then plz provide me that code or link…
thnku

javascript(with static id etc.)

problem:

if i fastly more than one times hover on that li, it gets sliding up & sliding down repeating itself as much times as hover on it………. ??????????

 $(document).ready(function () { $(' #cate_id2 > ul').show(); });
        $(document).ready(function () {
            $(' #cate_id2 > ul > #subcate_id4 > div').hide();

            $(' #cate_id2 > ul > #subcate_id4 ').hover(function () {
                $(' #cate_id2 > ul > #subcate_id4 > div').slideDown("fast");
            },

           function () {
               $(' #cate_id2 > ul > #subcate_id4 > div').slideUp("fast");
           });
        });

html(static code)

         <li id="cate_id2">
               <a href="CateProducts.aspx">Laptops &amp; Notebooks</a>  
            <ul style="display: block;">
               <li id="subcate_id3">
                     <a href="SubCateProducts.aspx"> MACS</a>
               </li>
               <li id="subcate_id4">
                     <a href="SubCateProducts.aspx"> Windows</a>
                <div style="border: 1px solid black; display: none;">
                   <ul style="border: 1px solid black; display: block;">
                      <li><a href="SubSubCateProducts.aspx">notebook</a></li>
                      <li><a href="SubSubCateProducts.aspx">probook</a></li>
                   </ul>
                </div>
               </li>
             </ul>
          </li>

if u will provide me the code , better then given above
i will convert that(your) code into dynamic myself …….

  • 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-13T09:16:40+00:00Added an answer on June 13, 2026 at 9:16 am

    you could make cleaner:

    $(function () {
       $('#cate_id2 > ul').show();
       $('#cate_id2 > ul > li')
            .on('mouseover', function () {
                $(this).find('div').stop(true, true).slideDown();
            })
            .on('mouseout', function () {
                $(this).find('div').stop(true, true).slideUp();
            });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have created a dynamic side category menu. $(document).ready(function () { $(' #cate_id2 >
I have created a dynamic web project in Eclipse, but when I set up
I have created a dynamic list picker script using Jquery 1.3 and PHP that
I have created a dynamic form using jQuery that has two sections, once the
I am new in flex.I have created dynamic web project. Run it. It accessible
I am working on Moodle 2.2.1 and have created dynamic.csv files using certain queries.
I have basic hello word example of Prime Faces. I have created dynamic web
I have created a Dynamic Data site against an Entity Framework Model I have
I have created a Dynamic View Panel custom control and want to add a
I have created one dynamic button in my application and I call the following

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.