[tw] Re: InlineJavascriptPlugin wiring up event handlers

2008-11-12 Thread Eric Shulman
The value of 'place' is correct *during* the processing of the script.../script block.  However, once that script has been completed, the value of place is no longer in scope. Now - please bare with me here... I'm trying to get my head around the scoping issues I'm seeing.  Going back to

[tw] Re: InlineJavascriptPlugin wiring up event handlers

2008-11-12 Thread Eric Shulman
errata: .. a completely different variable, that does point to the 'containing tiddler' as described by the plugin documentation. Should read: .. a completely different variable, that does NOT point to the 'containing tiddler' as described by the plugin documentation. -e

[tw] Re: InlineJavascriptPlugin wiring up event handlers

2008-11-12 Thread Ruzz
Eric - I'm really not trying to test your patience... I'm just trying to understand. Before I wade in below, I came up with a simple test to prove your theory - I can confirm that your place is fine and works as expected, thus: script alert(story.findContainingTiddler(place).id); // always

[tw] Re: InlineJavascriptPlugin wiring up event handlers

2008-11-12 Thread Eric Shulman
html   span class=button onclick=MyFunction()Click Me/span /html script function MyFunction() {   alert(Clicked!); } InlineJavascriptPlugin directly supports creation of 'onclick' handlers without resorting to HTML to create a link that invokes a separately defined function. Thus, the

[tw] Unable to use ContactInfoPlugin

2008-11-12 Thread David Sevilla
Hi, After finding this plugin (http://macrolinz.com/macrolinz/tiddlyware/ MacroLinz.html), I decided to use it for my own address book. But I have tried to install it a few times and it never works. I have tried to install it over a new MPTW and also over a new TW, both by copying the content of

[tw] Re: InlineJavascriptPlugin wiring up event handlers

2008-11-12 Thread Ruzz
On Nov 11, 1:14 am, Eric Shulman [EMAIL PROTECTED] wrote: In MyTiddler, I have: Because InlineJavascriptPlugin invokes uses eval() to invoke javascript 'on-the-fly', any function declared via an inline script is only available within the scope of that call to eval().  However, you can

[tw] Re: InlineJavascriptPlugin wiring up event handlers

2008-11-12 Thread Eric Shulman
use an explicitly-scoped function declaration to add your functions to the global window object, which allows them to persist even after the eval() processing has completed. Thanks Eric - that's enabled me to get a lot further.  However, now I'm having a little problem with... access

[tw] Re: TiddlyDu2 - changing the left menu items

2008-11-12 Thread Eric Shulman
In TW2.41, there is a tiddler that shows up in the right side menu under the 'All' list called MainMenu that would be updated. What do I change in TD2? You can find [[MainMenu]] in the MoreShadowed tab. For more info about shadow tiddlers, see:

[tw] Re: InlineJavascriptPlugin wiring up event handlers

2008-11-12 Thread Ruzz
On Nov 12, 12:21 pm, Eric Shulman [EMAIL PROTECTED] wrote: use an explicitly-scoped function declaration to add your functions to the global window object, which allows them to persist even after the eval() processing has completed. Thanks Eric - that's enabled me to get a lot

[tw] Re: TiddlyDu2 - changing the left menu items

2008-11-12 Thread AlanBCohen
Thanks again, Eric. Should anyone want to follow my path on this, there is one other thing to look for TiddlyDu2; the author also uses the tag 'ExcludeLists' to hide additional critical tiddlers, like the one that actually lists the available types of contacts. To see a list of these tiddlers

[tw] Re: TiddlyDu2 - changing the left menu items

2008-11-12 Thread Dave Gifford - http://www.giffmex.org/
Thanks Alan for your interest in TiddlyDu2, and thanks Eric for helping him out. I have kind of moved on from TiddlyDu2, since I have found Simon Baird's MonkeyGTD alpha to be more helpful. Blessings, Dave --~--~-~--~~~---~--~~ You received this message because

[tw] Re: Fonts keep getting smaller?

2008-11-12 Thread [EMAIL PROTECTED]
I found that i forgot to close a superscript string. Thanks. On Nov 13, 5:44 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On each of my tiddlers, as i add more content, the fonts seem to get smaller and smaller. Why is this so? and what can i do to stop this? Thanks in advance

Use of TiddlyLock Plugin in monkeyGTD

2008-11-12 Thread Jordi Ballester Alomar
Hello, I have started to test using the monkeyGTD to process actions for my team. We act as 'one' with respect to other teams in a project, and so I considered that the GTD method should apply. We put the html in a shared folder. After some use, we realized that we could not make changes

[tw] Fonts keep getting smaller?

2008-11-12 Thread [EMAIL PROTECTED]
On each of my tiddlers, as i add more content, the fonts seem to get smaller and smaller. Why is this so? and what can i do to stop this? Thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki