指引网

当前位置: 主页 > 网页制作 > JavaScript >

js调用天气预报代码

来源:网络 作者:佚名 点击: 时间:2017-07-02 08:45
[摘要]  本文章提供这款js调用天气预报代码,是利用了qq的天气预报,他可以根据用户所在的城市来调用不同地方的天气,比较智能化了。

<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
   
 <style type="text/css教程">
  .jmbox{ width:955px; margin:0 auto; padding-top:50px; text-align:center; background:url(images/bg.jpg) no-repeat; height:53px;}
  #wealth{ float:right; width:160px; display:inline; margin-right:20px;}
  .img{ float:left;}
  .jmbox h6{float:left; display:block; margin-top:-18px; *margin-top:0; cursor:pointer; width:90px; color:#fff; text-align:left; padding-top:7px; margin-bottom:5px; font-size:14px;}
  #wealth div{color:#fff; cursor:pointer; height:53px; width:60px; float:right;  margin-top:-25px; margin-right:55px; display:inline;}
 </style>
 <script type="text/网页特效" src="js/pngobject.js"></script>
</head>

<body>
    <div class="jmbox">
      
   <script type="text/javascript" src="js/weather.js"></script>
   <div  onclick="register0410('sobar',1);">
     <div id="wealth"></div>
   </div>
   <script type="text/javascript">
    function weatherload()
    {
     minisite.weather.print("wealth");
    }
    loadjs("js/weather02.js",weatherload); 
   </script>
    </div>

</body>
</html>

------分隔线----------------------------