I went ahead and wrote some Javascript code to handle this functionality. If your link would normally be
http://domain.com/page/#Name
you instead link to
http://domain.com/page/#tab-Name
It’s a little slow to switch the tab but it works. If anyone can improve on the code feel please post it here.
<script type="text/javascript">
window.onload = function() {
if (window.location.href.indexOf("#tab-") > -1) {
var url_anchor = window.location.href.substring(window.location.href.indexOf("#tab-") + 5);
if (url_anchor.length != 0) {
var els = document.getElementsByTagName("a");
for (var i = 0, l = els.length; i < l; i++) {
var el = els[i];
if (el.href.indexOf('#' + url_anchor) > -1) {
el.click();
window.location.hash = url_anchor;
window.scrollTo(0, 0);
}
}
}
}
};
</script>