Jon

Thanks. That was simple, and does just what I need. I've updated the page at
http://www.digital-bridges.net/themes.htm

Robert


On Fri, Oct 8, 2010 at 3:22 AM, rakugo <jdlrob...@gmail.com> wrote:

> Rather than create a new theme just for this why not do
>
> if(window.location.protocol =="file:") {
>  jQuery("body").addClass("fileMode");
> } else {
> jQuery("body").addClass("onlineMode");
> }
>
> Now in your theme you can put specific rules for each theme.
> e.g.
> .onlineMode #sideBarTabs {
>  display: none;
> }
> will hide the SideBarTabs for online users.
> This would be much more flexible and easier than maintaining 2 themes.
>
> Jon
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to