Disable/alter url anchor
Disable/alter url anchor
I have a page with 3 tabs in it, they have ids of
intro
about
contact
The links into the page determine which tab is selected when the page is loaded. E.g. if the user follows this URL
www.mysite.com/index.php#about
(this is a fake URL) the second tab will be selected.
This all works fine, the problem I am having is the page jumps to the anchor point and the tabs are not visible unless the user scrolls up.
Is there a way to still have the correct tab selected but not jump to the anchor point?
Thanks for any help.