Hello, my site is www.studio-atmosphere.com.
As you can see the accordion menus work as desired except for the fact that the page always reloads to open the first menu item instead of keeping the current page open... I have googled the problem and found numerous fixes, but non seem to work. The code I am using is from:
http://jqueryui.com/demos/accordion/
I like the code, It's nice and simple. I think that what I need to do is found in the Options tab...
aka:
If set, looks for the anchor that matches location.href and activates it. Great for href-based state-saving. Use navigationFilter to implement your own matcher.
Code examples
Initialize a accordion with the navigation option specified.
PHP Code:
$( ".selector" ).accordion({ navigation: true });
Get or set the navigation option, after init.
//getter
var navigation = $( ".selector" ).accordion( "option", "navigation" );
//setter
$( ".selector" ).accordion( "option", "navigation", true );
that stuff... BUT I tried placing those in my HTML header and in the jquery file itself... I may have put them in the wrong places, not sure?
Other than that I have no ideas for that kind of jquery accordion. I know some other fixes involve using a menu with parent/child relationships. I did get one of those to work correctly as far as keeping the page open, but it had A LOT of other issues. It wanted to stair-step out and when I made it a vertical menu the content spilled out all over the place instead of sliding like it was supposed to... I am just really not sure.
Thank you in advance for your help! I do really appreciate it! I'll be so happy when this bug is fixed...
Sincerely,
April 
|