<span style="margin-right:60px;">
<iframe id="weather_iframe" frameborder="0" scrolling="no" style="height:56px; width:250px;"
src="http://m.weather.com.cn/m/firefox_new/index.html?v1"></iframe>
<script type="text/javascript">
document.getElementById("weather_iframe").setAttribute("allowTransparency","true");
</script>
</span>
结果如图所示:
广州[选择城市] | 七天预报 | ||
今:20℃~12℃ | 明:19℃~13℃ | ||
霾 | 多云 |