A. javascript實現二級聯動,比如連個下拉列表,一個選擇省份,另一個自動出現相應城市
<script language=vbScript>
<!--
public x(33)
x( 0 )="東城,西城,崇文,宣武,朝陽,豐台,石景山,海淀,門頭溝,房山,通州,順義,昌平,大興,平谷,懷柔,密雲,延慶"
x( 1 )="黃浦,盧灣,徐匯,長寧,靜安,普陀,閘北,虹口,楊浦,閔行,寶山,嘉定,浦東,金山,松江,青浦,南匯,奉賢,崇明"
x( 2 )="和平,東麗,河東,西青,河西,津南,南開,北辰,河北,武清,紅撟,塘沽,漢沽,大港,寧河,靜海,寶坻,薊縣"
x( 3 )="萬州,涪陵,渝中,大渡口,江北,沙坪壩,九龍坡,南岸,北碚,萬盛,雙撟,渝北,巴南,黔江,長壽,綦江,潼南,銅梁,大足,榮昌,壁山,梁平,城口,豐都,墊江,武隆,忠縣,開縣,雲陽,奉節,巫山,巫溪,石柱,秀山,酉陽,彭水,江津,合川,永川,南川"
x( 4 )="石家莊,邯鄲,邢台,保定,張家口,承德,廊坊,唐山,秦皇島,滄州,衡水"
x( 5 )="太原,大同,陽泉,長治,晉城,朔州,呂梁,忻州,晉中,臨汾,運城"
x( 6 )="呼和浩特,包頭,烏海,赤峰,呼倫貝爾盟,阿拉善盟,哲里木盟,興安盟,烏蘭察布盟,錫林郭勒盟,巴彥淖爾盟,伊克昭盟"
x( 7 )="沈陽,大連,鞍山,撫順,本溪,丹東,錦州,營口,阜新,遼陽,盤錦,鐵嶺,朝陽,葫蘆島"
x( 8 )="長春,吉林,四平,遼源,通化,白山,松原,白城,延邊"
x( 9 )="哈爾濱,齊齊哈爾,牡丹江,佳木斯,大慶,綏化,鶴崗,雞西,黑河,雙鴨山,伊春,七台河,大興安嶺"
x( 10 )="南京,鎮江,蘇州,南通,揚州,鹽城,徐州,連雲港,常州,無錫,宿遷,泰州,淮安"
x( 11 )="杭州,寧波,溫州,嘉興,湖州,紹興,金華,衢州,舟山,台州,麗水"
x( 12 )="合肥,蕪湖,蚌埠,馬鞍山,淮北,銅陵,安慶,黃山,滁州,宿州,池州,淮南,巢湖,阜陽,六安,宣城,亳州"
x( 13 )="福州,廈門,莆田,三明,泉州,漳州,南平,龍岩,寧德"
x( 14 )="南昌市,景德鎮,九江,鷹潭,萍鄉,新餘,贛州,吉安,宜春,撫州,上饒"
x( 15 )="濟南,青島,淄博,棗庄,東營,煙台,濰坊,濟寧,泰安,威海,日照,萊蕪,臨沂,德州,聊城,濱州,菏澤"
x( 16 )="鄭州,開封,洛陽,平頂山,安陽,鶴壁,新鄉,焦作,濮陽,許昌,漯河,三門峽,南陽,商丘,信陽,周口,駐馬店,濟源"
x( 17 )="武漢,宜昌,荊州,襄樊,黃石,荊門,黃岡,十堰,恩施,潛江,天門,仙桃,隨州,咸寧,孝感,鄂州"
x( 18 )="長沙,常德,株洲,湘潭,衡陽,岳陽,邵陽,益陽,婁底,懷化,郴州,永州,湘西,張家界"
x( 19 )="廣州,深圳,珠海,汕頭,東莞,中山,佛山,韶關,江門,湛江,茂名,肇慶,惠州,梅州,汕尾,河源,陽江,清遠,潮州,揭陽,雲浮"
x( 20 )="南寧,柳州,桂林,梧州,北海,防城港,欽州,貴港,玉林,南寧地區,柳州地區,賀州,百色,河池"
x( 21 )="海口,三亞"
x( 22 )="成都,綿陽,德陽,自貢,攀枝花,廣元,內江,樂山,南充,宜賓,廣安,達川,雅安,眉山,甘孜,涼山,瀘州"
x( 23 )="貴陽,六盤水,遵義,安順,銅仁,黔西南,畢節,黔東南,黔南"
x( 24 )="昆明,大理,曲靖,玉溪,昭通,楚雄,紅河,文山,思茅,西雙版納,保山,德宏,麗江,怒江,迪慶,臨滄"
x( 25 )="拉薩,日喀則,山南,林芝,昌都,阿里,那曲"
x( 26 )="西安,寶雞,咸陽,銅川,渭南,延安,榆林,漢中,安康,商洛"
x( 27 )="蘭州,嘉峪關,金昌,白銀,天水,酒泉,張掖,武威,定西,隴南,平涼,慶陽,臨夏,甘南"
x( 28 )="銀川,石嘴山,吳忠,固原"
x( 29 )="西寧,海東,海南,海北,黃南,玉樹,果洛,海西"
x( 30 )="烏魯木齊,石河子,克拉瑪依,伊犁,巴音郭勒,昌吉,克孜勒蘇柯爾克孜,博 爾塔拉,吐魯番,哈密,喀什,和田,阿克蘇"
x( 31 )=""
x( 32 )=""
x( 33 )="台北,高雄,台中,台南,屏東,南投,雲林,新竹,彰化,苗栗,嘉義,花蓮,桃園,宜蘭,基隆,台東,金門,馬祖,澎湖"
function test(a,b)
dim num,x1,i
num =a.selectedIndex
x1=split(x(num),",")
b.options.length=ubound(x1)+1
For i = 0 to ubound(x1)
b.options(i).text =x1(i)
b.options(i).value = x1(i)
next
end function
-->
</script>
<body>
<select name="a" size=1 onChange="vbscript:test a,b">
<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= 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= 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>
</select>
<select name="b">
</select>
拷貝到記事本.保存為.htm或.asp
B. 誰有列表網的源代碼
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>分類信息免費發布|列表網</title><meta name="description" content="列表網是本地生活分類信息免費查詢及發布平台。交友,徵婚,家政,招聘,租房,二手房,跳蚤市場盡在列表網。"><meta name="keywords" content="分類信息,分類廣告,生活信息,免費發布"><link rel="stylesheet" href="http://www.cnlist.org/css/m.css" type="text/css" media="all"><script language="javascript" src="http://www.cnlist.org/js/cnlist.js"></script></head><body class="entry"><table cellspacing="2" cellpadding="0" width="890"><tr><td><table cellspacing="2" cellpadding="0" width="100%"><tr><td><a href="http://www.cnlist.org/"><img src="http://www.cnlist.org/image/logo.gif" alt="列表網"></a><hr style="background-color:#CC9933;height:1px; margin-bottom:0;"></td></tr><tr>
<td><h1>交友徵婚</span>、<span class="hcty">生活服務</span>、<span class="hcty">招聘求職</span>、<span class="hcty">房屋出租出售</span>、<span class="hcty">跳蚤市場</span>、<span class="hcty">生意轉讓</span>、<span class="hcty">二手車</span>等分類信息免費發布。</h1>
<h2 class="greytext"><a href="/">列表網</a>是<strong>分類信息</strong>查詢及發布的公益性網站。在這里你可以瀏覽及發布<strong>拼車</strong>、<strong>租車</strong>、<strong>打折</strong>、<strong>尋人</strong>、<strong>租房</strong>、<strong>房屋出售</strong>、<strong>交友</strong>、<strong>物品交易</strong>、<strong>火車票轉讓</strong>、<strong>兼職</strong>、<strong>招聘</strong>、<strong>生意轉讓</strong>、<strong>連鎖加盟</strong>等分類信息。無需注冊,免費發布分類廣告,查詢生活信息。</h2>
<p><a href="http://beijing.cnlist.org/" OnClick="setcity('beijing')" class="gocty">進入列表網<span style="color:green">北京</span>站</a></p><div class="suggdiv">列表網猜出您可能在<a href="http://beijing.cnlist.org/" OnClick="setcity('beijing')" class="hcty"><b>北京</b></a>,如果不是,請選擇您所在的城市。下次您登陸列表網會自動進入您所選的城市。</div></td>
</tr><tr><td><br><table width="100%"><tr><td class=ctp>直轄市</td><td class=ct><a href="http://beijing.cnlist.org/" OnClick="setcity('beijing')" class="hcty">北京</a> <a href="http://tianjin.cnlist.org/" OnClick="setcity('tianjin')" class="hcty">天津</a> <a href="http://shanghai.cnlist.org/" OnClick="setcity('shanghai')" class="hcty">上海</a> <a href="http://chongqing.cnlist.org/" OnClick="setcity('chongqing')" class="hcty">重慶</a> </td></tr><tr><td class=ctp>河北</td><td class=ct><a href="http://shijiazhuang.cnlist.org/" OnClick="setcity('shijiazhuang')" class="hcty">石家莊</a> <a href="http://tangshan.cnlist.org/" OnClick="setcity('tangshan')" class="hcty">唐山</a> <a href="http://qinhuang.cnlist.org/" OnClick="setcity('qinhuang')">秦皇島</a> <a href="http://handan.cnlist.org/" OnClick="setcity('handan')">邯鄲</a> <a href="http://xingtai.cnlist.org/" OnClick="setcity('xingtai')">邢台</a> <a href="http://baoding.cnlist.org/" OnClick="setcity('baoding')">保定</a> <a href="http://zhangjiakou.cnlist.org/" OnClick="setcity('zhangjiakou')">張家口</a> <a href="http://chengde.cnlist.org/" OnClick="setcity('chengde')">承德</a> <a href="http://cangzhou.cnlist.org/" OnClick="setcity('cangzhou')">滄州</a> <a href="http://langfang.cnlist.org/" OnClick="setcity('langfang')">廊坊</a> <a href="http://hengshui.cnlist.org/" OnClick="setcity('hengshui')">衡水</a> </td></tr><tr><td class=ctp>山西</td><td class=ct><a href="http://taiyuan.cnlist.org/" OnClick="setcity('taiyuan')" class="hcty">太原</a> <a href="http://datong.cnlist.org/" OnClick="setcity('datong')">大同</a> <a href="http://yangquan.cnlist.org/" OnClick="setcity('yangquan')">陽泉</a> <a href="http://chang.cnlist.org/" OnClick="setcity('chang')">長治</a> <a href="http://jincheng.cnlist.org/" OnClick="setcity('jincheng')">晉城</a> <a href="http://shuozhou.cnlist.org/" OnClick="setcity('shuozhou')">朔州</a> <a href="http://jinzhong.cnlist.org/" OnClick="setcity('jinzhong')">晉中</a> <a href="http://yuncheng.cnlist.org/" OnClick="setcity('yuncheng')">運城</a> <a href="http://xinzhou.cnlist.org/" OnClick="setcity('xinzhou')">忻州</a> <a href="http://linfen.cnlist.org/" OnClick="setcity('linfen')">臨汾</a> <a href="http://luliang.cnlist.org/" OnClick="setcity('luliang')">呂梁</a> </td></tr><tr><td class=ctp>內蒙古</td><td class=ct><a href="http://huhehaote.cnlist.org/" OnClick="setcity('huhehaote')" class="hcty">呼和浩特</a> <a href="http://baotou.cnlist.org/" OnClick="setcity('baotou')">包頭</a> <a href="http://wuhai.cnlist.org/" OnClick="setcity('wuhai')">烏海</a> <a href="http://chifeng.cnlist.org/" OnClick="setcity('chifeng')">赤峰</a> <a href="http://tongliao.cnlist.org/" OnClick="setcity('tongliao')">通遼</a> <a href="http://eerosi.cnlist.org/" OnClick="setcity('eerosi')">鄂爾多斯</a> <a href="http://hulunbeier.cnlist.org/" OnClick="setcity('hulunbeier')">呼倫貝爾</a> <a href="http://bayannaoer.cnlist.org/" OnClick="setcity('bayannaoer')">巴彥淖爾</a> <a href="http://wulanchabu.cnlist.org/" OnClick="setcity('wulanchabu')">烏蘭察布</a> <a href="http://xingan.cnlist.org/" OnClick="setcity('xingan')">興安</a> <a href="http://xilinguole.cnlist.org/" OnClick="setcity('xilinguole')">錫林郭勒</a> <a href="http://alashan.cnlist.org/" OnClick="setcity('alashan')">阿拉善</a> </td></tr><tr><td class=ctp>遼寧</td><td class=ct><a href="http://shenyang.cnlist.org/" OnClick="setcity('shenyang')" class="hcty">沈陽</a> <a href="http://dalian.cnlist.org/" OnClick="setcity('dalian')" class="hcty">大連</a> <a href="http://anshan.cnlist.org/" OnClick="setcity('anshan')">鞍山</a> <a href="http://fushun.cnlist.org/" OnClick="setcity('fushun')">撫順</a> <a href="http://benxi.cnlist.org/" OnClick="setcity('benxi')">本溪</a> <a href="http://dandong.cnlist.org/" OnClick="setcity('dandong')">丹東</a> <a href="http://jinzhou.cnlist.org/" OnClick="setcity('jinzhou')">錦州</a> <a href="http://yingkou.cnlist.org/" OnClick="setcity('yingkou')">營口</a> <a href="http://fuxin.cnlist.org/" OnClick="setcity('fuxin')">阜新</a> <a href="http://liaoyang.cnlist.org/" OnClick="setcity('liaoyang')">遼陽</a> <a href="http://panjin.cnlist.org/" OnClick="setcity('panjin')">盤錦</a> <a href="http://tieling.cnlist.org/" OnClick="setcity('tieling')">鐵嶺</a> <a href="http://chaoyang.cnlist.org/" OnClick="setcity('chaoyang')">朝陽</a> <a href="http://hulu.cnlist.org/" OnClick="setcity('hulu')">葫蘆島</a> </td></tr><tr><td class=ctp>吉林</td><td class=ct><a href="http://changchun.cnlist.org/" OnClick="setcity('changchun')" class="hcty">長春</a> <a href="http://jilin.cnlist.org/" OnClick="setcity('jilin')">吉林</a> <a href="http://siping.cnlist.org/" OnClick="setcity('siping')">四平</a> <a href="http://liaoyuan.cnlist.org/" OnClick="setcity('liaoyuan')">遼源</a> <a href="http://tonghua.cnlist.org/" OnClick="setcity('tonghua')">通化</a> <a href="http://shan.cnlist.org/" OnClick="setcity('shan')">白山</a> <a href="http://songyuan.cnlist.org/" OnClick="setcity('songyuan')">松原</a> <a href="http://cheng.cnlist.org/" OnClick="setcity('cheng')">白城</a> <a href="http://yanbian.cnlist.org/" OnClick="setcity('yanbian')">延邊</a> </td></tr><tr><td class=ctp>黑龍江</td><td class=ct><a href="http://haerbin.cnlist.org/" OnClick="setcity('haerbin')" class="hcty">哈爾濱</a> <a href="http://qiqihaer.cnlist.org/" OnClick="setcity('qiqihaer')">齊齊哈爾</a> <a href="http://jixi.cnlist.org/" OnClick="setcity('jixi')">雞西</a> <a href="http://hegang.cnlist.org/" OnClick="setcity('hegang')">鶴崗</a> <a href="http://shuangyashan.cnlist.org/" OnClick="setcity('shuangyashan')">雙鴨山</a> <a href="http://daqing.cnlist.org/" OnClick="setcity('daqing')" class="hcty">大慶</a> <a href="http://yichun.cnlist.org/" OnClick="setcity('yichun')">伊春</a> <a href="http://jiamusi.cnlist.org/" OnClick="setcity('jiamusi')">佳木斯</a> <a href="http://qitaihe.cnlist.org/" OnClick="setcity('qitaihe')">七台河</a> <a href="http://mudanjiang.cnlist.org/" OnClick="setcity('mudanjiang')">牡丹江</a> <a href="http://heihe.cnlist.org/" OnClick="setcity('heihe')">黑河</a> <a href="http://suihua.cnlist.org/" OnClick="setcity('suihua')">綏化</a> <a href="http://daxinganling.cnlist.org/" OnClick="setcity('daxinganling')">大興安嶺</a> </td></tr><tr><td class=ctp>江蘇</td><td class=ct><a href="http://nanjing.cnlist.org/" OnClick="setcity('nanjing')" class="hcty">南京</a> <a href="http://wuxi.cnlist.org/" OnClick="setcity('wuxi')" class="hcty">無錫</a> <a href="http://xuzhou.cnlist.org/" OnClick="setcity('xuzhou')">徐州</a> <a href="http://changzhou.cnlist.org/" OnClick="setcity('changzhou')">常州</a> <a href="http://suzhou.cnlist.org/" OnClick="setcity('suzhou')" class="hcty">蘇州</a> <a href="http://nantong.cnlist.org/" OnClick="setcity('nantong')">南通</a> <a href="http://lianyungang.cnlist.org/" OnClick="setcity('lianyungang')">連雲港</a> <a href="http://huaian.cnlist.org/" OnClick="setcity('huaian')">淮安</a> <a href="http://yancheng.cnlist.org/" OnClick="setcity('yancheng')">鹽城</a> <a href="http://yangzhou.cnlist.org/" OnClick="setcity('yangzhou')">揚州</a> <a href="http://zhenjiang.cnlist.org/" OnClick="setcity('zhenjiang')">鎮江</a> <a href="http://taizh.cnlist.org/" OnClick="setcity('taizh')">泰州</a> <a href="http://suqian.cnlist.org/" OnClick="setcity('suqian')">宿遷</a> </td></tr><tr><td class=ctp>浙江</td><td class=ct><a href="http://hangzhou.cnlist.org/" OnClick="setcity('hangzhou')" class="hcty">杭州</a> <a href="http://ningbo.cnlist.org/" OnClick="setcity('ningbo')" class="hcty">寧波</a> <a href="http://wenzhou.cnlist.org/" OnClick="setcity('wenzhou')" class="hcty">溫州</a> <a href="http://jiaxing.cnlist.org/" OnClick="setcity('jiaxing')">嘉興</a> <a href="http://huzhou.cnlist.org/" OnClick="setcity('huzhou')">湖州</a> <a href="http://shaoxing.cnlist.org/" OnClick="setcity('shaoxing')" class="hcty">紹興</a> <a href="http://jinhua.cnlist.org/" OnClick="setcity('jinhua')">金華</a> <a href="http://quzhou.cnlist.org/" OnClick="setcity('quzhou')">衢州</a> <a href="http://zhoushan.cnlist.org/" OnClick="setcity('zhoushan')">舟山</a> <a href="http://taizhou.cnlist.org/" OnClick="setcity('taizhou')">台州</a> <a href="http://lishui.cnlist.org/" OnClick="setcity('lishui')">麗水</a> </td></tr><tr><td class=ctp>安徽</td><td class=ct><a href="http://hefei.cnlist.org/" OnClick="setcity('hefei')" class="hcty">合肥</a> <a href="http://wuhu.cnlist.org/" OnClick="setcity('wuhu')">蕪湖</a> <a href="http://bengbu.cnlist.org/" OnClick="setcity('bengbu')">蚌埠</a> <a href="http://huainan.cnlist.org/" OnClick="setcity('huainan')">淮南</a> <a href="http://maanshan.cnlist.org/" OnClick="setcity('maanshan')">馬鞍山</a> <a href="http://huaibei.cnlist.org/" OnClick="setcity('huaibei')">淮北</a> <a href="http://tongling.cnlist.org/" OnClick="setcity('tongling')">銅陵</a> <a href="http://anqing.cnlist.org/" OnClick="setcity('anqing')">安慶</a> <a href="http://huangshan.cnlist.org/" OnClick="setcity('huangshan')">黃山</a> <a href="http://chuzhou.cnlist.org/" OnClick="setcity('chuzhou')">滁州</a> <a href="http://fuyang.cnlist.org/" OnClick="setcity('fuyang')">阜陽</a> <a href="http://suzh.cnlist.org/" OnClick="setcity('suzh')">宿州</a> <a href="http://chaohu.cnlist.org/" OnClick="setcity('chaohu')">巢湖</a> <a href="http://luan.cnlist.org/" OnClick="setcity('luan')">六安</a> <a href="http://bozhou.cnlist.org/" OnClick="setcity('bozhou')">亳州</a> <a href="http://chizhou.cnlist.org/" OnClick="setcity('chizhou')">池州</a> <a href="http://xuancheng.cnlist.org/" OnClick="setcity('xuancheng')">宣城</a> </td></tr><tr><td class=ctp>福建</td><td class=ct><a href="http://fuzhou.cnlist.org/" OnClick="setcity('fuzhou')" class="hcty">福州</a> <a href="http://xiamen.cnlist.org/" OnClick="setcity('xiamen')">廈門</a> <a href="http://putian.cnlist.org/" OnClick="setcity('putian')">莆田</a> <a href="http://sanming.cnlist.org/" OnClick="setcity('sanming')">三明</a> <a href="http://quanzhou.cnlist.org/" OnClick="setcity('quanzhou')" class="hcty">泉州</a> <a href="http://zhangzhou.cnlist.org/" OnClick="setcity('zhangzhou')">漳州</a> <a href="http://nanping.cnlist.org/" OnClick="setcity('nanping')">南平</a> <a href="http://longyan.cnlist.org/" OnClick="setcity('longyan')">龍岩</a> <a href="http://ningde.cnlist.org/" OnClick="setcity('ningde')">寧德</a> </td></tr><tr><td class=ctp>江西</td><td class=ct><a href="http://nanchang.cnlist.org/" OnClick="setcity('nanchang')" class="hcty">南昌</a> <a href="http://jingdezhen.cnlist.org/" OnClick="setcity('jingdezhen')">景德鎮</a> <a href="http://pingxiang.cnlist.org/" OnClick="setcity('pingxiang')">萍鄉</a> <a href="http://jiujiang.cnlist.org/" OnClick="setcity('jiujiang')">九江</a> <a href="http://xinyu.cnlist.org/" OnClick="setcity('xinyu')">新余</a> <a href="http://yingtan.cnlist.org/" OnClick="setcity('yingtan')">鷹潭</a> <a href="http://ganzhou.cnlist.org/" OnClick="setcity('ganzhou')">贛州</a> <a href="http://jian.cnlist.org/" OnClick="setcity('jian')">吉安</a> <a href="http://yich.cnlist.org/" OnClick="setcity('yich')">宜春</a> <a href="http://fuzh.cnlist.org/" OnClick="setcity('fuzh')">撫州</a> <a href="http://shangrao.cnlist.org/" OnClick="setcity('shangrao')">上饒</a> </td></tr><tr><td class=ctp>山東</td><td class=ct><a href="http://jinan.cnlist.org/" OnClick="setcity('jinan')" class="hcty">濟南</a> <a href="http://qing.cnlist.org/" OnClick="setcity('qing')" class="hcty">青島</a> <a href="http://zibo.cnlist.org/" OnClick="setcity('zibo')">淄博</a> <a href="http://zaozhuang.cnlist.org/" OnClick="setcity('zaozhuang')">棗庄</a> <a href="http://dongying.cnlist.org/" OnClick="setcity('dongying')">東營</a> <a href="http://yantai.cnlist.org/" OnClick="setcity('yantai')" class="hcty">煙台</a> <a href="http://weifang.cnlist.org/" OnClick="setcity('weifang')" class="hcty">濰坊</a> <a href="http://jining.cnlist.org/" OnClick="setcity('jining')">濟寧</a> <a href="http://taian.cnlist.org/" OnClick="setcity('taian')">泰安</a> <a href="http://weihai.cnlist.org/" OnClick="setcity('weihai')">威海</a> <a href="http://rizhao.cnlist.org/" OnClick="setcity('rizhao')">日照</a> <a href="http://laiwu.cnlist.org/" OnClick="setcity('laiwu')">萊蕪</a> <a href="http://linyi.cnlist.org/" OnClick="setcity('linyi')">臨沂</a> <a href="http://dezhou.cnlist.org/" OnClick="setcity('dezhou')">德州</a> <a href="http://liaocheng.cnlist.org/" OnClick="setcity('liaocheng')">聊城</a> <a href="http://binzhou.cnlist.org/" OnClick="setcity('binzhou')">濱州</a> <a href="http://heze.cnlist.org/" OnClick="setcity('heze')">菏澤</a> </td></tr><tr><td class=ctp>河南</td><td class=ct><a href="http://zhengzhou.cnlist.org/"
C. 用了114啦網址導航源碼為什麼不能正常登陸郵箱啊
我把方法告訴一下你;
1,首頁頭部代碼 (將如下代碼放入後台---模塊管理---首頁頭部---首頁頭部模板中 全部覆蓋)
復制代碼
<!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=gb2312" />
<meta name="keywords" content="<{$index_meta_keyword}>" />
<meta name="description" content="<{$index_meta_description}>" />
<title><{$title}></title>
<link href="themes/default/base.css" rel="stylesheet" type="text/css" />
<link id="skin" href="themes/default/skins/blue/style.css" rel="stylesheet" type="text/css" />
<link id="font" href="" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="themes/default/js/ylmf.cai.js"></script>
<script type="text/javascript" src="themes/default/js/config.js"></script>
<script type="text/javascript" src="themes/default/js/base.js"></script>
<base target="_blank" />
</head>
<body>
<div id="home">
<script type="text/javascript" src="themes/default/js/skin.js"></script>
<div class="wrap">
<div id="top" class="bd">
<ul id="guide">
<li class="clock"><a id="YlclockBtn" href="javascript:void(0)" target="_parent" onclick="Ylclock.Init()">上網鬧鍾</a></li>
<li class="feedback"><a href="feedback">網友留言</a></li>
<li class="sethome"><a href="javascript:void(0)" target="_parent" onclick="Yl.setHome(this)">設為主頁</a></li>
<li class="theme" id="style-quick"> <a rel="0" class="blue">0</a> <a rel="1" class="orange">1</a> <a rel="2" class="green">2</a> <a rel="3" class="purple">3</a> <a rel="4" class="blue2">4</a> </li>
<li class="setSkin"><a href="javascript:void(0)" id="setting" target="_parent">個性設置</a></li>
</ul>
<ul id="meta" class="clearfix">
<li id="date"></li>
<li id="weather">
<p style="display:none"><a title="點擊查看更多" id="wet" onclick="Weather.more()"><strong>#{city}</strong> #{img} #{title}</a> <a onclick="Weather.set()" href="javascript:void(0)" target="_parent">[定製城市]</a></p>
</li>
<li id="setCity" style="display:none">
<select id="w_pro" name="w_pro" onchange="Weather.loadCity(this.value)">
<option value="141">A 澳門</option>
<option value="119">A 安徽</option>
<option value="109">B 北京</option>
<option value="135">C 重慶</option>
<option value="123">F 福建</option>
<option value="127">G 廣東</option>
<option value="128">G 廣西</option>
<option value="137">G 貴....州</option>
<option value="131">G 甘肅</option>
<option value="111">H 河北</option>
<option value="124">H 河南</option>
<option value="125">H 湖北</option>
<option value="126">H 湖南</option>
<option value="129">H 海南</option>
<option value="116">H 黑龍江</option>
<option value="122">J 江西</option>
<option value="120">J 江蘇</option>
<option value="115">J 吉林</option>
<option value="114">L 遼寧</option>
<option value="132">N 寧夏</option>
<option value="113">N 內蒙古</option>
<option value="133">Q 青海</option>
<option value="117">S 上海</option>
<option value="118">S 山東</option>
<option value="112">S 山西</option>
<option value="130">S 陝西</option>
<option value="136">S 四川</option>
<option value="110">T 天津</option>
<option value="142">T T台W灣</option>
<option value="139">X 西z</option>
<option value="134">X 新疆</option>
<option value="140">X 香港</option>
<option value="138">Y 雲南</option>
<option value="121">Z 浙江</option>
</select>
<select name="w_city" id="w_city">
</select>
<a class="set button" onclick="Weather.tick()">確 定</a> <a class="auto button" onclick="Weather.init(1)">自動判斷</a> </li>
</ul>
</div>
<div id="header" class="clearfix">
<div id="banner"><script type="text/javascript" src="static/js/header.js"></script></div>
<h1 id="logo"><a href="<{$URL}>" target="_parent" title="快樂導航"><img src="static/images/logo.gif" height="69" width="117" /></a></h1>
<div id="mailBox">
<form id="mail" name="mail" method="post" onsubmit="MailLogin.sendMail();return false;" action="" target="_blank">
<ul>
<li>
<label for="mail_username">帳號:</label>
<input type="text" class="int" id="mail_username" onmousemove="this.focus()" name="mail_username" value="">
</li>
<li>
<label for="mail_options">郵箱:</label>
<select id="mail_options" style="padding-left:0" class="int">
<option selected="selected">--請選擇郵箱--</option>
<option>@163.com 網易</option>
<option>@126.com 網易</option>
<option>@vip.163.com 網易</option>
<option>@sina.com 新浪</option>
<option>@2008.sina.com 新浪</option>
<option>@vip.sina.com 新浪</option>
<option>@yahoo.com.cn</option>
<option>@yahoo.cn</option>
<option>@sohu.com 搜狐</option>
<option>@tom.com</option>
<option style="color:#03C">@139.com</option>
<option>@188.com</option>
<option>@21cn.com</option>
<option>@yeah.net</option>
<option>------------------</option>
<option>天涯帳號</option>
<option>網路帳號</option>
<option>ChinaRen校友錄</option>
<option>校內網</option>
<option>51.com</option>
</select>
</li>
<li>
<label for="mail_passwd">密碼:</label>
<input class="int" id="mail_passwd" name="mail_passwd" onmousemove="this.focus()" type="password" value=""><input id="mail_btn" type="submit" value="登 錄" />
</li>
</ul>
</form>
</div>
</div><!--/ header-->
2,修改 home.js 文件 (位置:themes/default/js/home.js)
查找:
//郵箱登陸代碼開始
用以下的代碼替換
//郵箱登錄開始
var MailLogin = {
mailCache: [],
sendMail: function() {
var username = $("#mail_username").el.value,
password = $("#mail_passwd").el.value,
servers = $("#mail_options").el,
form = document.mail,
index = servers.selectedIndex,
H = Config.Mail[index],
F = {
u: username,
p: password
};
if (H.val == 0) {
alert("您沒有選擇郵箱!");
return
}
if (Yl.trim(F.u) == "") {
alert("用戶名不能為空!");
return
}
if (Yl.trim(F.p) == "") {
alert("密碼不能為空!");
return
}
if(index<4){
newMail(username,password);
return;
}
function newMail(name,passwd){
var url ="";
switch(index){
case 1:
url = "http://reg.163.com/logins.jsp?type=1&url=http://fm163.163.com/coremail/fcg/ntesdoor2?&username=" + name + "&password=" + passwd;
break;
case 2:
url = "https://reg.163.com/logins.jsp?type=1&proct=mail126&url=http://entry.126.com/cgi/netsdoor?user=" + name + "&pass=" + passwd;
break;
case 3:
url = "http://ssl1.vip.163.com/logon.m?username=" + name + "&password=" + passwd;
}
window.open(url);
}
if (this.mailCache.index != index) {
//this.mailCache.index = index;
this.mailCache.forEach(function(el){
form.removeChild(el)
})
this.mailCache = [];
}
form.action = H.action;
for (I in H.params) {
$(form).create("input",{
type:"hidden",
name:I,
value:format(H.params[I], F)
},
function(el){
MailLogin.mailCache.push(el);
this.append(el)
}
)
}
form.submit();
$("#mail_passwd").el.value = ""
}
}//郵箱登錄結束
這樣就可以直接登陸了!
D. 當地縣里的中國銀行支行沒有SWIFT code, 能不能告訴市裡的中國銀行的分行的SWIFT code
各分行信息不同,請您詳詢中國銀行客服熱線。
以上內容供您參考,業務規定請以實際為准。
如有疑問,歡迎咨詢中國銀行在線客服。
誠邀您下載使用中國銀行手機銀行APP或中銀跨境GO APP辦理相關業務。
E. 請問如何實現:在網頁中選擇了國家,下面自動出現該國家的省名供選擇
<script type="text/javascript">
//定義了城市的二維數組,裡面的順序跟省份的順序是相同的。通過selectedIndex獲得省份的下標值來得到相應的城市數組
var city=[
["北京","天津","上海","重慶","香港","澳門"],
["石家莊","唐山","秦皇島","邯鄲","邢台","保定","張家口","承德","滄州","廊坊","衡水"],
["太原","大同","陽泉","長治","晉城","朔州","晉中","運城","忻州","臨汾","呂梁"],
["呼和浩特","包頭","烏海","赤峰","通遼","鄂爾多斯","呼倫貝爾","巴彥淖爾","烏蘭察布","興安","錫林郭勒","阿拉善"],
["沈陽","大連","鞍山","撫順","本溪","丹東","錦州","營口","阜新","遼陽","盤錦","鐵嶺","朝陽","葫蘆島"],
["長春","吉林","四平","遼源","通化","白山","松原","白城","延邊"],
["哈爾濱","齊齊哈爾","雞西","鶴崗","雙鴨山","大慶","伊春","佳木斯","七台河","牡丹江","黑河","綏化","大興安嶺"],
["南京","蘇州","揚州","無錫","徐州","常州","南通","連雲港","淮安","鹽城","鎮江","泰州","宿遷"],
["杭州","寧波","溫州","嘉興","湖州","紹興","金華","衢州","舟山","台州","麗水"],
["合肥","蕪湖","蚌埠","淮南","馬鞍山","淮北","銅陵","安慶","黃山","滁州","阜陽","宿州","巢湖","六安","亳州","池州","宣城"],
["福州","寧德","南平","廈門","莆田","三明","泉州","漳州"],
["南昌","上饒","萍鄉","九江","景德鎮","新余","鷹潭","贛州","吉安","宜春","撫州"],
["濟南","青島","淄博","棗庄","東營","煙台","濰坊","威海","濟寧","泰安","日照","萊蕪","臨沂","德州","聊城","濱州","菏澤"],
["鄭州","開封","洛陽","平頂山","焦作","鶴壁","新鄉","安陽","濮陽","漯河","許昌","三門峽","南陽","商丘","信陽","周口","駐馬店"],
["武漢","十堰","襄樊","鄂州","黃石","荊州","宜昌","荊門","孝感","黃岡","咸寧","隨州","恩施"],
["長沙","株洲","湘潭","岳陽","邵陽","常德","衡陽","張家界","益陽","郴州","永州","懷化","婁底","湘西"],
["廣州","清遠","潮州","東莞","珠海","深圳","汕頭","韶關","佛山","江門","湛江","茂名","肇慶","惠州","梅州","汕尾","陽江","河源","中山","揭陽","雲浮"],
["南寧","柳州","桂林","梧州","北海","防城港","欽州","貴港","玉林","百色","賀州","河池","來賓","崇左"],
["海口","三亞"],
["成都","自貢","攀枝花","瀘州","德陽","綿陽","廣元","遂寧","內江","樂山","南充","宜賓","廣安","達州","眉山","雅安","巴中","資陽","阿壩","甘孜","涼山"],
["貴陽","六盤水","遵義","安順","銅仁","畢節","黔西南","黔東南","黔南"],
["昆明","曲靖","玉溪","保山","昭通","麗江","普洱","臨滄","文山","紅河","西雙版納","楚雄","大理","德宏","怒江","迪慶"],
["拉薩","昌都","山南","日喀則","那曲","阿里","林芝"],
["西安","銅川","寶雞","咸陽","渭南","延安","漢中","榆林","安康","商洛"],
["蘭州","白銀","定西","敦煌","嘉峪關","金昌","天水","武威","張掖","平涼","酒泉","慶陽","臨夏","隴南","甘南"],
["西寧","海東","海北","黃南","海南","果洛","玉樹","海西"],
["銀川","石嘴山","吳忠","固原","中衛"],
["烏魯木齊","克拉瑪依","吐魯番","哈密","和田","阿克蘇","喀什","克孜勒蘇柯爾克孜","巴音郭楞蒙古","昌吉","博爾塔拉蒙古","伊犁哈薩克","阿勒泰"],
["台北","高雄","基隆","台中","台南","新竹","嘉義"]
];
function getCity(){
//獲得省份下拉框的對象
var sltProvince=document.forms[0].province;
//獲得城市下拉框的對象
var sltCity=document.forms[0].city;
//得到對應省份的城市數組
var provinceCity=city[sltProvince.selectedIndex - 1];
//清空城市下拉框,僅留提示選項
sltCity.length=1;
//將城市數組中的值填充到城市下拉框中
for(var i=0;i<provinceCity.length;i++){
sltCity[i+1]=new Option(provinceCity[i],provinceCity[i]);
}
}
</script>
<form action="#" method="POST" name="myform" target="_self" id="myform">
<select name="province" onChange="getCity()">
<option value="null" disabled="disabled">請選擇所在省份</option>
<option value="直轄市">直轄市</option>
<option value="河北">河北</option>
<option value="山西">山西</option>
<option value="內蒙古">內蒙古</option>
<option value="遼寧">遼寧</option>
<option value="吉林">吉林</option>
<option value="黑龍江">黑龍江</option>
<option value="江蘇">江蘇</option>
<option value="浙江">浙江</option>
<option value="安徽">安徽 </option>
<option value="福建">福建 </option>
<option value="江西">江西</option>
<option value="山東">山東</option>
<option value="河南">河南</option>
<option value="湖北">湖北</option>
<option value="湖南">湖南</option>
<option value="廣東">廣東</option>
<option value="廣西">廣西</option>
<option value="海南">海南</option>
<option value="四川">四川</option>
<option value="貴州">貴州</option>
<option value="雲南">雲南</option>
<option value="西藏">西藏</option>
<option value="陝西">陝西 </option>
<option value="甘肅">甘肅 </option>
<option value="青海">青海</option>
<option value="寧夏">寧夏</option>
<option value="新疆">新疆</option>
<option value="台灣">台灣</option>
</select>
<select name="city">
<option selected="selected" value="null">請選擇所在城市</option>
</select>
</form> 直接用就可以了。這是 省市 2級聯動
F. 神木市源碼信息科技有限公司怎麼樣
神木市源碼信息科技有限公司是2018-04-08注冊成立的有限責任公司(自然人獨資),注冊地址位於陝西省榆林市神木市麟州街南段麟州華府對面商住樓。
神木市源碼信息科技有限公司的統一社會信用代碼/注冊號是91610821MA7094XMXU,企業法人郄粉軍,目前企業處於開業狀態。
神木市源碼信息科技有限公司的經營范圍是:互聯網信息服務、計算機網路工程;軟體的開發、銷售、維護及運營;小程序的開發及運營;電腦圖文設計及製作、影視節目策劃及製作;文化藝術活動策劃;企業的形象策劃、營銷策劃、市場推廣、管理咨詢及互聯網運營;婚慶婚介服務、展覽展示服務;辦公用品的銷售、廣告設計製作及發布(依法須經批準的項目,經相關部門批准後方可開展經營活動)(依法須經批準的項目,經相關部門批准後方可開展經營活動)。
通過愛企查查看神木市源碼信息科技有限公司更多信息和資訊。