[jQuery] UI Tabs: Select tab based on hash?

[jQuery] UI Tabs: Select tab based on hash?


Hi,
Is this a stupid question?
How easy is it to select a tab based on the URI hash?
A quick and dirty solution was for me to use an absolute URI to the
tab (i.e. http://site.com/index.php#tab-hash), but due to HTTPs
restrictions, I have to make all my links root relative...
Just kinda looking for a kick in the right direction. :)
Thanks!
M