Re: Iconize weather info and something else
Brought to you by:
iridium
From: Martin G. <gim...@gi...> - 2002-02-09 14:02:25
|
Kristian Kristensen <zi...@zi...> writes: > Regarding the javascript... > > You could include some javascript file that outputs the metar > information you're interested in. This javascript file would be a php > file that outputs javascript, eg. a string called 'metar' that contains > the metar information you would like to write on your page. > When the original page loads you check if 'metar' contains something or > not. If i does you output the metar otherwise your write 'Retriving > metar... Please wait' And what do we do, when we get tired of waiting? :-) We have to detect when the metar is loaded, but how do we propagate that information from the server out to the client? > This should work, but I haven't tried it :-) Neither have I, as I don't know JavaScript... -- Martin Geisler My GnuPG Key: 0xF7F6B57B See my homepage at http://www.gimpster.com/ for: PHP Weather => Shows the current weather on your webpage. PHP Shell => A telnet-connection (almost :-) in a PHP page. |