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

1
point

Use return false; in the click() function you associate with each tab.

Answered about 8 years ago by Divya Manian
  • It's on page load, not when you click. Caleb Wong about 8 years ago
  • That is the intention of the ui tab. Why would you need it to go to the top of the page via # url? Divya Manian almost 9 years ago