Re: [tw] visual confirmation of script button / label click

2010-12-20 Thread Alex Hough
For anyone else interested, i found this: http://www.joelonsoftware.com/items/2006/08/01.html Cool ALex On 20 December 2010 13:51, Alex Hough wrote: > Thanks FND, very helpful > > best wishes > > Alex > > > > > > On 20 December 2010 12:56, FND wrote: > >> > i don't understand the rationale be

Re: [tw] visual confirmation of script button / label click

2010-12-20 Thread Alex Hough
Thanks FND, very helpful best wishes Alex On 20 December 2010 12:56, FND wrote: > > i don't understand the rationale behind your code: [...] > > To me, the fadeOut value is set using a function which calls fadeIn. > > http://en.wikipedia.org/wiki/Callback_(computer_science) > > We're passin

Re: [tw] visual confirmation of script button / label click

2010-12-20 Thread FND
> i don't understand the rationale behind your code: [...] > To me, the fadeOut value is set using a function which calls fadeIn. http://en.wikipedia.org/wiki/Callback_(computer_science) We're passing in a function as an argument*. This function will be executed once (IOW deferred until) the fade

Re: [tw] visual confirmation of script button / label click

2010-12-20 Thread Alex Hough
FND, Maybe its an inappropriate place to bring up but, i don't understand the rationale behind your code: jQuery(place).fadeOut(function(ev) { jQuery(this).fadeIn(); }); To me, the fadeOut value is set using a function which calls fadeIn. Bizaario. How does it really work? Where do i

Re: [tw] visual confirmation of script button / label click

2010-12-19 Thread FND
> there's no visual indication that the script has run [...] is there > any way to "animate" the button/label clicking event? If I recall correctly, InlineJavascriptPlugin provides a "place" variable for the button - so you could do something like this: jQuery(place).fadeOut(function(ev) {

[tw] visual confirmation of script button / label click

2010-12-18 Thread Dave Parker
I have a script: code goes here that works just fine, except there's no visual indication that the script has run (it writes something to a remote tiddler). I don't want a message window opening that I'd have to click, but is there any way to "animate" the button/label clicking event? Maybe s