So, in other words: when links aren't links--when they're really tabs, or buttons, or menus that happen to look like links--don't make them behave like links. It's a start, but there's obviously a deeper issue here: why are you confusing your users by making these other page elements look like links? Just because they're techniically implemented with <a> tags is no excuse.