Mark, There's a trick at the bottom of http://api.simile-widgets.org/exhibit/2.2.0/scripts/ui/widgets/collection-summary-widget.js
David On Mon, Oct 12, 2009 at 3:31 PM, mleden <[email protected]> wrote: > > Thanks Niels that works beautifully. One related issue, how do I > invoke the "Working..." message during this (or any other) prolonged > call? > > Cheers, > -Mark > > > On Oct 12, 12:35 pm, Niels Mayer <[email protected]> wrote: > > On Mon, Oct 12, 2009 at 12:27 PM, mleden <[email protected]> wrote: > > > > I'd like to have my own link to reset ("clear") all of the filters > > displayed on my Exhibit page. Is there a simple way to do that? > > > > For each facet of id/name "id-name-of-facet" > > > > var fct = exhibit.getComponent("id-name-of-facet"); > > if (fct.hasRestrictions()) { > > fct.clearAllRestrictions(); > > } > > > > Text search facets will also need to be cleared independently... > > > > Nielshttp://nielsmayer.com > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" 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/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
