摘要:
根据访问者的ip地址获得当地的天气情况,最简单的一种方法就是加一个iframe框架方法如下:<iframe src="http://m.weather.com.cn/m/pn12/weather.htm" frameborder="0" width="200px" height="110px" scrolling="no"></iframe>如果想得到比较详细的页面可以点击这个网址:http://weather.xixik.com/这样方法虽然简单,但是有一个很大的缺点就 阅读全文