Hi Graham,

The problem with 

http://www.compkarori.com/timeline/timeline.html

is line 10, missing a comma at the end of the line.

Currently:

    {
       'start':"Sat May 20 1961 00:00:00 GMT-0600",
       'title':"'Bay of Pigs' Invasion" // missing a required comma, won't work 
anywhere
       'durationEvent':false,
     }, {

Needs a comma:

    {
       'start':"Sat May 20 1961 00:00:00 GMT-0600",
       'title':"'Bay of Pigs' Invasion",
       'durationEvent':false,  // this comma will stop it working in IE
     }, {

Best:


    {
       'start':"Sat May 20 1961 00:00:00 GMT-0600",
       'title':"'Bay of Pigs' Invasion",
       'durationEvent':false
     }, {






________________________________
From: Graham Chiu <[email protected]>
To: [email protected]
Sent: Sunday, December 28, 2008 1:40:24 AM
Subject: Re: Newbie json question


Hi Larry

I tried to do the first suggestion cobbling bits of various scripts
together but I can't get it to work

http://www.compkarori.com/timeline/timeline.html

with a blank display

On Sun, Dec 28, 2008 at 2:31 PM, Larry Kluger <[email protected]> wrote:
> Hi GChiu,
>
> It is possible to include the data in the html file.
> Just include it, then
>
>     eventSource.loadJSON(timeline_data, json_url); // load the events
>
> where timeline_data is the event data.
> json_url is the base url that should be used with the icon and wiki url
> references, if any, in the data.
>

-- 
Graham Chiu


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