For a lot of simple informational apps, the ability to update the page or the data on the page is key. As part of playing around with the Seattle Traffic page I've been digging in to this topic a little. The key issues I'm trying to determine are the following:
Background Research:
function imgReload()
{
img = document.getElementById('map');
img.src = 'http://images.wsdot.wa.gov/nwflow/flowmaps/bridges.gif?' +
Math.random();
}
setInterval('imgReload()', 500000);
This sets things to update every 5 min. The Math.random() piece is there to
ensure that the diagram actually gets updated.