Kris,

I think you've already got most of it working with those links below the 
timeline. Now it's a matter of adding a textbox and a button

    <input type="text" id="date-textbox"></input> <button 
onclick="centerTimeline(document.getElementById('date-textbox').value);">Go</button>

If you want the timeline to scroll smoothly instead of jump to the date, 
use scrollToCenter instead of setCenterVisibleDate.

David

Kris Thomas-Vander Lugt wrote:
> Hi!
>
> I am a teacher rather inexperienced in web design looking to 
> incorporate Simile Timeline in a course I'm teaching online about 
> German literature.  We've created the basic timeline and added events, 
> but we're finding it difficult to scroll through decades or centuries 
> of events in the top band.  Is there some way to add a search box that 
> would allow users to enter the year they want to go to and have that 
> time period show up? ( i.e. "Go to 2007" and have it automatically 
> scroll forward from the timeline's starting point, which is currently 
> somewhere around 1700, to 2007)
>
> Our very crude draft can be located at:
>
> http://www.public.iastate.edu/~ktvl/timeline/timeline.html 
> <http://www.public.iastate.edu/%7Ektvl/timeline/timeline.html>
>
> Thanks!
> Kris
> -- 
> Kristin T. Vander Lugt
>
> Assistant Professor of German Studies
> Iowa State University
> Department of World Languages and Cultures
> 3102 Pearson Hall
> Ames, IA 50011
>
> Departmental Website:  http://www.language.iastate.edu/
>
> Phone:  (515) 294-2759
> Fax:  (515) 294-9914
> Email:   [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> ------------------------------------------------------------------------
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>   

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to