On Tue, 2007-02-20 at 06:35 -0600, Robert Fant wrote:
> Is there a way (or going to be) to type in a year (timeframe) to get
> to a specific location (like a search) instead of scrolling?
> 
> My project is covering a 6(K) year span. 

Let me reply with some thoughts while other time zones are still
sleeping.....

I think you can do this now, at least we do it in Chisimba using PHP to
write the javascript. The simplest way would be to pass the focusDate in
the querystring, which is how we do it in Chisimba. I know how to do
this in PHP, but there must be a Javascript way to do it as well. 

SO you could loop to create a dropdown list of years, decades,
centuries, and then regenerate the page with that date passed in the
querystring. 

so the part that needs to be set is 

date:  

in the onLoad function where it calls the Timeline.createBandInfo
method.

So <a href="/path/to/thispage.html?focusDate=1900">1900</a>
So <a href="/path/to/thispage.html?focusDate=1910">1910</a>

could do it. Put a series of those in a dropdown, an you can select the
year or decade to set as the focus date for the timeline.

I can show you how to do it in PHP, but I do not know enough Javascript
to show you how to do it in JS. But I am sure someone else will!

regards
derek

All Email originating from UWC is covered by disclaimer 
http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm 
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to