On May 8, 12:08 pm, PMario <pmari...@gmail.com> wrote:
> Did you try this:
>
> <script> if (!readOnly) { return "<<slider chkSliderOptionsPanel
> OptionsPanel
> [[options »]] [[Change TiddlyWiki advanced options]]>>"; }</script>
>
> see the {..}

I don't think the {..} makes any difference, since the return is just
a single statement.

> Which tiddler contains this script ?
I'm guessing it's a modified version of SidebarOptions, which normally
just embeds the "options>>" slider button/panel directly in the
sidebar.  By using this inline script, the button and panel are not
created unless the document is editable, thus preventing someone who
is viewing the document from changing any of the options that are
normally available in the sidebar panel.

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlywiki@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