zoukankan      html  css  js  c++  java
  • 个性博客七款超靓天气预报免费代码

    第一种:


    <iframe src="http://weather.265.com/weather.htm" width="160" height="54"

    frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>


    第二种:


    <IFRAME ID='ifm2' WIDTH='189' HEIGHT='190' ALIGN='CENTER' MARGIN

    WIDTH='0' MARGINHEIGHT='0' HSPACE='0' VSPACE='0' FRAMEBORDER='0' SCROLLING='NO'

    SRC='http://weather.qq.com/inc/ss258.htm'></IFRAME>
    第三种:


    <IFRAME ID='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"></ifreame>

    第四种:


    <iframe width="469" height="218" border="0" align="center" marginwidth="0"

    marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"

    src="http://appnews.qq.com/cgi-bin/news_weather_search?city=厦门" allowTransparency="true"></iframe>
    第五种:


    <IFRAME ID='ifm1' WIDTH='405' HEIGHT='332' ALIGN='center'

    MARGINWIDTH='0' MARGINHEIGHT='0' HSPACE='0' VSPACE='0' FRAMEBORDER='0'

    SCROLLING='NO' SRC="http://weather.qq.com/24.htm"></IFRAME>

    第六种:


    <iframe width="145" height="130" border="0" align="center" marginwidth="0"

    marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"

    src="http://minisite.qq.com/Weather/news_new.html" allowTransparency="true"></iframe>

    大家可根据自己的爱好,把代码插入要显示的位置即可。本站采用第二种,虽然颜色不是太协调,但也凑合用吧,另外需要注意一下,以前很流行的一段代码(在Google上搜到的90%都是这一段),现在已经不能用了,特此写出来,以免大家浪费精力:



    <iframe width="150" height="240" frameborder="0" scrolling="No" src='http://appnews.qq.com/cgi-bin/news_qq_search?city=xxx'></iframe>

    其中的“xxx”是每个城市的代码:比如武汉的就是%CE%E4%BA%BA
    下面是其他的一些城市的编码:

       上海-%C9%CF%BA%A3
       北京-%B1%B1%BE%A9
       青岛-%C7%E0%B5%BA
       济南-%BC%C3%C4%CF
       武汉-%CE%E4%BA%BA
       福州-%B8%A3%D6%DD

  • 相关阅读:
    剑指offer:二维数组的查找
    安卓突击:绘制图像
    安卓突击:绘制图形和文本
    Android突击:定制控件
    Android突击:PanelLayout的实现
    POJ 1426 Find The Multiple
    POJ 2251 Dungeon Master
    event.target的认识
    JS延迟加载
    jquery中position 和offset的区别
  • 原文地址:https://www.cnblogs.com/zerogo/p/2209122.html
Copyright © 2011-2022 走看看