Hi Robert,

The problem is that the amount of "Time" shown on an html page is not a 
constant since HotZones (areas of different t-axis resolution), may or may not 
be present on the page. 

I suggest that you:
a) get the band object for the band with the lowest t-axis (time axis) 
resolution.

b) For the page back button:
call band.getMinVisibleDate
then call band.setMaxVisibleDate to that date.
Result: you move the timeline to the left.

c) For page forward button:
call band.getMaxVisibleDate
then call band.setMinVisibleDateto that date.
Result: you move the timeline to the right.

Hope this helped,  (let us know)

Larry





________________________________
From: "[email protected]" <[email protected]>
To: SIMILE Widgets <[email protected]>
Sent: Thursday, January 29, 2009 5:02:49 AM
Subject: Moving The Timeline Page By Page


What Javascript function would I call in order to scroll the timeline
right or left by a full page?  The "Moving the Timeline via
Javascript" wiki page is very helpful for jumping to a specific date,
but I need to add "Back" and "Next" buttons for my site that will
scroll the page left or right by a full page (i.e. visible region).


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