> My TW seems to remember the state of the backstage area on closing the > TW so if the backstage area is visible at close it becomes visible > when opened. I'd like a way to automatically close it at the point of > loading the TW. Similarly I'd like the right hand tabs to revert to > the timeline irrespective of what was showing when the TW closed.
Most TW settings are stored as browser-based cookies. When TW starts up, it first loads the cookie values into the config.options [...cookiename...] internal variables. Then, the core fires off any plugins that are present in the document. A plugin is really just a regular tiddler, tagged with 'systemConfig' (so the core can find it during startup), containing javascript code... and that code can pretty much do whatever you need to. In this particular case, you want to create a tiny 'plugin' that just overrides a few cookie-based internal values. I like to call this tiddler [[CookieJar]]... config.options["txtMainTab"]="Timeline"; config.options["chkBackstage"]=false; These values will be assigned each time the TW document is loaded, effectively ignoring the cookie-based values (if any). 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 -~----------~----~----~----~------~----~------~--~---

