当前位置:网站首页>几款不错的天气插件
几款不错的天气插件
2022-06-25 06:38:00 【黄月望】
正好项目中需要显示天气,以下是搜罗到的简单方法,分享下~
1.中国天气网http://service.weather.com.cn/plugin/index.shtml
中国天气网插件栏目提供多种预报类插件服务产品的免费天气代码,可实现全国2348个县级以上城市天气预报查询,可实现ip自动判断功能。适用于常规网站、博客、社区论坛等的嵌入。
- <iframe src="http://m.weather.com.cn/m/pn4/weather.htm?id=101010100T " width="160" height="20" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
2.QQ天气预报代码http://weather.qq.com/inc/ss258.htm
- <IFRAMEIDIFRAMEID='ifm2' WIDTH='189' HEIGHT='190' ALIGN='CENTER' MARGINWIDTH='0'MARGINHEIGHT='0' HSPACE='0' VSPACE='0' FRAMEBORDER='0' SCROLLING='NO'SRC='http://weather.qq.com/inc/ss258.htm'></IFRAME>
3.新浪天气预报代码http://news.sina.com.cn/iframe/weather/130101.html
- <IFRAMEIDIFRAMEID='ifm2' WIDTH='260' HEIGHT='70' ALIGN='CENTER' MARGINWIDTH='0'MARGINHEIGHT='0' HSPACE='0' VSPACE='0' FRAMEBORDER='0' SCROLLING='NO'src="http://news.sina.com.cn/iframe/weather/130101.html"></iframe>
说明:这种适合于在网页的头栏插入。上面的城市可以自定,比如 石家庄可改成别的。
转自:http://blog.csdn.net/evangel_z/article/details/8229019
边栏推荐
- Change the current count of auto increment values in MySQL- Changing the current count of an Auto Increment value in MySQL?
- [tool sharing] a software that pays equal attention to appearance and skills
- Blue Bridge Cup SCM module code (external interrupt) (code + comment)
- 鸿蒙页面菜单的选择
- What is the new business model of Taishan crowdfunding in 2022?
- 100 times larger than the Milky way, Dutch astronomers found mysterious objects in deep space
- 网络是怎样连接的?
- 有了 MySQL 为什么要用 NoSQL?
- 赚够钱回老家吗
- Navicat prevent new query from being deleted by mistake
猜你喜欢
Uncaught TypeError: Cannot read properties of undefined (reading ‘prototype‘)
Efficient exploration | an application practice of ES geographical location query
活动报名|Apache Pulsar x KubeSphere 在线 Meetup 火热来袭
How is the network connected?
Navicat prevent new query from being deleted by mistake
We are different
Ppt template of small fresh open class education courseware
【一起上水硕系列】Day 5
高效探索|ES地理位置查询的一次应用实践
终于等到你,小程序开源啦~
随机推荐
高效探索|ES地理位置查询的一次应用实践
Too beautiful promise because too young
How to store the directory / hierarchy / tree structure in the database- How to store directory / hierarchy / tree structure in the database?
[he doesn't mention love, but every word is love]
LabVIEW jump to web page
Want to self-study SCM, do you have any books and boards worth recommending?
Navicat prevent new query from being deleted by mistake
Jameswebb Space Telescope goes into operation to help study interstellar objects
有了 MySQL 为什么要用 NoSQL?
Display purchase Summary - Dell 2705qm BenQ pd2700u
[C language] one dimensional array
Wow, it's so rich.
赚够钱回老家吗
Make fertilizer Safi from crop residues locally to increase yield by 30% and improve soil
One year's time and University experience sharing with CSDN
Streamnational platform version 1.5 is released, integrating istio and supporting openshift deployment
Pratique de gestion hiérarchique basée sur kubesphere
分布式锁中的王者方案 - Redisson
Large funds support ecological construction, and Plato farm builds a real meta universe with Dao as its governance
Learn the first routine of FPGA