Forum Moderators: open
<!--
function unblur() {
this.blur();
}
function blurLinks() {
if (!document.getElementById) return;
theLinks = document.getElementsByTagName("a");
for(i=0; i<theLinks.length; i++) {
theLinks[i].onfocus = unblur;
}
}
// -->
<edit> Can't answer that last question k, I'm not a javascript person. I just know how to cut and paste and make it work following the instructions. ;)
Thanks pageoneresults. The global version did not work. I'm guessing it's because of "document.getElementById" being used in my inline JS.
The script msr986 posted of course won't do either since I can have only 1 "onclick" in the tag.
I was hoping there was some sort of MS META tag - LOL
Thanks again.
You can use the keyboard to tab through all the links, form fields etc on a page. The dotted outline shows you which link/field/whatever currently has keyboard focus. For people who like to or must use the keyboard, this is crucial for navigation.
It is also, incidentally, bad practice to remove keyboard focus from anything without transferring it somewhere else. It makes using the keyboard to navigate practically impossible.
<a href="" onfocus='this.blur()'>
But I have a question regarding the short dash. I am currently trying to re-write my site in xhtml and have run upon a compatibility snag. IE6 does not support — so I used either &ndash or &minus which earlier Netscape (4.08) doesn't support. Little dashes off the keyboard just do not look right with maths so I want the short dash.
What in god's name is compatible with IE6 and Netscape ???