[jQuery] Re: How to add opacity to an element

2007-04-12 Thread Brandon Aaron
Just want to add that these methods also work. $(element).css('opacity', '0.5'); $(element).css('opacity', 0.5); $(element).css({opacity: '0.5'}); $(element).css({opacity: 0.5}); -- Brandon Aaron On 4/12/07, Karl Swedberg <[EMAIL PROTECTED]> wrote: On Apr 12, 2007, at 1:09 PM, Jeffrey Kretz

[jQuery] Re: How to add opacity to an element

2007-04-12 Thread Karl Swedberg
On Apr 12, 2007, at 1:09 PM, Jeffrey Kretz wrote: I’ve successfully used: $(element).css({opacity:0.5}); On IE6, IE7, FF1.5, FF2.0 and Opera9 (don’t have access to Safari at this time). Same has worked on FF2 and Safari for me. --Karl _ Karl Swedberg www.englishrules.c

[jQuery] Re: How to add opacity to an element

2007-04-12 Thread Jeffrey Kretz
I've successfully used: $(element).css({opacity:0.5}); On IE6, IE7, FF1.5, FF2.0 and Opera9 (don't have access to Safari at this time). JK From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joan Piedra Sent: Thursday, April 12, 2007 7:32 AM To: [EMAIL PROTECTED] Subject:

[jQuery] Re: How to add opacity to an element

2007-04-12 Thread Brandon Aaron
That should be working just fine. Which browser are you having problems with? Can you post an example of the issue you are having so we can investigate? -- Brandon Aaron On 4/12/07, Joan Piedra <[EMAIL PROTECTED]> wrote: Hey guys, Is there a crossbrowser jquery way to add opacity to an elemen

[jQuery] Re: How to add opacity to an element

2007-04-12 Thread Klaus Hartl
Joan Piedra schrieb: Hey guys, Is there a crossbrowser jquery way to add opacity to an element? I've tried with .css('opacity','0.5') and .animate({opacity:0.5},). Is there some documentation or workaround to achieve this? Regards However I thought the above would work as well, the follo