[jQuery] Re: Open a particular menu in accordion based on value passed to it

2009-04-20 Thread TenzoChris
I wrote a quick accordion pattern that uses the anchor attribute of a url to determine which panel should be expanded by default: http://skulljackpot.com/2009/03/30/quick-and-dirty-but-useful-jquery-accordion-pattern/ It'd let you write links like http://example.com/path/to/page#menu-2, and have

[jQuery] Re: Open a particular menu in accordion based on value passed to it

2009-04-20 Thread Charlie
you can pass the index for the accordion panel to the next page in a url after a hash or search symbol . On page with accordion extract the data from the url and use it to activate panel in accordion. here's a working example