In working on a project recently, a co-worker found, while debugging Safari that the return false trick doesn't work. I still have to check Safari 3, but as I remember it works well on Safari 3.
Many people just put a # symbol in the href, like:
but the problem with this is that whenever a user clicks the link, it will scroll to the top of the page, since # is the URL for an anchor, and # with no ID after it is the URL for the top of the page. This is a usability nightmare, unless your page is a fixed height.
What I, and many other developers have found is if we change the onclick a little, we can get the page to not scroll…
That fixes the scrolling problem in most browsers since the a stops being processed after the return false. To make this link unobtrusive, we would have to have a solid-state, Web 1.0 way to handle this action.
Hopefully Apple will fix this with Safari 3, and they seem to have, but we will have to check for Safari, and remove the href server side, until everyone is running Leopard.