![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is there anyone who knows if it is possible to 'force' via javascript a status A:active on a link ? |
|
I mean: is there a property of the style that can make the css believe a link was clicked when in reality it was not ? |
#3
| |||
| |||
|
|
Moments after the link is cliecked, the browser goes to a new page though, so its not going to be noticed by most people. |
#4
| |||
| |||
|
|
newcomsas (AT) hotmail (DOT) com wrote: Is there anyone who knows if it is possible to 'force' via javascript a status A:active on a link ? No. I mean: is there a property of the style that can make the css believe a link was clicked when in reality it was not ? :active means "is being clicked on" not "was clicked on". You probably want to use :focus (although I don't think browser support is great). |
|
Moments after the link is cliecked, the browser goes to a new page though, so its not going to be noticed by most people. |
#5
| |||
| |||
|
|
You probably want to use :focus (although I don't think browser support is great). Not everyone uses a mouse. |
|
When you tab through a web page, which link or field has the focus needs to be apparent. |
#6
| |||
| |||
|
|
In article <1150198106.824400.24360 (AT) y43g2000cwc (DOT) googlegroups.com>, David Dorward <dorward (AT) gmail (DOT) com> writes Moments after the link is cliecked, the browser goes to a new page though, so its not going to be noticed by most people. True, but if you hit the Back button afterwards, IE will still show the link as active. Not sure if other browsers do as well. |
#7
| |||
| |||
|
|
Moments after the link is cliecked, the browser goes to a new page though, so its not going to be noticed by most people. True, but if you hit the Back button afterwards, IE will still show the link as active. Not sure if other browsers do as well. Bug in IE. It isn't being activated so :active should not apply. |
#8
| |||
| |||
|
|
Harlan Messinger wrote: You probably want to use :focus (although I don't think browser support is great). Not everyone uses a mouse. I'm very aware of that. |
#9
| |||
| |||
|
|
I don't doubt it, but your remark, "moments after the link is clicked, the browser goes to a new page though, so its not going to be noticed by most people," seemed to imply that setting :focus was rather pointless, so I wasn't sure you were thinking about its utility for the mouseless. |
#10
| |||
| |||
|
|
:active means "is being clicked on" not "was clicked on". |
![]() |
| Thread Tools | |
| Display Modes | |
| |