Hello,
I'm having a problem animating the opacity on the contents of a list element in IE8 (haven't tested the others yet). There's a big grid of li elements, each holds a link that wraps up a color palette built by span tags. The plan is that when you rollover one li, all of the other li's fade out. It works correctly in Firefox and Chrome, but in IE8, the li element itself fades, but the contents of the li do not. It makes it pointless. Any tips?
The html:
- $(document).ready(function() {
- $('.cl_results li').each(function() {
- $(this).hover(function() {
- $('.cl_results li').stop().css('opacity',0.1);
- $(this).stop().css('opacity',1.0);
- $("span.title", this).toggle();
- },
- function() {
- $(this).stop().css('opacity',0.1);
- $('.cl_results li').stop().css('opacity',1.0);
- $("span.title", this).toggle();
- });
- });
- });
If you want to see the problem live, it's here:Thanks!