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

Reply via email to