[UI Tabs] with cookie option - strange behavior when URL contains an named anchor...

[UI Tabs] with cookie option - strange behavior when URL contains an named anchor...


Hello,
I'm new to jquery and jquery UI but this one has me tearing my hair
out. I've successfully set up some tabs using Klaus Hartl's UI Tabs
and his cookie plug-in.
Things proceed smoothly until I do one of two things:
- return to the page implementing the tabs from a link having a named
anchor (i.e. page.php#theanchor)
- post a form on the page where the action=page.php#theanchor
In both cases the UI Tabs cookies have the tab index reset to 0.
Here's the jquery code:
$('#mrsActivePatternTabSet > ul').tabs({cookie:{path: '/'}});
$('#mrsNestedTabsTabSet > ul').tabs({cookie:{path: '/'}});
I've set up a sample page so you can see the behaviors:
www.make-shades.com/anchor.php
If anyone has any ideas about how I can resolve these it would be
greatly appreciated.
All the best,
Jeffrey