Hello Robert, I gave it a try with your testcase. It seems not to work. The mainmenu is visible on a local system and on the webverion. The only thing that is different is that the local version requests almost every click a conformation to proceed as a possible unsafe script is going to be executed. I use FF3.5.13 and openSuse 11.
Have a nice day, Okido On 10月8日, 午後6:24, rakugo <jdlrob...@gmail.com> wrote: > Great. Glad that helped. > TiddlySpace uses a similar thing on the frontpage to hide controls for > non-members/non-logged in users. > > Obviously if you disable styles in your browser the content reappears > but it is a good trick for hiding content for every day > users.http://frontpage.tiddlyspace.com/#AuthenticationCssPlugin > > Jon > > On 8 Oct, 15:53, Robert Pollard <ecology2...@gmail.com> wrote: > > > Jon > > > Thanks. That was simple, and does just what I need. I've updated the page > > athttp://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.