Hi,
I can't seem to get the focus working on that whatever:hover (despite reading the instructions which say it should work). The active seems to be working ok though but of course isn't the same as focus.
Looking at the code there seems to be something wrong here.
Code:
var csshoverReg = /(^|\s)((([^a]([^ ]+)?)|(a([^#.][^ ]+)+)):(hover|active))|((a|input|textarea)([#.][^ ]+)?:unknown)/i,
If you add "unknown" before the a|input|textarea check you can get it working.
Code:
var csshoverReg = /(^|\s)((([^a]([^ ]+)?)|(a([^#.][^ ]+)+)):(hover|active|unknown))|((a|input|textarea)([#.][^ ]+)?:unknown)/i,
But of course that applies it to all elements and not just a, input or textarea as per normal.
I'm afraid my regular expression knowledge is nil so it seems to be a javascript question now.
Bookmarks