>> Actually, there is a way to get IE to recognize the :hover
>> psuedo-class. (NOTE: I don't think I'm seeing the same amazon page as
[quoted text clipped - 3 lines]
> page and *replaces* (some of) the ones that include :hover with a class name
> that IE *will* recognize.
Oh. Thanks for that. I (insanely) just installed the script and
linked to it from my stylesheet. It worked, and I was busy with other
stuff and never went back to see what it actually does.
>> See this page for an explanation:
>>
[quoted text clipped - 20 lines]
> It doesn't avoid Javascript. That's what csshover.htc is coded in. No
> Javascript, no behaviors.
Thanks again. I don't know javascript, which is why I try to avoid
using it. I should have realized, though. I need to experiment with
this little block of code on some other pages, but I like how easy it
was to implement. I guess what I avoided was having to write any
javascript *myself* (smiley).
-dave.

Signature
Dave Sisley
dsisley@sonic.net
roth-sisley.net
Michael Rozdoba - 31 Dec 2004 07:34 GMT
>>It doesn't avoid Javascript. That's what csshover.htc is coded in. No
>>Javascript, no behaviors.
[quoted text clipped - 4 lines]
> was to implement. I guess what I avoided was having to write any
> javascript *myself* (smiley).
More importantly, it keeps all the scripting in one place, rather than
having it scattered throughout ones markup & is a much prettier modular
solution as a result. Furthermore, the script is only ever used by IE
clients (who I, um, don't exactly have a lot of respect for - unless
they're being forced to use the wretched filth).
Given one almost always needs to support IE, this seems like as clean a
solution as one can get, whilst letting decent browsers work largely
unhindered by hideous IE hacks (just the one behaviour inclusion line
which they need to ignore).
I don't suppose there's a way to wrap that css line up such that the
resulting code still functions in IE but will also validate?

Signature
Michael
m r o z a t u k g a t e w a y d o t n e t