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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T03:32:14+00:00 2026-06-08T03:32:14+00:00

I’m working on a jQuery menu. Here’s the fiddle : http://jsfiddle.net/HZxjb/ What I need,

  • 0

I’m working on a jQuery menu.

Here’s the fiddle : http://jsfiddle.net/HZxjb/

What I need, is to be able to browse in each sub-categories. Right now, when the mouse is over “home”, well when I want to go over “Text 1”, the sub-categories slides back in. How can I stop that?

Also, I would like the sub categories to slide in next to the main categorie. So if my mouse is over “Home”, the sub-li will slide next to it. If my mouse is over “Services”, the sub-li will slide next to it, so there will be no sub-buttons next to “Home”, since “Services” is under it.

Also, if I go from one button to another quickly, you see the sub-buttons appearing under the ones that are on their way back in. How to make this work a way that this won’t happen?

  • 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-08T03:32:16+00:00Added an answer on June 8, 2026 at 3:32 am

    http://jsfiddle.net/HZxjb/13/

    You don’t need to call each one with an id.
    What I gave you is how you should build your menu.

    What I would recommend:

    Don’t start building complicated things, without knowing the basics.

    For example, the next code, is just wrong, no matter how you will look at it:

    $(document).ready(function () {
        $(".sub_button_home").hide();
    });
    $(document).ready(function () {
        $(".sub_button_services").hide();
    });
    $(document).ready(function () {
        $(".sub_button_products").hide();
    });
    

    Not only that you can do that from the CSS (with display: none), you attached 3 functions, instead of one which will include all your code.

    I suggest reading jQuery’s API to learn the basic structure you should adopt.

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

Sidebar

Related Questions

I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a jquery bug and I've been looking for hours now, I can't
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
In my XML file chapters tag has more chapter tag.i need to display chapters
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I need to clean up various Word 'smart' characters in user input, including but
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out

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.