Picnic Website Code Tutorials

Buttons With No URL Destination Tutorial

Here is a working example.

javascript:; in the href keeps the browser from launching you to the top of the window when you click the button. And onclick="this.blur(); removes IE6/7 a:active behavior, whereby they won't let the button come back up (from un-active) otherwise. The Demo is down below so you can see it in action.

<a href="javascript:;" onclick="this.blur();" id="a"></a>
		

Demo Buttons...

Sponsors

Top Donators

Friends of Mine