Great Eric! - Exact what I was looking for, it works like a champ!
Michael

On 19 Okt., 03:59, Eric Shulman <[email protected]> wrote:
> > does anybody know how I can clear the breadcrumbs without reloading
> > the entire TW - I use Eric's BreadcrumbsPlugin.
>
> Try this:
>
> <script label="clear crumbs">
>         config.macros.breadcrumbs.crumbs = [];
>         var crumbAreas=config.macros.breadcrumbs.getAreas();
>         for (var i=0; i<crumbAreas.length; i++)
>             crumbAreas[i].style.display = "none";
> </script>
>
> The first line discards the list of breadcrumbs
> the 2nd line gets the breadcrumbs display element(s) (there can be
> multiple displays)
> so that the 3rd/4th lines can hide them
>
> enjoy,
> -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.

Reply via email to