Thank you, it helps.

Yours getting there* in a linear fashion,

Alex
*wherever that may be


2009/6/26 FND <f...@gmx.net>:
>
>> I'd like to change config.options.chkTopOfPageMode from true to false
>> when the tiddler closes.
>
> You'd probably wanna hijack* the closeTiddler command handler:
> ---------------
> (function() {
> var original = config.commands.closeTiddler.handler;
> config.commands.closeTiddler.handler = function(event, src, title) {
>     config.options.chkTopOfPageMode = !config.options.chkTopOfPageMode;
>     return original.apply(this, arguments);
> };
> })();
> ---------------
>
> HTH.
>
>
> -- F.
>
>
> * see the community wiki:
> http://tiddlywiki.org/wiki/Dev:Best_Practices#Extending_Core_Functionality
> http://tiddlywiki.org/wiki/Dev:Hijacking
>
> >
>



-- 
http://www.multiurl.com/g/64

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to TiddlyWikiDev@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywikidev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to