I've built a tab navigation, but every time if i try to access a tab via its # url for example. http://www.goo.com/#gum it would then anchor to that div#gum on page load instead of at the top of the page. any way to prevent that?
1 answer
point
Use return false; in the click() function you associate with each tab.
- It's on page load, not when you click.
- That is the intention of the ui tab. Why would you need it to go to the top of the page via # url?
