I've searched this as thoroughly as I can, but I am not able to get this 
seemingly simple function to work on my timeline. 

I'm trying to use a link to jump to a specific date in the timeline, using:

        var tl;
        tl = Timeline.create(document.getElementById("tl"));
        function centerTimeline(date) {
       
 
tl.getBand(0).setCenterVisibleDate(Timeline.DateTime.parseGregorianDateTime(date));
         } 

which is called by (for example):

       <a href="javascript:centerTimeline(1980);">1980</a>



My JS skills are pretty low, but I've seen this used several different 
times with small variations, but I can't seem to get it to work.

I'm using 3.1.0rc3, and I'm suspecting that it might be due to a language 
change? (I've also tried replacing 'Timeline' with 'Exhibit.Timeline...' 
and 'Exhibiti.TimeExtension...')

http://dolearchivecollections.ku.edu/collections/vip_letters/vipletters.html 


Thanks for any help!

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/d/optout.

Reply via email to