Bruce,

Could you try replacing

Exhibit.ExhibitJSONImporter.load(href="ComputerHistory.js", 
window.database, onDone);

with

Exhibit.ExhibitJSONImporter.load("ComputerHistory.js", window.database, 
fDone);

David


Bruce Robertson wrote:
> Could you be more specific or post a working example?
> As I understand it the object was to remove the link in the head of
> the document, then at the end of the document modify per your
> instructions.
>
> But that doesn't work for me.
> See:
>
> http://homepage.mac.com/bfr/george_adams/ComputerHistory2.htm
>
> This unmodified version works:
>
> http://homepage.mac.com/bfr/george_adams/ComputerHistory.htm
>
> On Feb 18, 2:39 pm, David Huynh <[email protected]> wrote:
>   
>> George,
>>
>> Instead of
>>     window.database.loadDatalinks(onDone);
>> you can try
>>     Exhibit.ExhibitJSONImporter.load(dataUrl, window.database, onDone);
>> David
>>
>> George Adams wrote:
>>     
>>> David,
>>> Those files worked just fine on the Mac with Firefox 3. I did notice
>>> that the json file is still being loaded in the <head>
>>> <link type="application/json" rel="exhibit/data"
>>> href="ComputerHistory.js">
>>>       
>>> The timeline doesn't display if this is in the <body>
>>> Is there a SimileAjax.includeJSONFiles like the
>>> SimileAjax.includeJavascriptFiles for the JSON file?
>>>       
>>> Where is the documentation for the javaScript functions so I can look
>>> up some of this stuff myself?
>>>       
>>> On Wed, Feb 18, 2009 at 1:38 PM, David Huynh <[email protected]
>>> <mailto:[email protected]>> wrote:
>>>       
>>>     George Adams wrote:
>>>     > Looks like the HTML file was not attached or was put in line
>>>     with the
>>>     > message and was messed up. Can you zip it and attach it or
>>>     change the
>>>     > extension and try again.
>>>     Oops, zipped and reattached.
>>>       
>>>     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