On Friday, March 14, 2014 8:01:56 PM UTC-7, skye riquelme wrote:
>
> But I want is that these theme changes happen as a result of javascript 
> commands, not user selecting a button. For example a user clicks a link 
> that opens a wide iframe to read a document...so the javascript under that 
> click needs to activate the "wideIframe" theme, and them open the selected 
> document. Later the user may select a research topic, so the javascript 
> opens the "researchTheme" (which has a main topic and a side list of 
> references) and then opens the selected topic....etc.
>

Even without any plugin, you can use the TWCore function, 
story.switchTheme(), to set the theme AND automatically trigger a refresh:

   <script>story.switchTheme("NameOfTheme");</script>

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
   http://TiddlyTools.github.com/fundraising.html#MakeADonation

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
   http://www.TiddlyTools.com/#Contact




-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to