📄 index.htm
字号:
<a href="javascript:showweather('喀什')">喀什</a>
<a href="javascript:showweather('和田')">和田</a>
<a href="javascript:showweather('伊犁')">伊犁</a>
<a href="javascript:showweather('塔城')">塔城</a>
<a href="javascript:showweather('阿勒泰 ')">阿勒泰 </a>
</td>
</tr>
</table>
<table cellspacing="1" id="city_6" style="display:none" width="100%">
<tr>
<th >直辖市</th>
<td >
<a href="javascript:showweather('重庆')">重庆</a>
</td>
</tr>
<tr>
<th >四川</th>
<td >
<a href="javascript:showweather('成都')">成都</a>
<a href="javascript:showweather('自贡')">自贡</a>
<a href="javascript:showweather('攀枝花')">攀枝花</a>
<a href="javascript:showweather('德阳')">德阳</a>
<a href="javascript:showweather('绵阳')">绵阳</a>
<a href="javascript:showweather('广元')">广元</a>
<a href="javascript:showweather('遂宁')">遂宁</a>
<a href="javascript:showweather('内江')">内江</a>
<a href="javascript:showweather('乐山')">乐山</a>
<a href="javascript:showweather('南充')">南充</a>
<a href="javascript:showweather('眉山')">眉山</a>
<a href="javascript:showweather('宜宾')">宜宾</a>
<a href="javascript:showweather('广安')">广安</a>
<a href="javascript:showweather('达州')">达州</a>
<a href="javascript:showweather('雅安')">雅安</a>
<a href="javascript:showweather('巴中')">巴中</a>
<a href="javascript:showweather('资阳')">资阳</a>
<a href="javascript:showweather('阿坝')">阿坝</a>
<a href="javascript:showweather('甘孜')">甘孜</a>
<a href="javascript:showweather('凉山')">凉山</a>
</td>
</tr>
<tr>
<th >贵州</th>
<td >
<a href="javascript:showweather('贵阳')">贵阳</a>
<a href="javascript:showweather('六盘水')">六盘水</a>
<a href="javascript:showweather('遵义')">遵义</a>
<a href="javascript:showweather('安顺')">安顺</a>
<a href="javascript:showweather('铜仁')">铜仁</a>
<a href="javascript:showweather('毕节')">毕节</a>
</td>
</tr>
<tr>
<th >云南</th>
<td >
<a href="javascript:showweather('昆明')">昆明</a>
<a href="javascript:showweather('曲靖')">曲靖</a>
<a href="javascript:showweather('玉溪')">玉溪</a>
<a href="javascript:showweather('保山')">保山</a>
<a href="javascript:showweather('昭通')">昭通</a>
<a href="javascript:showweather('丽江')">丽江</a>
<a href="javascript:showweather('思茅')">思茅</a>
<a href="javascript:showweather('临沧')">临沧</a>
<a href="javascript:showweather('楚雄')">楚雄</a>
<a href="javascript:showweather('西双版纳')">西双版纳</a>
<a href="javascript:showweather('大理')">大理</a>
<a href="javascript:showweather('德宏')">德宏</a>
<a href="javascript:showweather('迪庆')">迪庆</a>
</td>
</tr>
<tr>
<th >西藏</th>
<td >
<a href="javascript:showweather('拉萨')">拉萨</a>
<a href="javascript:showweather('昌都')">昌都</a>
<a href="javascript:showweather('山南')">山南</a>
<a href="javascript:showweather('日喀则')">日喀则</a>
<a href="javascript:showweather('那曲')">那曲</a>
<a href="javascript:showweather('阿里')">阿里</a>
<a href="javascript:showweather('林芝')">林芝</a>
</td>
</tr>
</table>
<table cellspacing="1" id="city_7" style="display:none" width="100%">
<tr>
<th >香港</th>
<td >
<a href="javascript:showweather('香港')">香港</a>
</td>
</tr>
<tr>
<th >澳门</th>
<td >
<a href="javascript:showweather('澳门')">澳门</a>
</td>
</tr>
<tr>
<th >台湾</th>
<td >
<a href="javascript:showweather('台北')">台北</a>
</td>
</tr>
</table>
</div>
<div class="bd bdbl tools" id="w_gj">
<h3>国际主要城市天气</h3>
<div class="con">
<div class="input" >
<label>
<span class="slcon"><span class="select">
<select name="country" id="country" onchange="inCityList()">
<option value="0" selected="selected">请选择</option>
<option value="0">----亚洲----</option>
<option value="1">日本</option>
<option value="2">韩国</option>
<option value="3">蒙古</option>
<option value="4">菲律宾</option>
<option value="5">越南</option>
<option value="6">泰国</option>
<option value="7">马来西亚</option>
<option value="8">新加坡</option>
<option value="9">文莱</option>
<option value="10">印度尼西亚</option>
<option value="11">缅甸</option>
<option value="12">斯里兰卡</option>
<option value="13">印度</option>
<option value="14">巴基斯坦</option>
<option value="15">伊朗</option>
<option value="16">叙利亚</option>
<option value="17">沙特阿拉伯</option>
<option value="0">----非洲----</option>
<option value="18">埃及</option>
<option value="19">突尼斯</option>
<option value="20">塞内加尔</option>
<option value="21">埃塞俄比亚</option>
<option value="22">肯尼亚</option>
<option value="23">坦桑尼亚</option>
<option value="24">南非</option>
<option value="0">----欧洲----</option>
<option value="25">俄罗斯</option>
<option value="26">瑞典</option>
<option value="27">芬兰</option>
<option value="28">丹麦</option>
<option value="29">德国</option>
<option value="30">荷兰</option>
<option value="31">比利时</option>
<option value="32">瑞士</option>
<option value="33">奥地利</option>
<option value="34">意大利</option>
<option value="35">法国</option>
<option value="36">英国</option>
<option value="37">西班牙</option>
<option value="38">意大利</option>
<option value="39">希腊</option>
<option value="40">土耳其</option>
<option value="0">----美洲----</option>
<option value="41">美国</option>
<option value="42">加拿大</option>
<option value="43">古巴</option>
<option value="44">墨西哥</option>
<option value="45">委内瑞拉</option>
<option value="46">秘鲁</option>
<option value="47">巴西</option>
<option value="0">----澳洲----</option>
<option value="48">澳大利亚</option>
<option value="49">新西兰</option>
</select>
</span><span class="select" id="citycon">
<select name="city2" id="city2">
<option selected="selected" value="0">请选择</option>
</select></span></span><input name="" type="submit" value="查询" class="button" onclick="goIntCity()"/>
</label>
</div>
</div>
</div>
<div class="bd bdbl wcon" id="w_gj">
<h3>周边城市天气</h3>
<div class="con">
<div class="sr wcon" id="cx_map">
周边天气加载中......
</div>
</div>
</div>
</div>
</div>
</div>
<div class="bottom">
</div>
<div id="footer">
<div class="link"> <a href="http://818699.com" target="_blank">关于蚊子</a> | <a href="javascript:alert('QQ:127029751\n百度Hi:chehe')">广告联系</a> | <a href="http://www.818699.com/168/bbs/" target="_blank">加入我们</a> | <a href="http://www.miibeian.gov.cn" target="_blank">桂粤ICP备还没有号</a> </div>
Copyright © 2004-200? 蚊子暂时很有限茅屋(818699.com). All Rights Reserved.</div>
</div>
<script language="javascript">
try
{
$("getfocus").focus();
mailid=GetCookie("mailid");
if(mailid==null)
{
mailid=0;
}
mailname=GetCookie("mailname");
if(mailname==null)
{
mailname="";
}
document.forms.mail_login.maillist.value=mailid;
MailChange(mailid);
document.getElementById("Musername").value=mailname;}
catch(e){}
history_show();
</script>
<script language="javascript">
var city='';
var url=window.location.search;
if(url.indexOf("?")!=-1)
{
var str = url.substr(1)
strs = str.split("&");
for(i=0;i<strs.length;i++)
{
if([strs[i].split("=")[0]]=='city'){
city=unescape(strs[i].split("=")[1]);
//alert(unenscape(city))
var cx_str = SetString(city,1)
if (cx_str!="%"){
showweather(city);
}else{
cx_showweather(city);
}
}
}
}
function SetString(str,len)
{
var strlen = 0;
var s = "";
for(var i = 0;i < str.length;i++)
{
if(str.charCodeAt(i) > 128)
strlen += 2;
else
strlen++;
s += str.charAt(i);
if(strlen >= len)
return s + "...";
}
return s;
}
</script>
<script language="javascript" src="js/footer.js"></script>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -