[jQuery] Location Persistence... Almost

[jQuery] Location Persistence... Almost


I have a tree with a structure like this:
A
---A1
---A2
B
---B1
---B2
-------B2.1
-------B2.2
---B3
C
Using location persistence, if I click on B2, the hyperlink takes me
to page B2, and the tree expands to show this:
A
B
---B1
---B2
---B3
C
Instead, I would like clicking B2 to take me to page B2, and for the
tree to expand to show the subs of B2 (B2.1 and B2.2 in this example)?
A
B
---B1
---B2
-------B2.1
-------B2.2
---B3
C
It's seems like it would be fairly simple, but I'm learning as I go
and this one has me stumped.
Thanks in advance.