Some Browsers such as Firefox surround anchors with a dotted line when clicked (onFocus). In some of your layouts you may find this annoying. This little Link Scrubber plugin for jQuery simply removes this unwanted behaviour document wide.
Please note: A reader of my website told me that this is possible without any scripting! So you don’t need the Plugin any more.
a:focus {
outline: none;
}
For all who still like to have the Link Scrubber plugin – no matter for what reason – here’s the old article:
Simply embed jQuery and the Link Scrubber plugin script into the head section of your HTML page:
<script type="text/javascript" src="jquery-1.2.1.pack.js"></script> <script type="text/javascript" src="jquery.linkscubber.js"></script>
If you experience problems with this plugin or this page, feel free to contact me directly: Send a mail to plugins(at)crismancich.de.
Demo: http://www.crismancich.de/en/jquery/linkscrubber.htm#demo
Download: http://www.crismancich.de/jquery-1.2.1.pack.js
Source: http://www.crismancich.de/en/jquery/linkscrubber.htm

Related Listings:
No comments yet.
RSS feed for comments on this post. TrackBack URL