[Proto-Scripty] Re: Scriptaculous callback function parameters

2009-09-14 Thread mau
Thank you very much Rick for your contribution! Best regards On Sep 9, 3:17 pm, Rick Waldron wrote: > You want to use either function#call() or function#apply > Definitions (fromhttps://developer.mozilla.org/) > > function#call(): > Calls a function with a given *this *value and *arguments

[Proto-Scripty] Re: Scriptaculous callback function parameters

2009-09-09 Thread Rick Waldron
You want to use either function#call() or function#apply Definitions (from https://developer.mozilla.org/) function#call(): Calls a function with a given *this *value and *arguments * provided individually. $('aDiv').morph('background:#00ff00; width:300px;', { afterFinish:callExample.ca