All
Simple HTML
To embed a FlightAware squawk box into a webpage, put the following code in your HTML:
<script src="http://embed.flightaware.com/squawks/squawkbox.js"></script>
The Javascript code will pull the referer URL from the browser to squawk and the FlightAware code will automatically appear and update.
Advanced HTML/JS
You can optionally override the URL and/or define the description
by setting variables using the following template, before invoking
the squawkbox.js code shown above.
Here's an example:
<script>
squawk_url='https://www.flightaware.com/live/flight/AAL1433/history/20060401/1414Z/KTPA/KDFW';
squawk_title="4/10/07 Flight of AAL1433";
</script>
<script src="http://embed.flightaware.com/squawks/squawkbox.js"></script>
squawk_url='https://www.flightaware.com/live/flight/AAL1433/history/20060401/1414Z/KTPA/KDFW';
squawk_title="4/10/07 Flight of AAL1433";
</script>
<script src="http://embed.flightaware.com/squawks/squawkbox.js"></script>
Login
Did you know that FlightAware flight tracking is supported by advertising?
You can help us keep FlightAware free by allowing ads from FlightAware.com. We work hard to keep our advertising relevant and unobtrusive to create a great experience. It's quick and easy to whitelist ads on FlightAware or please consider our premium accounts.