Everyone would have noticed in their Blogs that whenever you click an Link a dotted border appear around the link. The dotted Border not only appears for links but for all images , Post Titles , etc. It's some what Annoying . After surfing internet for a while Now I have found a hack developed by Crismancich , which removes the dotted line onfocus from links.
What things We need ?
To Implement this Link Scrubber Hack we need to scripts namely ,
1. Jquery 1.2.2 .js
2. Link Scrubber Script
How to implement this Link Scrubber Blogger Hack ?
Go to Layout section of your Blog Template and then navigate to Edit HTML sub tab.
Now search for this code </head> and place the following code immediately above that line.
<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.2.1.pack.js"></script>
<script type="text/javascript" src="http://www.crismancich.de/jquery/plugins/linkscrubber/jquery.linkscrubber.js"></script>
or
<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.2.1.pack.js"></script>
<script> $(document).ready(function(){$("a").bind("focus",function(){if(this.blur)this.blur();});}); </script>
That's it We have successfully added Jquery Link Scrubber Hack for Blogger.
Jquery script must be above Link Scrubber Script
If you Have any doubt please ask me , I am here to help you .
See you soon with a new hack.
on August 15, 2008 at 10:48 PM
there is one more trick to overcome this problem..
just add the following code between <head> and </head>
a {outline: none;}
a img {border:0px;outline: none;}
on August 16, 2008 at 2:41 AM
Hi Wolverine ,
Yes we can achieve that using that simple CSS.
Thanks for mentioning that CSS.
regards,
Blogger Accessories
on August 25, 2008 at 8:48 AM
Thanks! Its very helpful..
on November 18, 2008 at 9:32 PM
a
on January 21, 2009 at 8:42 AM
Wow I think you have great knowledge about Jquery.. Really nice man..
Tips Blogger
on February 16, 2009 at 1:00 AM
nice trick, i put it on my blog right now.
Say no to dotted line... :)
on March 3, 2009 at 10:52 AM
And this...???
a {outline: none}
on May 23, 2009 at 4:38 AM
This too is nice.
Post a Comment