Hi,

Thanks, but the events were still missing. I've found the issue though
- just a dumb typo. Webdeveloper on Firefox wasn't properly catching
the error (it was saying "invalid 'in' operand F). Anyway, the typo -
instead of:

timeplot.loadXML("events.xml", eventSource2);

I had:

timeplot.loadXML("events.xml", ",", eventSource2);

with the errant "," parameter copied over from the

timeplot.loadText("events.csv", ",", eventSource2); call.

I have the corrected code at:

http://ffatsatina.com/test/test2.html

Annoyingly though, Chrome does not seem to want to use the lineColor
of the event so you have to hover over it to see it. Whereas firefox
does show it.

Chrome (5.0.375.127): http://imagebin.ca/view/fVKvzG.html

Firefox (3.5.11): http://imagebin.ca/view/lQM8jB.html

Many thanks for your help.
Cheers,
Steve


On 1 September 2010 13:55, Jakob Fix <[email protected]> wrote:
>
> Hi Steve,
>
> it shows OK for me, even though there are two errors displayed in the
> javascript debugger, in the simile-ajax-bundle.js file. you have
> cleared your cache?
>
> see here: http://imagebin.ca/view/ktPwQM7s.html
>
> cheers,
> Jakob.
>
>
>
> On Wed, Sep 1, 2010 at 02:26, SteveO <[email protected]> wrote:
> > Thanks - my mistake but the issue is still there. The actual code is
> > PHP driven but I (unsuccessfully) stripped it down to simple HTML to
> > set up the example.
> >
> > I've put in static max values so the code should be clean now. I would
> > really appreciate it if you could have a look again?
> >
> > Thanks,
> > Steve
> >
> > On Aug 31, 5:47 pm, Jakob Fix <[email protected]> wrote:
> >> Hi Steve,
> >>
> >> you've got non-interpreted php tags in the code of test.html (where
> >> you're calculating a max value) on line 19 and 23, says Chrome's
> >> javascript debugger.
> >>
> >> Once you've fixed these problems, you may get better results already.
> >>
> >> cheers,
> >> Jakob.
> >>
> >> On Tue, Aug 31, 2010 at 17:16, Steve Cox <[email protected]> wrote:
> >> > Hi,
> >>
> >> > I've been following the timeplot tutorial here:
> >>
> >> >http://www.simile-widgets.org/timeplot/docs/
> >>
> >> > But cannot accomplish the final step of getting the timeline events to
> >> > appear. There is an occasional js error but that seems to apply to error
> >> > handling code so I can't really see what's going on.
> >>
> >> > I'm using firefox 3.5.11.
> >>
> >> > I've set up a very simple example is someone could be good enough to 
> >> > check
> >> > out what I may have done wrong. The main page is:
> >>
> >> >http://92.48.117.50/~ffatsati/test/test.html
> >>
> >> > and the timeplot and event files are respectively:
> >>
> >> >http://92.48.117.50/~ffatsati/test/test.csv
> >>
> >> > and
> >>
> >> >http://92.48.117.50/~ffatsati/test/test.xml
> >>
> >> > Many thanks for your consideration.
> >>
> >> > --
> >> > 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.
> >
> > --
> > 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.
> >
> >
>
> --
> 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.
>

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