Hi all,

I'm a little (a lot actually) rusty with my TW and JavaScript programming 
and I'm wondering if anyone can help me get started with this issue.

I'm wanting to update my mobile version of 
TW<http://www.box.net/shared/ojkt3uuga4>for use with 
TWmobile/TWedit <https://groups.google.com/forum/#%21forum/twmobileapp>.

When running on a restricted screen, the default behaviour of TW - to 
display the edit textarea in-line is not very helpful as scrolling becomes 
difficult. To get round this, I'd like to "focus" in on the single tiddler 
being edited and only show the textarea with the associated title, tags and 
command buttons.

The easiest way to do this would seem to me to be to HIDE all of the other 
display elements, this is fairly easy to do with JavaScript, especially with 
a little JQuery magic.

But to achieve this, I need to trigger some code on certain events:

   1. When a tiddler is edited
   2. When the edit is saved
   3. When the edit is cancelled

For 1 I would hide everything except the absolutely required elements & for 
2 & 3 turn them back on.

My question is - what is the best method to do the triggers?

Any help gratefully received,

Regards, Julian Knight.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to