Forum Moderators: not2easy
1. The traditional JS image swap method: just make another version of each circle that's more opaque and substitute it in on mouseover.
2. Use CSS to adjust the opacity of the circles.
Of course, I'm leaning heavily toward the CSS method, but how supported is CSS opacity?
Also, while we're on the subject, is there any method for JS image swapping cleaner than SimpleSwap [snip]? Can you think of any any drawbacks to using this method (support, etc.)? (This question's unrelated to the poll; I don't mean to ask if this method would be better than adjusting the opacity via CSS, but whether there's a better way of actually performing a swap.)
Thanks all!
[edit: no urls, please. See CSS Forum Charter [webmasterworld.com] for details.]
[edited by: createErrorMsg at 5:02 pm (utc) on June 28, 2005]
2. One issue with javascript rollovers is that IE handles the swapped images very poorly, going back to the server instead of the cache and introducing latency in the rendering which is quite noticable for dial-up users. This alone means that CSS is better from a practical stand point. I also would not use opacity, but rather create an image that just "appears" to be more transparent.
3. CSS can create rollover effects by using a hover behavior - and that means even people with javascipt turned off can see them.
4. And finally, for the javascript approach, you may get some ideas from this thread:
Bare Bones Rollovers [webmasterworld.com]