[Phphtmllib-devel] SF.net SVN: phphtmllib:[3286] trunk/open2300/lib/modules/home/page/HomePage .inc
Status: Beta
Brought to you by:
hemna
From: <he...@us...> - 2009-11-24 05:22:44
|
Revision: 3286 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3286&view=rev Author: hemna Date: 2009-11-24 05:22:36 +0000 (Tue, 24 Nov 2009) Log Message: ----------- nuked the stupid wunderground flash turd, moved the rain gauges, added the webcam image added code for the flash lightview popup Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 05:21:25 UTC (rev 3285) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 05:22:36 UTC (rev 3286) @@ -105,8 +105,9 @@ </OBJECT> ' ); - $left_div->add('<object width="290" height="130"><param name="movie" value="http://www.wunderground.com/swf/pws_mini_rf_nc.swf?station=KCASANJO77&camurl=http://icons.wunderground.com/webcamramdisk/h/e/hemna/1/current.jpg&freq=2.5&units=english&lang=EN" /><param name="quality" value="high"><embed src="http://www.wunderground.com/swf/pws_mini_rf_nc.swf?station=KCACOOL3&camurl=http://icons.wunderground.com/webcamramdisk/h/e/hemna/1/current.jpg&freq=2.5&units=english&lang=EN" type="application/x-shockwave-flash" width="300" height="290" /></object>'); - + //$left_div->add('<object width="290" height="130"><param name="movie" value="http://www.wunderground.com/swf/pws_mini_rf_nc.swf?station=KCASANJO77&camurl=http://icons.wunderground.com/webcamramdisk/h/e/hemna/1/current.jpg&freq=2.5&units=english&lang=EN" /><param name="quality" value="high"><embed src="http://www.wunderground.com/swf/pws_mini_rf_nc.swf?station=KCACOOL3&camurl=http://icons.wunderground.com/webcamramdisk/h/e/hemna/1/current.jpg&freq=2.5&units=english&lang=EN" type="application/x-shockwave-flash" width="300" height="290" /></object>'); + + $left_div->add($this->get_rain_div()); $container->add($left_div); return $container; @@ -215,15 +216,25 @@ $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.326&noclutter=0&t=1235942643&lat=38.81977081&lon=-121.02596283&label=Pilot+Hill%2C+CA&showstorms=0&map.x=400&map.y=240¢erx=145¢ery=359&transx=-255&transy=119&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0", 480,320); $radar_img->set_id('idRadarImg'); + + + $this->add_js_link('/js/lightview/lightview.js'); + $this->add_css_link('/css/lightview/lightview.css'); + + $cam_img = new IMGtag(array('id' => 'idCam', 'src' => 'cam/cam.jpg', 'width' => '480', height => '320')); + $cam_href = new Atag(array('href' => '/video/player.swf?file=/video/20091123/timelapse.flv&start=1', 'class' => 'lightview', + 'rel' => 'flash', 'title' => 'TimeLapse :: Test :: width:640, height:480'), + $cam_img); + $cam_href->set_collapse(true); + $cam_div = new DIVtag(array('id' => 'idCamDiv', 'style' => 'padding-bottom:10px;margin-bottom:5px;'), $cam_href); $radar_div = new DIVtag(array('id' => 'idRadardiv'),$radar_img); - $rain_div = $this->get_rain_div(); - $table = TABLEtag::factory("100%",0,0,0); $table->add_row(new TDtag(array('style' => 'vertical-align:top;width:510px;'),$right_div), - new TDtag(array('style' => 'vertical-align:top;padding-left:8px;'),$radar_div, $rain_div)); + new TDtag(array('style' => 'vertical-align:top;padding-left:8px;'), + $cam_div, $radar_div)); return $table; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |