1. 求2345网址天气预报源程序代码?
复制到自己网站相应位置上传即可
2. 求网站中加入天气预报的代码
下面这段是它的源文件
07越秀
2007年1月16日
星期二 下午17:02
var day = new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六");
function showDate()
{
font = document.getElementById("dateFont");
var now = new Date();
var str = "";
var hours = now.getHours() + "";
if(hours.length < 2)
{
hours = "0" + hours;
}
var minutes = now.getMinutes() + "";
if(minutes.length < 2)
{
minutes = "0" + minutes;
}
var seconds = now.getSeconds() + "";
if(seconds.length < 2)
{
seconds = "0" + seconds;
}
str += "" + now.getFullYear() + "年" + (now.getMonth() + 1) + "月" + now.getDate() + "日" + day[now.getDay()] + " " + hours + ":" + minutes + ":" + seconds + "";
font.innerHTML = str;
}
setInterval("showDate()" , 1000);
多云转阵雨 25℃~34℃
再给你推荐一个根据不同IP显示不同地区的代码:
都试试吧
3. 天气预报HTML代码求助
绝对管用 样式可以调整 有不懂的可以问我
4. 求网页显示天气的代码?
网页网页天气预报显示代码 这段显示代码是大小是168*52 这段显示代码是大小是120*70 这段显示代码是大小是110*30 这段显示代码是大小是117*37 这段显示代码是大小是130*110 这段显示代码是大小是380*37 这段显示代码是大小是380*70 这段显示代码是大小是190*30 显示效果这里就不演示了,放到网页里面就可以查看的。这些代码都是自动判断客户端IP的,所以网站的应用是很方便的。
5. 内部网站天气预报代码
你可以再iis进行设置啊,在网站属性---》目录安全性---》有一个ip地址或域名限制
你要设置内网才能访问的,把ip地址设置为局域网的ip就行了
不知道我有没有理解你的意思:)
6. 如何实现局域网天气预报?
但局域网IP不一致,已经是局域网了,位置还不一致啊?
你是说局域网用户要查看的天气不是同一个地方的吧。
只要能下载劝过天气信息到局域网中的电脑,一那台电脑为主机,其他电脑访问主机就可以了。
不过需要手动输入相应城市才能查看
7. HTML 求做一个简单的桂林天气预报网页
( 源代码 )
桂林天气预报
2012年03月14日
桂林
气象信息由中央气象台提供
当前天气
阵雨
12℃~18℃
·风力:北风小于3级
·紫外线强度:弱
·空气质量:良
72小时天气预报
2012-03-14
2012-03-15
2012-03-16
阵雨
12℃~18℃
北风小于3级
阵雨
12℃~18℃
北风小于3级
阵雨
12℃~18℃
北风小于3级
城市指数
更多
穿衣指数
舒适度指数
晨练指数
感冒指数
空调指数
洗车指数
空气污染指数
啤酒指数
晾晒指数
旅行指数
舒适
舒适
较不宜
易发
较少开启
不宜
良
较适宜
不太适宜
适宜
建议着溥型套装或牛仔衫裤等春秋过渡装。年老体弱者宜着套装...
温度适宜,风力不大,您在这样的天气条件下,会感到比较清爽和...
有降水,较不宜晨练,室外锻炼清携带雨具.建议年老体弱人群适...
昼夜温差大,且空气湿度较大,易发生感冒,请注意适当增减衣服...
您将感到很舒适,一般不需要开启空调...
不宜洗车,未来24小时内有雨,如果在此期间洗车,雨水和路上...
气象条件有利于空气污染物稀释、扩散和清除,可以室外正常活动...
适理的饮用啤酒可能会增加您舒适的感觉,但要注意适千万不要过...
有降水,可能会淋湿晾晒的衣物,不太适宜晾晒,请随时注意天气...
有降水,温度适宜,在细雨中游玩别有一番情调,可不要错过机会...
(CSS样式)
*{
margin: 0;
padding: 0;
}
ul li{
list-style: none;
}
.top_box{
width: 100px;
height: 30px;
background: #FFFFFF;
text-align:center;
line-height: 30px;
color:blue;
font-weight: bold;
position: absolute;
margin-left: 255px;
margin-top: -18px;
}
.box{
width: 590px;
height: 651px;
border: 1px solid #0c5d0b;
margin: 20px auto;
background: #FFFFFF;
position: relative;
}
.date_box{
width: 550px;
height: 35px;
margin: 5px auto;
background: url(../img/5.jpg)no-repeat;
}
.tubiao{
width: 35px;
}
.tubiao img{
margin-left: 10px;
}
.date{
width: 130px;
}
.gl{
width: 50px;
}
.tubiao ,.date ,.gl ,.zy{
float: left;
height: 35px;
height: 35px;
color: #b60329;
font-size: 14px;
line-height: 35px;
font-weight: bold;
}
.zy{
width: 230px;
float: right;
text-align: center;
}
.zy span{
color: black;
}
.nav_box1{
width: 505px;
height: 100px;
border:1px solid gainsboro;
margin: auto;
margin: 5px auto;
}
.current{
width: 505px;
height: 25px;
background: url(../img/6.jpg) no-repeat;
color: #1c385a;
line-height: 25px;
text-indent: 1em;
font-size: 14px;
font-weight: bold;
}
.say{
width: 180px;
height: 75px;
float: left;
}
.say img{
margin: 10px 60px;
}
.shower{
width: 140px;
height: 75px;
float: left;
background: #edf1fa;
text-align: center;
color: #15376b;
font-size: 14px;
}
.zy2{
width: 140px;
height: 20px;
margin-top: 15px;
}
.wz{
width: 185px;
height: 75px;
float: left;
color: #15376b;
font-size: 14px;
}
.wz ul li{
list-style: none;
text-align: center;
}
.fl{
width: 185px;
height: 20px;
margin-top: 5px;
}
.nav_box2{
width: 505px;
height: 170px;
border:1px solid gainsboro;
margin: 5px auto;
}
.date2{
width: 155px;
height: 22px;
float: left;
margin-left:10px;
margin-top: 10px;
background: #eeeeee;
font-size: 14px;
text-align: center;
line-height: 22px;
}
.say2{
width: 155px;
height: 55px;
float: left;
margin-left:10px;
text-align: center;
}
.say2 img{
margin-top: 10px;
}
.wz2{
width: 155px;
height: 50px;
background: #eef3f7;
float: left;
margin-left:10px;
}
.wz2 ul li{
list-style: none;
text-align: center;
font-size: 12px;
}
.nav_box3{
width: 505px;
height: 270px;
border:1px solid gainsboro;
margin: 5px auto;
}
.city{
width: 100px;
height: 35px;
text-align: center;
float: left;
}
.tubiao2{
width: 35px;
height: 35px;
color: #b60329;
float: left;
}
.tubiao2 img{
margin-left: 20px;
}
.gd{
width: 35px;
height: 35px;
float: right;
}
.city ,.tubiao2 ,.gd{
font-weight: bold;
font-size: 14px;
line-height: 35px;
}
.gd a{
text-decoration: none;
color: black;
display: block;
}
.gd a:hover{
color: darkred;
}
.ht{
width: 480px;
height: 3px;
margin: auto;
background: url(../img/9.jpg) no-repeat;
margin-top: 35px;
}
.nav3_l{
width: 90px;
height: 220px;
float: left;
font-size: 12px;
}
.nav3_l ul li{
width: 90px;
text-align: left;
font-weight: bold;
color: #15376B;
text-indent: 1em;
}
.nav3_z{
width: 60px;
height: 220px;
}
.nav3_z ul li{
width: 60px;
text-align: left;
font-weight: bold;
color: #000000;
}
.nav3_r{
width: 350px;
height: 220px;
}
.nav3_r ,.nav3_z{
font-size: 12px;
float: left;
}
.nav3_r ul li{
width: 350px;
text-align: left;
color: #666666;
}
.nav3_r ul li ,.nav3_z ul li ,.nav3_l ul li{
font-weight: bold;
line-height: 22px;
height: 22px;
}
8. 求助ASP网页天气预报代码
代码一:
代码二:
补充:不好意思,只找到了这么多,将就着用吧