![]() Topic awaiting preservation: No link selections in IE (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: |
![]() I've always hated how IE draws little borders around links when they're clicked. There are times when they are helpful but other times I'd rather not see them. This little script will get rid of them. code: function noSelect(theTag) {
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() However, I suspect that that script will make the page difficult to use for those who like to use their keyboards to navigate from time to time. |
Bipolar (III) Inmate From: |
![]() Well you wouldn't want to use it on just any page you write, just on those pages where the little box would ruin the look and feel of the page. As a courtesy I suppose one could set UNSELECTABLE="off" in a similar function that would fire on an onkeydown event. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() ZOD: Thanks for that - we have discussed this and various solutions were put forward - see here: |
Bipolar (III) Inmate From: |
![]() Hmm. Actually links are still tabable when using this script so keyboard navigation isn't effected. |
Maniac (V) Inmate From: Brisbane, Australia |
![]() You should also add [&& !window.opera] to that first if() statment |
Bipolar (III) Inmate From: |
![]() Good point, thanks! document.all&&document.getElementById&&!window.opera it is. |