Re: [jQuery] Re: Change opacity of item with class of selected

2010-01-09 Thread Karl Swedberg
If you're concerned about it validating, use a conditional comment to include an IE-only stylesheet with the filter in it. At least your non- IE stylesheets will validate. Also, note that for IE8, you'll need to use -ms-filter. So, in your IE stylesheet, you'll have this: #thumbs

Re: [jQuery] Re: Change opacity of item with class of selected

2010-01-06 Thread Paul Collins
That works Johan, thanks very much. Doesn't validate, but I guess that's not the end of the world... Thanks again. Paul 2010/1/6 Johan Borestad johan.bores...@gmail.com Hi Paul! This is a case where you really don't even should use Javascript, unless you're trying to do some fancy

[jQuery] Re: Change opacity of item with class of selected

2010-01-05 Thread Johan Borestad
Hi Paul! This is a case where you really don't even should use Javascript, unless you're trying to do some fancy animations. Rely entirely on CSS with a simple css-rule #thumbs li.selected { filter:alpha(opacity=50); opacity:0.50; } This will also be much much faster than any other