|
|
@ -38,6 +38,7 @@ |
|
|
|
<input type="button" id="zoomOut" value="Zoom out"/> |
|
|
|
<input type="button" id="moveLeft" value="Move left"/> |
|
|
|
<input type="button" id="moveRight" value="Move right"/> |
|
|
|
<input type="button" id="toggleRollingMode" value="toggleRollingMode"/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
@ -74,6 +75,8 @@ |
|
|
|
document.getElementById('zoomOut').onclick = function () { timeline.zoomOut( 0.2); }; |
|
|
|
document.getElementById('moveLeft').onclick = function () { move( 0.2); }; |
|
|
|
document.getElementById('moveRight').onclick = function () { move(-0.2); }; |
|
|
|
document.getElementById('toggleRollingMode').onclick = function () { timeline.toggleRollingMode() }; |
|
|
|
|
|
|
|
|
|
|
|
</script> |
|
|
|
</body> |
|
|
|