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

  • Home
  • SEARCH
  • 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 7090615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T08:04:36+00:00 2026-05-28T08:04:36+00:00

Created an Accordion side bar using jQuery 1.2.6. I cannot access newer version of

  • 0

Created an Accordion side bar using jQuery 1.2.6. I cannot access newer version of jQuery. The CMS is locked. I think there is some kind of bug that’s not showing the first li element. I try to recreate the senario in jsfiddle but it’s having some issue as well. The site can be accessed at http://www.cjp.org/our-work.aspx. The issue I am having is with the left navigation. For example Caring & Social Justice caring and social justice has three link but it only show two links? Any help is appreciated.

Thanks

Following is the whole script but the “Sidebar Accordion Nav” is the one that controls the left nav. The script can be accessed at http://www.cjp.org/local_includes/top-nav.js.

$(document).ready(function() {

// Dropdown Navigation on hover
$("#linkListSub1 li").hover(function() {

    $(this).find("ul").slideDown(150).show();
}, function() {
    $(this).find("ul").slideUp(200);
});


//Adding "Search CJP" in input box
$('.search').attr('value', 'Search CJP');


// Homepage search bar clear on focus
$('.search').each(function() {

   var default_value = this.value;

   $(this).focus(function(){
           if(this.value == default_value) {
                   this.value = '';
           }
   });

   $(this).blur(function(){
           if(this.value == '') {
                   this.value = default_value;
           }
    });
});

// Homepage tabs for Events and News
$(".tab_content").hide();
$("ul.tabs li:first").addClass("active").show();
$(".tab_content:first").show();

$("ul.tabs li").click(function() {

    $("ul.tabs li").removeClass("active");
    $(this).addClass("active");
    $(".tab_content").hide();

    var activeTab = $(this).find("a").attr("href");
    $(activeTab).fadeIn();
    return false

});

$(".paging li").css({ opacity : 0.8 });

  // Sidebar Accordion Nav
 $(function() {
// Sidebar Accordion Nav
$("#linkListSub3 li li").hide();

$("#linkListSub3 li").hover(function() {

    if ($("li", this).is(":hidden")) {

        $("#linkListSub3 li li").next().slideUp();
        $("li", this).next().slideDown();
    }

},function(){

});


//Hide And show Toggle Bar animation
//Hide (Collapse) the toggle containers on load
$(".toggleContainer").hide();

//Switch the "Open" and "Close" state per click then slide up/down (depending on open/close state)
$("a.trigger").click(function() {
   var $this = $(this),
    $container = $('#ctl00_ContentPlaceHolder1_supportingElements'); // Takes care of the issue where the outer container doesn't expand with the box.
if($this.hasClass('active')) {
    $container.height($container.data('height'));
}
else {
    $container.data('height', $container.height()).css('height', 'auto');
}
$(this).toggleClass("active").next().slideToggle("slow");
$(this).text($(this).text() == 'Collapse' ? 'Expand' : 'Collapse'); // Toggles the text from expand to Collapse


return false; //Prevent the browser jump to the link anchor/Prevent the browser jump to the link anchor
});

});


});
  • 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-28T08:04:36+00:00Added an answer on May 28, 2026 at 8:04 am

    It is not a bug in jQuery, it is a bug in the JS. Here is a much simpler solution:

    $(function() {    
        $("#linkListSub3 > ul > li").hover(function() {
            $("#linkListSub3 ul ul").slideUp();
            $(this).find("ul").slideDown();
        }, function() {
    
        });
    });
    

    Specifically, this should replace the section that starts with // sidebar accordion nav

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

Sidebar

Related Questions

I've created a jQuery accordion for my website, it all works very fine. But
I want to create multilevel accordion Navigation using jQuery , I tried using this
I need to run some code after my jQuery UI accordion initializes. According to
I am building an ASP.NET MVC web application and I'm using jQuery for some
I'm using jQuery for styling only, while divs are created using html tags in
I've created accordion like this: layout:'accordion', layoutConfig:{ animate:true } then i add elements by
I have created a basic site using ASP.NET routing according to Mike Ormond's example
I've created a blog main page using PHP and have included a sidebar and
I have an ajax accordion, and each pane contains an updatepanel (created dynamically). I
Am using php to develop an app and i created a simple template system

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.