I'm not sure whether embedding javascript data possible, but Johan 
Sundstrom demoed placing the data inside an html TABLE in the main page:
http://ecmanaut.googlepages.com/choir-events.html
I've always thought this is a really great idea, as it completely solves 
the problem of non-js browsers and also of google indexing the exhibits. 

Although it worked well in the past, it appears not to be running at the 
moment.  But if you look in the source you can see all the exhibit bits 
are still there.  I'm not sure what Johan's plans for it are.

-David


Eric wrote:
> Is it possible to add/load data sets "directly" (i.e. rather than a
> separate linked JSON file or other source)?  Instead of having for
> example:
>
> <link href="nobelists.js" type="application/json" rel="exhibit/data"/>
>
> I would like to be able to do something along the lines of:
>
> <script>
> var data = { "items" : [ {   label :                 "Burton Richter",
>             discipline :            "Physics",
>             shared :                "yes",
>          } ] };
>
> Exhibit.load(data);
> </script>
> >
>   

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