I'd like to contribute some mods which I've developed to support
heredocs for use
with timeline and exhibit. Examples below.

Could I get someone to add me into the project - I'm a newbie on
Google projects.

Also have a second group of mods to facilitate the use of data which
is in a JSON
variable and so has already been compiled by the browser's Javascript
engine - instead
of having to be "eval-d" after the loadXXX() function invokes the
callback.

The heredoc mod lets you place the data for the timeline or exhibit
display within the HTML of the page.
This means you can have a web-server generate simile-widget displays
from uploaded data and
the simile-widget page becomes "standalone" (except of course for the
simile js scripts).

For example:

1: heredoc for Timeline

<script>
...
Timeline.loadXML("#mydata", ...);
</script>
...
<xml id="mydata">
<data>
 <event ... />
  ...
</data>
</xml>


2: heredoc for Exhibit:
...
<link href="#mydata" type="application/json" rel="exhibit/data" />
...
<div id="mydata" style="display:none;">
{ items : [ ... ]  }
</div>

(the code handles INPUT, TEXTAREA, DIVs, IE's <XML> elements etc.)


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