[jQuery] Re: Beginner help with highlight effect

2007-12-28 Thread rics
You are right! It works. I don't know what I was doing. Maybe some char missing on the selector... Thanks you all people. I'm doing amazing things with JQuery!!! :D It Rocks!!! On Dec 27, 11:06 am, Strija <[EMAIL PROTECTED]> wrote: > You must be doing something wrong, because this works grea

[jQuery] Re: Beginner help with highlight effect

2007-12-27 Thread Strija
You must be doing something wrong, because this works great: $("#admperm").show().css({backgroundColor: '#ff0'}).animate({backgroundColor: '#fff'}, 1000); On Dec 27, 11:24 am, rics <[EMAIL PROTECTED]> wrote: > I can't put it to work without the setTimeOut(). The solution I have > found was to us

[jQuery] Re: Beginner help with highlight effect

2007-12-27 Thread rics
I can't put it to work without the setTimeOut(). The solution I have found was to use setTimeOut without the time part. It works fine now... Look what I've done: $("#admperm").show(); setTimeout( function() { $('#admperm').css({backgroundColor: '#ff0'}); $('#admperm').animate({backgroun

[jQuery] Re: Beginner help with highlight effect

2007-12-26 Thread Karl Swedberg
Hi Rics, Glad it works for you. I used setTimeout() in the code that I sent to you, so I'm not sure why you're mentioning that you must use it. Are you using it somewhere other than the place where I'm using it? I put it in the callback of the fadeIn() method so that the element would st

[jQuery] Re: Beginner help with highlight effect

2007-12-26 Thread rics
>From there: "Only properties that take numeric values are supported (e.g. backgroundColor is not supported by animate())." But thanks anyway... Your tip helped me with a lot of other issues! :D Thanks!!! rics On Dec 24, 10:43 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > Check out this page

[jQuery] Re: Beginner help with highlight effect

2007-12-26 Thread rics
Yess : Now it works. But I must use setTimeOut(). Without it the effect didn't work. You know why? I couldn't find anything in JQuery docs about it and the plugin even have any docs. Oh, and by the way, my english is "understandable"? I'm brazilian and not very good with the

[jQuery] Re: Beginner help with highlight effect

2007-12-25 Thread Karl Swedberg
On Dec 24, 2007, at 11:35 AM, rics wrote: Hello, I'm a PHP developer, but all this javascript thing is new to me. It's the first time I try to do something with javascript and I'm using JQuery to help me do things fast (and best). I wish to make some highlight effect, but can't figure it ou

[jQuery] Re: Beginner help with highlight effect

2007-12-24 Thread Glen Lipka
Check out this page in the docs. http://docs.jquery.com/Effects/animate I am in the airport in Phoenix on public wifi, so I cant make a demo right this sec. But that page should help. Glen On Dec 24, 2007 8:35 AM, rics <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm a PHP developer, but all this