Page 2 of 2
Re: HTML page with iframe php??
Posted: Thu 13 Aug 2015 1:49 pm
by ace2
mcrossley wrote:I would add the call to launch() in RainRadar php
Just pop a body tag in???
As I can't locate one in the actual php.....
Re: HTML page with iframe php??
Posted: Thu 13 Aug 2015 1:54 pm
by mcrossley
That's odd as it has a <head></head> with content, so I would have expected it have a <body> as well...
Capture.PNG
Re: HTML page with iframe php??
Posted: Thu 13 Aug 2015 1:57 pm
by mcrossley
Ah, I see the browser is forcing the content into a page structure as none is being supplied by RainRadar.php.
I would add some structure to it, with a head and body and see how that goes. Normally you get a working standalone page, then include it in an iframe.
Re: HTML page with iframe php??
Posted: Thu 13 Aug 2015 1:58 pm
by ace2
I'm old and using a mobile phone as a HTML editor, but I still can't find it!!!
Re: HTML page with iframe php??
Posted: Thu 13 Aug 2015 2:13 pm
by ace2
mcrossley wrote:I would add some structure to it, with a head and body and see how that goes. Normally you get a working standalone page, then include it in an iframe.
Well that worked, it was that simple!!!!!!
http://ace2weather.com/rain_radar.htm
(Done on a mobile phone)
Just need to edit the style a little and attempt to clean up the php code as a validator reports heaps of errors....
But it works..........
Thanks mcrossley, once again,..............