.click(function() {
> $(this).find('img').css('opacity', 1);
> $(this).siblings().find('img').css('opacity', 0.5);
> });
>
> });
> HTML:
>
>
>
>
>
>
>
>
>
> Hope this help you
>
> Maurício
>
> --
Hope this help you
Maurício
-Mensagem Original-
De: Jared
Para: jQuery (English)
Enviada em: sexta-feira, 4 de dezembro de 2009 19:42
Assunto: [jQuery] Change opacity for all divs except one
Hello all,
I have a bunch of thumb nails that will be at full opacity whe
Have all the divs have a class name eg.) thumbs
When the user selects his favorite remove this class name from the
particular div and apply your opacity logic to $('div.thumbs'), so that way
the favorite one would not be changed.
Thanks & Regards,
Dhruva Sagar.
On Sat, Dec 5, 2009 at 3:12 AM,
Hello all,
I have a bunch of thumb nails that will be at full opacity when a user
gets to the page. Users will be able to select their favorite. What I
want to have happen is when a user selects their first favorite all of
the there thumbnails will be lowered in opacity then when they select
other
4 matches
Mail list logo