Is it possible to integrate JS-code into TiddlyWiki?

871 views
Skip to first unread message

Jens

unread,
Feb 22, 2007, 2:08:14 PM2/22/07
to TiddlyWiki
Hello!

I am using TiddlyWiki at work to reach all important information with
only some clicks.

Now I want to know if it is possible to integrate JavaScript into a
tiddler, because I want to have some sort of time calculator (I want
to enter a specific time and the script should say me how late it is
nine hours later; including lunch break and so on) in a tiddler.

Is it possible to include such JS-code into a tiddler or will this
crash my TiddlyWiki, because TiddlyWiki is made with JS, too?

Bye, Jens

FND

unread,
Feb 22, 2007, 2:33:26 PM2/22/07
to Tiddl...@googlegroups.com
> Now I want to know if it is possible to integrate JavaScript into a
> tiddler

There's a plugin for that; I believe it's called InlineJavascript - look
it up at TiddlyTools.com...

HTH.


-- F.

dawn ahukanna

unread,
Feb 22, 2007, 2:35:09 PM2/22/07
to Tiddl...@googlegroups.com
if you are using TW 2.1.3, you could include your JS in the  MarkupPostHead  shadow tiddler. This gets inserted just before the </head> tag.
Or,  for any TW version, you could put your code into a TW macro which can then be inserted in any tiddlers by using <<[MACRO_NAME]>> e.g. <<version>>.

HTH,
Dawn.
--
http://dahukanna.net
Reply all
Reply to author
Forward
0 new messages