Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
IE Win: Hover on an element other than (a href...)
How do I get a hover to show up in IE for windows on a non <a>
element.
I can get a change in background color on all kinds of stuff in FF/Safari but they’re not visible in IE Win.
Any thoughts?
Offline
Re: IE Win: Hover on an element other than (a href...)
I’m probably wrong but I don’t believe IE let’s you add hover to non <a> elements, this is meant to be included in IE7 I think
Offline
Re: IE Win: Hover on an element other than (a href...)
No, you cannot use :hover
on elements other than <a>
in IE6
Last edited by paularms (2006-02-03 23:59:16)
Offline
Re: IE Win: Hover on an element other than (a href...)
Ok, that solves that… Thanks
Offline
Re: IE Win: Hover on an element other than (a href...)
You can run javascript to attach a hover class to other elements onmouseover for IE. That way you can do:
<pre>
li:hover, li.hover {
stuff:foo;
}
</pre>
I’d be happy to send you the code if you want. I’ve been using it for a couple years now with no problems.
Last edited by hakjoon (2006-02-04 00:28:49)
Shoving is the answer – pusher robot
Offline
Re: IE Win: Hover on an element other than (a href...)
patrick,
I’d be up to seein that code if you felt like sending it my way? :)
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: IE Win: Hover on an element other than (a href...)
yes, you can use javascript to sniff out the css declarations and then apply event handlers that would mimic the hover bahavior.
This is one of the ways that the IE7 script library makes up for missing features in win/ie
If you’d like (and don’t mind the overhead) just download that library and link it in the head of your page and you’re set.
(no relation to the IE7 beta release earlier this week.)
Site: placenamehere.com
Microformat Plugin: pnh_mf
Offline
Re: IE Win: Hover on an element other than (a href...)
Yep IE7 has lofty goals… and mostly works for most people. Hasn’t been updated in a while…
I just get a little skittish about what it does in the background, and I’m never exactly sure what it’s fixing and what it’s not.
In the end I elected to just let certain things (transparent pngs, etc…) gracefully degrade on Windows IE. And use hacks for the box model.
Offline
Re: IE Win: Hover on an element other than (a href...)
For hover:whatever in IE see <a href=“http://www.xs4all.nl/~peterned/csshover.html”>http://www.xs4all.nl/~peterned/csshover.html</a> and <a href=“http://www.alistapart.com/articles/dropdowns”>http://www.alistapart.com/articles/dropdowns</a>.
Last edited by Jeff_K (2006-02-05 19:17:34)
Offline
Re: IE Win: Hover on an element other than (a href...)
Jeff,
If you get a chance, can you fix your links: They should conform to forum standards, a link can be made like this:
“put something in quotes” : http://whatever.com here, (minus the spaces before and after the colon)
But thanks for the heads up!
Matthew
Last edited by ma_smith (2006-02-05 19:28:27)
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: IE Win: Hover on an element other than (a href...)
Where is there an error in my links? I don’t really use textile, just plain old html. Is that the problem? shrugs
Offline