> If you just want to dynamically load JavaScript files, try the following:
> var filePath = "..."; // relative or absolute URI
> jQuery('<script type="text/javascript">').attr("src", filePath).
> appendTo(document.body);
>
<<tiddler {{
var filePath = "js/TiddlerTweakerPlugin.js"; // relative or absolute
URI
jQuery('<script type="text/javascript">').attr("src", filePath).
appendTo(document.body);
'';}}>><<tiddlerTweaker>>
works perfect!
how would a switch for toggling StyleSheets look like?
regards..
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---