Now, a naive question, but anyway: if I use the facets to change the selection, the page is relatively quickly made. It takes much longer if I called the page again with the url and pass the parameter to modify the facets selections. I suppose it's because the page is made again from nothing on each call. Would it be possible to load the page on the first url and to have the same mecanism that is used in the facet selection with the second or third url ? Francois
On Mar 3, 10:53 am, Francois <[email protected]> wrote: > Yes, that was it. > I think this exhibit is slightly > quickerhttp://www.unifr.ch/dokpe/paperj/exhibit_new.html?fp_pub=Elsevier&val... > then > thishttp://www.unifr.ch/dokpe/paperj/exhibit.html?fp_pub=Elsevier&value=bad > > Thanks for the help > > Francois > > On Feb 28, 10:58 pm, David Huynh <[email protected]> wrote: > > > Francois wrote: > > >http://www.unifr.ch/dokpe/paperj/exhibit_new.html > > > .... no it does not work: > > > > in fact I hade autocreate instead of autoCreate and the page was > > > loaded twice (I think). > > > Now with autoCreate=false, it does not show anything. > > > > In debugging the script "jumps out" when reaching SimileAjax.jQuery > > > (document).ready(function() { ...} > > > > I try to follow this > > >http://static.simile.mit.edu/exhibit/api-2.0/scripts/create.js > > > > What am I missing ? > > > Have you tried not using jQuery(document).ready(...)? > > > So, just have > > > function setFilters() { > > var fDone = function() { ... } > > try { > > ... > > } > > > The reason, I believe, is that by the time <body>'s onload handler is > > executed, the document is already "ready", and no more "ready" event > > will be fired. > > > David --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
