Thank you very much Jonathan! That's exactly what I was looking for!

Christopher

On Tue, Apr 20, 2010 at 11:33 AM, overett1 <[email protected]>wrote:

> > So how do I remove the "Options..." button/link?
> > Christopher
>
> Find the following lines in the plugin:
>
> body+=' <a href="javascript:;" onclick="';
> body+=' var e=this.parentNode.nextSibling;';
> body+=' var show=e.style.display!=\'block\';';
> body+=' if(!config.options.chkAnimate) e.style.display=show?\'block\':
> \'none\';';
> body+=' else anim.startAnimating(new Slider(e,show,false,\'none\'));';
> body+=' return false;">options...</a>';
>
> Comment them out by adding '//' at the start of each line. Save the
> changes, reload the wiki and the options button should be gone. A more
> flexible option would be to create a new config option (see the
> opening part of the plugin which sets up some options), and then wrap
> the above statements with an 'if' statement that checks the state of
> the config option. That way you can use AdvancedOptions to toggle the
> config option so that the Options... button shows/hides.
>
> Jonathan
>
> --
> 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]<tiddlywiki%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/tiddlywiki?hl=en.
>
>

-- 
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.

Reply via email to