根据项目需要,在门户网站的首页添加一个展示天气预报的区域,很简单,利用SharePoint自带的Webpart就能实现。
1.添加一个新的Webpart--Content Editor
2.修改Webpart.
3.修改"标题"为“Weather Report”.
4.编辑“Source Editor"
<a href="http://www.wunderground.com/global/stations/54511.html?bannertypeclick=bigtemp">
<img src="http://banners.wunderground.com/weathersticker/bigtemp_metric/language/www/global/stations/54511.gif" border=0
alt="Click for Beijing, China Forecast" height=94 width=185></a>
这是表示北京地区的天气预报,其他城市一样,修改一下链接地址就OK了。