Sorry I had & in the url instead of ?... The function take the parameters from the url and set the selection in the facets accordingly for example : http://www.unifr.ch/dokpe/paperj/exhibit.html?fp_pub=Elsevier. The names of the parameters are the id of the facets and the values are used to select the data.
Now I still have a question: is it possible to set the selection(s) in the facet(s) before loading all the data ? For the moment, all the lines are loaded and after the selection is done. The code that set the selection can be seen in the header of the page above. By the way it would had help if the doc has said that the calledback function has to be placed in the header before the call to url Francois On Feb 12, 3:52 pm, Francois <[email protected]> wrote: > Hi > When I use exhibit set up from my box, with that url > <script src="http://127.0.0.1:8888/exhibit/api/exhibit-api.js? > callback=setFilters" type="text/javascript"></script> > > the function setFilters is called. > > with the url <script src="http://static.simile.mit.edu/exhibit/ > api-2.0/exhibit-api.js&callback=setFilters" type="text/javascript"></ > script> > > nothing happen and the exhibit is not build. What am'I missing ? > > Francois --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
