Previous Message
Next Message

Re: [css-d] pure css (javascript-like) rollover image

Sent by pandion on 4 April 2002 08:08


Rob Ford wrote:
>After trying out Eric's "pure css popups" ideas, it occurred to me that I 
>might adapt the code to produce a pure css javascript-like rollover image. 
>In effect two images placed on top of each other using the "absolute" 
>attribute, with the top one set to zero height and width on mouseover 
>should do the trick. And in fact it does, with limited success. Both 
>Mozilla 9.5.0+ and IE6.0 display this correctly but I can't stop the 
>"flickering" effect. I've a suspicion that the idea is in fact flawed?
>
>  http://www.thebackcountry.co.uk/cortina.html

Cool, we had the same thought. :) I was playing with the same idea some 
time ago. I took a different approach though, relative positioning and 
visibility. As you, I had limited success. Works in K-Meleon so I guess it 
works in Moz, works not in Opera and IE5 (all Windows). I would be 
interested to know if it works in IE6. I uploaded it here:

<http://members.evolt.org/~pandion/css/rollovermenu.html>

An interesting thing is that the image swap do work in IE5 when the link is 
active but not on hover. Maybe I've made a mistake somewhere? And why 
doesn't it work in Opera? Grrrr.

pandy
Previous Message
Next Message

Message thread: