> but for that I'll need to find a way to include or exclude content
> from the layout based on the browser. Does anyone know a efficient way
> of doing this within TiddlyWiki?

Create alternative templates and stylesheets as needed for different
platforms.

Then define a set of 'systemTheme'-tagged tiddlers that reference the
appropriate combinations of templates and stylesheets.

Then, create a small 'systemConfig'-tagged tiddler with a little bit
of javascript code, to set the desired theme at startup, like this:

if (... test for a specific browser...)
   config.options.txtTheme = "ThisBrowserTheme";
else if (... test for another browser...)
   config.options.txtTheme = "OtherBrowserTheme";
else if (... test for yet another browser...)
   config.options.txtTheme = "ThirdBrowserTheme";

etc.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

-- 
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