Jquery Link Scrubber Hack for Blogger
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 ,
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://www.crismancich.de/jquery/plugins/linkscrubber/jquery.linkscrubber.js”></script>
or
<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.
Alternative Method
We can also remove the dotted lines using simple CSS code.
just add this css code to your Template above </head>
<style>*{outline:none}</style>
If you Have any doubt please ask me , I am here to help you .
See you soon with a new hack.



07. Aug, 2008 







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;}
Hi Wolverine ,
Yes we can achieve that using that simple CSS.
Thanks for mentioning that CSS.
regards,
Blogger Accessories
Thanks! Its very helpful..
a
Wow I think you have great knowledge about Jquery.. Really nice man..
Tips Blogger
nice trick, i put it on my blog right now.
Say no to dotted line…
And this…???
a {outline: none}
This too is nice.
It is built on top of the DOM, and unfortunately, the DOM is not always fun to work with. Luckily, we have an excellent DOM slicer and dicer that we can use alongside Strophe, the jQuery library.
Billiards, pool
Croatia Service
popurls.com // popular today…
story has entered the popular today section on popurls.com…
This is a great technique, but remember that it’s really bad to use it for users who’re controlling their browsers via keyboard, or other alternative methods. With a keyboard, you can just tab to the link you want, and hit Enter to go there. When you remove the outline, you have no idea which link are you at, therefore really making it harder for your users.
I totally agree with Dariusz Siedlecki, but I must admit, I’m used to remove the dotted outline myself.
But it can be a bad thing in some cases, that’s true.
So basically, this prevents anyone from using the keyboard to navigate you site, since as soon as one attempts to put focus on a link by tabbing to it, the focus is immediately removed. Don’t use the javascript, use the css if you must.
Not only is it harder for people who use the keyboard to navigate, but if you automatically blur the element on focus, people who only use the keyboard can’t navigate at all, because no links can be focused on.
hi rias ,i would like to publish two of your tricks on my blog
1.that u used earlier for ur navigation
2.in ur side bar when i click tabs ,it slides automatically how
Very extraordinary site.
The information here is really helpful.
I will tell my friends.
Cheers
Wow it was quite helpful this post.
Would it be possible to use for submit inputs?
…Although i have found a way to by pass this im using html and js of which i have to place as an attribute each time i create a input submit element!