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...

Need help adding this or other code to your website? Post it here in the forum! Forum


Top Donators

Friends of Mine