[jQuery] Accordion: loading an accordion with one selcted

[jQuery] Accordion: loading an accordion with one selcted


I have a page with an FAQ, which I put into an accordion. When the
page loads, the questions are visible and the answers are hidden.
Using the code I found here <http://www.learningjquery.com/2007/02/
more-showing-more-hiding> the user can toggle the visibility of one or
more answers.
Now I'd like to be able to link from any other page to one of the
questions in a way that the relating answer (and only that one) will
be visible when the page loads. The linking is easy, each question has
a named anchor and the name of the anchor can be pulled from the URL
by using document.location.hash. But from there on I'm lost.
After the page loaded with the visible answer, the normal mechanism of
the accordion should apply.
Any help appreciated.
Hans