@@ -27,14 +27,14 @@ and back on will do that)
2727
28283. 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
3434OPERATION
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
3838called and finds every display element, creating an array representing the
3939current position of the virtual "drum" containing all the possible characters
4040for 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
6161sprite images and vice-versa.
6262
6363The 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
6565so that the entire display has finished rendering before starting again.
6666
6767The 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()
7272functions in sf.chart.splitFlap.show()
7373
7474The 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
8282You can also use any external data sources (provided they return JSONp in the
8383same format as airport_schedule.php. Just modify sf.chart.dataUrl to include
0 commit comments