Graham,

I was sort of thinking about this as well.  I changed the source to  
add a QUARTER_CENTURY time period (patch coming!), and thought that it  
was kinda a shame that the logic that I was adding wasn't more  
"extractable" and could be put in my actual app.  Since all I did was  
pretty much cut'n'paste the CENTURY logic...   Maybe something along  
the lines of how the icon and color coders work???   Of course, I am  
somewhat at my limits for JS fu here...

Eric

On Jan 1, 2009, at 10:27 PM, Graham Chiu wrote:

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

-----------------------------------------------------
Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 | 
http://www.opensourceconnections.com




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