Hi Larry

Nearly, but not quite.  The available time units vary by factors so
for a 10 year old, then a YEAR time period  would be fine, but for a
20 year old, I would want a 2YEAR time period so that it all sits onto
one page.  So, a 30 year old would need a 3YEAR time period and so
forth.  But this means modifying the server side javascript as far as
I can tell.

On Fri, Jan 2, 2009 at 4:09 PM, Larry Kluger <[email protected]> wrote:
>
> Hi Graham,
>
> If I'm understanding you correctly, you want your Timelines to use units of
> hours for very young patients, then units of days, weeks, years, decades, as
> the patient ages. Yes?
...

> Just do some browser side analysis of the events before creating the
> Timeline and loading the events. I do this for my project.
> Or you could do the analysis on the server, but why bother doing that when
> the browsers have perfectly good computers at their disposal.

Yes, I can do this all in my main program before generating the
javascript so I don't even need to do it in the browser - somewhat
necessary since I know very little js!

I am currently generating the html/js with embedded json data and
viewing the page using a embedded web server.

-- 
Graham Chiu
http://www.synapsedirect.com
Synapse - the use from anywhere EMR.

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