Hi Eric, I would suggest to use a dedicated class for each link/button and then some simple jquery to adjust text and tooltip for all of them at once.
tb. On 1 Jan., 20:27, Eric Shulman <[email protected]> wrote: > > I have BreadcrumbsPlugin, CoreTweaks, SinglePageModePlugin, > > ToggleLeftSidebar, and ToggleRightSidebar installed. I have the > > ToggleRightSidebar tiddler added in the ToolbarCommands (actually in > > the more section). And I have another ToggleRightSidebar tiddler at > > the top of the SideBarOptions with a warning to stay out unless you > > know what your doing. > > > My problem is when I open the RightSidebar the ToggleRightSidebar > > tiddler's icon and tooltip both display show rightside bar instead of > > hide rightside bar although in preforms the hide function properly. > > Any suggestions would be appreciated. > > Larry > > The icon (actually a single character arrow) and tooltip are set when > the command link is rendered, and is then toggled when the link is > clicked. You have placed multiple ToggleRightSidebar command links in > your document: one in each tiddler toolbar, and one in the right > sidebar itself. Clicking a ToggleRightSidebar command only changes > the icon/tooltip for *that* link. Note that showing the sidebar > doesn't actually re-render it's content, it just shows the hidden > sidebar DIV that was rendered at startup. Thus, the > ToggleRightSidebar command in the sidebar itself initially displays > the "show sidebar" icon/tip, even though the sidebar is now visible. > Fortunately, the actual handling of the click on the command link DOES > check the current visibility, and thus toggles it correctly, even > thought the icon/tip don't appear as expected. > > I need to think about this a bit to come up with a reasonable solution > that doesn't double/triple the current code size just to sync the > command link appearance. > > -e -- 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.

