Skip to content

Commit e7c2831

Browse files
committed
let's use "arrivals.html" and "departures.html" to make things a bit clearer.
1 parent 6128f85 commit e7c2831

3 files changed

Lines changed: 703 additions & 7 deletions

File tree

‎README‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ and back on will do that)
2727

2828
3. Make sure data/airport_schedule.php is executable.
2929

30-
4. Navigate to airport.html in your web browser (preferably in full-screen mode
31-
--it's around 1400x850 at the moment).
30+
4. Navigate to arrivals.html (or departures.html) in your web browser (preferably
31+
in full-screen mode--it's around 1400x850 at the moment).
3232

3333

3434
OPERATION
3535
---------
3636

37-
When the browser finishes loading airport.html, sf.chart.splitFlap.init() is
37+
When the browser finishes loading arrivals.html, sf.chart.splitFlap.init() is
3838
called and finds every display element, creating an array representing the
3939
current position of the virtual "drum" containing all the possible characters
4040
for that element. It stores this array in the $.data() object for that element.
@@ -61,7 +61,7 @@ Of course, any size changes you make to the images must be reflected in the
6161
sprite images and vice-versa.
6262

6363
The display refresh interval and the data source url are set in the <script>
64-
block at the bottom of airport.html. Make sure this interval is set long enough
64+
block at the bottom of arrivals.html. Make sure this interval is set long enough
6565
so that the entire display has finished rendering before starting again.
6666

6767
The row refresh cascade interval is set in the setTimeout() function in
@@ -72,12 +72,12 @@ The individual elements' animation speed is set in the fadeIn() and fadeOut()
7272
functions in sf.chart.splitFlap.show()
7373

7474
The data type, sort criteria, and max number of results are set in the hiddin
75-
<input> elements in airport.html
75+
<input> elements in arrivals.html
7676

77-
/dataairport_schedule.php is just an example. Currently it's randomly setting
77+
/data/airport_schedule.php is just an example. Currently it's randomly setting
7878
/times for each flight to demonstrate the sorting function. Change it to fit
7979
/your needs, keeping in mind that if you add or remove values from each flight's
80-
/array you'll need to update your markup accordingly.
80+
array you'll need to update your markup accordingly.
8181

8282
You can also use any external data sources (provided they return JSONp in the
8383
same format as airport_schedule.php. Just modify sf.chart.dataUrl to include

0 commit comments

Comments
 (0)