I'm using jQuery Tools with a SilverStripe project. Because SilverStripe uses a base tag, all fragment links need to include the path URL (href="/current-page#foo" not href="#foo").
This almost works as-is with jQuery Tools. The only issue is that when history is on and a history change event occurs jQuery Tools can't find the tab associated with the new hash, because it does an exact href comparison with the hash.
This small change fixes the issue. I'm not sure if it's general enough to be included in the main jQuery tools distro but it might be useful to others who have hit this problem.
- tab = tabs.filter("[href=" +i+ "]");
+ tab = tabs.filter("[href$=" +i+ "]");
