On Thu, Apr 24, 2008 at 10:54 AM, Geuintoo <[EMAIL PROTECTED]> wrote: > this.hideNavi().delay(5000); > this.hideNavi().bind(this).delay(5000);
Yes, those won't work. You are invoking the function and then trying to call delay on the invoked function.. no go. Try: this.hideNavi.delay(5) Note the lack of parenthesis on your function name (we don't want to invoke it). Also note that the parameter you pass to the delay method is in SECONDS, not milliseconds. -justin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---