Added link to FlightStats for flights with flight number.
modified: public_html/script.js modified: public_html/style.css
This commit is contained in:
parent
e1a06656d5
commit
9e8c1053bd
|
@ -103,7 +103,13 @@ function refreshSelectedInfo() {
|
|||
}
|
||||
|
||||
var html = '<table id="selectedinfo">';
|
||||
html += '<tr><td colspan=2><b>'+p.flight+' </b></td></tr>';
|
||||
if (p.flight != "") {
|
||||
html += '<tr><td colspan=2><b>'+p.flight+' </b>';
|
||||
html += '[<a href="http://www.flightstats.com/go/FlightStatus/flightStatusByFlight.do?';
|
||||
html += 'flightNumber='+p.flight+'" target="_blank">FlightStats</a>]</td></tr>';
|
||||
} else {
|
||||
html += '<tr><td colspan=2><b> </b></td></tr>';
|
||||
}
|
||||
html += '<tr><td>ICAO:</td><td>'+p.hex+'</td></tr>';
|
||||
if (p.squawk != "0000") {
|
||||
html += '<tr><td>Squawk:</td><td>'+p.squawk+'</td></tr>';
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
html { height: 100% }
|
||||
html { height: 100%; }
|
||||
body { height: 100%; margin: 0; padding: 0; font-size: small;}
|
||||
a { color: blue; }
|
||||
#map_canvas {
|
||||
height: 100%;
|
||||
margin-right:390px;
|
||||
|
|
Loading…
Reference in a new issue