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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T22:09:00+00:00 2026-05-28T22:09:00+00:00

Found a really nice code for Accordion nav and am trying implement on our

  • 0

Found a really nice code for Accordion nav and am trying implement on our website, but due to certain restrictions I cannot change the HTML codes or new version on jQuery. The example is based on div/class names but we are using ul > li listing. I am not really getting the child parent relationship. Any help is appreciated. Thanks

The code is set up on JSfiddle http://jsfiddle.net/rexonms/kn3t6/1/

  • 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-05-28T22:09:01+00:00Added an answer on May 28, 2026 at 10:09 pm

    Here you are, fixed the jsfiddle to work with your html:

    http://jsfiddle.net/kn3t6/6/

    Changed this code:

     //Main code that should work  
     $(this).parent().slideDown(500).siblings((this).parent).slideUp("slow");
    

    To this code:

    // hide other lists
    $(this).parent().siblings().find("ul").slideUp("slow");
    
    // show the current list
    $(this).parent().find("ul").slideDown(500);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In trying to solve the ajax back button problem I have found the Really
I have searched a bit on google, but didn't really found an answer to
I found this in the PowerVR mesh drawing code and I don't really know
I found this nice snippet of code online: rkApp = Registry.LocalMachine.OpenSubKey(SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run, true); Which runs
One of my colleagues uses TextPad, and one feature I found really useful is
I have never really found the design view in Visual Studio useful when developing
I began studying Java Regular Expression recently and I found some really intersting task.For
I've consistently had an issue with parsing XML with PHP and not really found
I have searched around a bit, and have not really found a professional type
I really want to get the google Calendar Api up an running. I found

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.