leao — 2011-03-01T15:54:26-05:00 — #1
I have an image link that when rolled over makes the 2 images next to it change into animated GIFs. See horizontal menu here
The code I currently am using to do these rollovers works most of the time but sometimes it is temperamental. What I mean is that exactly the same piece of code, on the same page, using the same browser works sometimes but other times it doesn't. For example, when I rollover the image link sometimes one of the images next to it doesn't change state or when I rolloff the image link, one of the images next to it doesn't return to its original state.
Thanks for your time!
rguy84 — 2011-03-01T16:05:38-05:00 — #2
I am pretty sure you can do this, I cannot test right now. I would make that nav menu a unordered list. Position the wheel in the background using CSS. Then put the moving gif as the bAckground on :hover, again via CSS
leao — 2011-03-01T16:08:54-05:00 — #3
Is CSS the best way of doing things generally?
rguy84 — 2011-03-01T16:11:54-05:00 — #4
IMO yes. But a JS person can say JS is better.