If you put in a number, don't put it in a string - just leave it as a number.

.fadeOut(2000)

--John



On Fri, Feb 13, 2009 at 2:00 AM, matanich <[email protected]> wrote:
>
> I just started using jQuery and am having trouble getting the fade
> speed to work. It seems to always fade fast even if I set it to 'slow'
> or '999999999'. I have reprod in IE, Firefox, and Chrome. I am using
> jQuery v1.3.1 just downloaded today. Any ideas?
>
>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
> www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
> <html xmlns="http://www.w3.org/1999/xhtml";>
> <head>
>    <title></title>
>    <script src="js/jquery-1.3.1.js" type="text/javascript"></script>
>    <script type="text/javascript">
>        function fadeout(id) {
>            $('#' + id).fadeOut
> ('99999999999999999999999999999999999999999999');
>        }
>    </script>
> </head>
> <body>
>    <div>
>        <img id="testimg" src="error.jpg" onclick="javascript:fadeout
> (this.id);" />
>    </div>
> </body>
> </html>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to