Image

Pet Peeve....

Why do people do this.

<a href="#" onclick="somefunction();">Some Link</a>

I was just on a website, that had a lmage as a link. When you clicked on it, it popped the a new window, and the because the href was # it brought me to the top of the page. Totally annoying......


I am a big fan of. gets what you want, and in all browsers with no unexpected surprises.
<a href="javascript:somefunction();">Some Link</a>