Changeset 528 in tmcsimulator for trunk/webapps/visualizer/index.html


Ignore:
Timestamp:
11/19/2019 06:47:43 AM (6 years ago)
Author:
jdalbey
Message:

Visualizer - add Back button functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/webapps/visualizer/index.html

    r516 r528  
    4848    <button id="cmsButton" class="unstyled-button"><img id="cmsBtnImg" src="images/btnReady_CMS.png"></button>--> 
    4949    <button id="vdsButton" class="unstyled-button"><img id="vdsBtnImg" src="images/btnDepressed_VDS.png"></button> 
    50     <p id="time">Time</p> 
     50    <p id="time">00:00:00</p> 
    5151    <button id="start" >Beginning</button> 
    5252    <button id="forward" >Next</button> 
     53        <button id="backward" >Back</button> 
    5354    <script  src="../common/js/fileutils.js"></script> 
    5455    <script  src="../common/js/revision_number.dat"></script> 
     
    9596    var filters = []; //array to hold markers for visualizer 
    9697    var times = []; //array to hold times of each traffic event 
     98    times[0] = "00:00:00"; 
     99    var diff_arr = []; // array to hold difference in target markers 
    97100    var index = -1; //to index into above array 
    98101 
     
    154157 
    155158        updateVDSlayer(); 
     159        setTimeout(function() { 
     160            buildDiff(); 
     161            updateVDSlayer(); 
     162        }, 3000); 
    156163 
    157164        // Listen for zoom changes and move the vds dots so as to keep a nice 
Note: See TracChangeset for help on using the changeset viewer.