1 Replies - 3916 Views - Last Post: 08 November 2009 - 06:38 AM

#1 huminuh83  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 07-November 09

Jquery Accordion navigationFilter

Posted 07 November 2009 - 02:16 PM

I'm using this plugin for an accordion navigation in jquery.
function initMenu() {
  $('#menu ul').hide();
  $('#menu li a').mouseover(
	function() {

$(document).ready(function() {initMenu();});

Which works great, but my problem that my little pea brain can't seem to figure out is how to keep the menu open on the continuous pages a user clicks through.

Here is a link to the page I'm working on.


When you click on "portfolio" it works fine, but when you click on the sublink "KAISO", it then loads that page, but the menu collapses. Does this have something to do with hashing? I looked this up, but was unable to find any good resources on how to fix this problem. I believe one solution was to set the navigationFilter option to "true",which you can see that I tried to do, but I'm not quite sure where to do that...

Any ideas?


Is This A Good Question/Topic? 0
  • +

Replies To: Jquery Accordion navigationFilter

#2 Wimpy  Icon User is offline

  • R.I.P. ( Really Intelligent Person, right? )
  • member icon

Reputation: 159
  • View blog
  • Posts: 1,038
  • Joined: 02-May 09

Re: Jquery Accordion navigationFilter

Posted 08 November 2009 - 06:38 AM

Have you tried using the jQuery UI Accordion? It has a lot better documentation than the one you are using, I don't know if it is possible to use it as a menu however, but I can't see why not: http://jqueryui.com/demos/accordion/ :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1