[TW5] [Node] How to add a javascript at main page in node (chat)

41 views
Skip to first unread message

Daniel G

unread,
May 27, 2019, 3:07:39 PM5/27/19
to TiddlyWikiDev
Hi!

I'm trying to add a javascript at main page that opens a chat window at the bottom and maintain all time while the page is opened, but in node. In the single file option I just added my javascript before the \body tag and works well, but in node I really don't know how to do it.

I tried a lot of ways and with various tags but without sucess.

Anybody can help me? (I'm a noob in tiddlywiki)

BJ

unread,
May 27, 2019, 4:49:09 PM5/27/19
to TiddlyWikiDev
HI Daniel,
the html page is created using the template
$:/core/templates/tiddlywiki5.html
(location of file is at core\templates\tiddlywiki5.html.tid)

so you could add you stuff in there I guess....

all the best

BJ

Daniel G

unread,
May 27, 2019, 5:10:43 PM5/27/19
to TiddlyWikiDev
BJ, thank you so much! 

I didn't know that html were there LOL 

TonyM

unread,
May 27, 2019, 9:20:21 PM5/27/19
to TiddlyWikiDev
Gentlemen

Even easier any tiddler tagged  $:/tags/RawMarkup will have its contents automatically placed just before the </head> tag in the saved file.

Regards
Tony
Reply all
Reply to author
Forward
0 new messages