[Phphtmllib-devel] SF.net SVN: phphtmllib:[3230] trunk/open2300
Status: Beta
Brought to you by:
hemna
From: <he...@us...> - 2009-03-01 21:07:52
|
Revision: 3230 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3230&view=rev Author: hemna Date: 2009-03-01 21:07:42 +0000 (Sun, 01 Mar 2009) Log Message: ----------- 3rd column for the radar Modified Paths: -------------- trunk/open2300/htdocs/js/main.js trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/htdocs/js/main.js =================================================================== --- trunk/open2300/htdocs/js/main.js 2009-03-01 20:09:25 UTC (rev 3229) +++ trunk/open2300/htdocs/js/main.js 2009-03-01 21:07:42 UTC (rev 3230) @@ -74,6 +74,8 @@ img = new Image(); img.src = "http://radblast-mi.wunderground.com/cgi-bin/radar/WUNIDS_map?station=DAX&brand=wui&num=1&delay=15&type=N0R&frame=0&scale=0.172&noclutter=0&t=1235925219&lat=38.81977081&lon=-121.02596283&label=Pilot+Hill%2C+CA&showstorms=0&map.x=400&map.y=240¢erx=21¢ery=408&transx=-379&transy=168&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0"; img.id='idRadarImg'; + img.width=400; + img.height=300; $('idRadardiv').update(); $('idRadardiv').appendChild(img); Effect.Appear('idRadarImg', {duration: 0.7}); Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-03-01 20:09:25 UTC (rev 3229) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-03-01 21:07:42 UTC (rev 3230) @@ -72,12 +72,17 @@ $rain_img->set_id('idRainLineGraph'); $right_div->add(new DIVtag(array('id' => 'idRainLineGraphdiv', 'style'=> 'padding-top:5px;padding-bottom:5px;height:201px;'),$rain_img)); - $radar_img = IMGtag::factory("http://radblast-mi.wunderground.com/cgi-bin/radar/WUNIDS_map?station=DAX&brand=wui&num=1&delay=15&type=N0R&frame=0&scale=0.172&noclutter=0&t=1235925219&lat=38.81977081&lon=-121.02596283&label=Pilot+Hill%2C+CA&showstorms=0&map.x=400&map.y=240¢erx=21¢ery=408&transx=-379&transy=168&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0"); + $radar_img = IMGtag::factory("http://radblast-mi.wunderground.com/cgi-bin/radar/WUNIDS_map?station=DAX&brand=wui&num=1&delay=15&type=N0R&frame=0&scale=0.172&noclutter=0&t=1235925219&lat=38.81977081&lon=-121.02596283&label=Pilot+Hill%2C+CA&showstorms=0&map.x=400&map.y=240¢erx=21¢ery=408&transx=-379&transy=168&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0", + 410,300); $radar_img->set_id('idRadarImg'); - $right_div->add(new DIVtag(array('id' => 'idRadardiv'),$radar_img)); - - return $right_div; + $radar_div = new DIVtag(array('id' => 'idRadardiv'),$radar_img); + + $table = TABLEtag::factory("100%",0,0,10); + + $table->add_row(new TDtag(array('style' => 'vertical-align:top;width:410px;'),$right_div), + new TDtag(array('style' => 'vertical-align:top;'),$radar_div)); + return $table; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |