Tony Crockford wrote:
Buddy Quaid wrote:
Here is the page in question:
http://tangerinefiles.com/treatyoak/personal.html
for those that are confused, take a look at the page - the on state is
the same as the hover states .
and the over class is applied by the mouseover event in the javascript
to allow IE to use :hover effects on the LI
why it doesn't work? no idea, but there are some javascript errors that
may be throwing the on-mouseover off track...
Ah, just thought of a possible problem.
the on-mouseover is just adding a class to the list item - that list
item already has a background image and IIRC IE won't just replace
background images.
try adding a border or a color to the list item and change that in
your "over" class as well as the Bg image - that way IE sees something
it has to re-render for.
(but fix up the javascript errors too)
One useful tip is to isolate the elements you're struggling with to
the smallest amount of code that will actually let them work, that way
you can see if its the code you're using or the page they are in
that's causing the problem.
I suspect in this instance there's not enough CSS to get IE to swap
background images when it goes from:
<li id="mortgage" class="on">
to
<li id="mortgage" class="on over">
and back again.
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************