`
lzj0470
  • 浏览: 1276951 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

js 联级菜单

    博客分类:
  • js
阅读更多

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>启超商务版</title>
<link rel="stylesheet" type="text/css" href="css/main.css">
</head>
<body>
<div class="title">
关键字&nbsp;&nbsp;&nbsp;&nbsp;
公司名:<input type="radio" name="searchType" value="1" onclick="searched('yellowPage')" />
&nbsp;&nbsp;&nbsp;&nbsp;
供应:<input type="radio" name="searchType" value="2" onclick="searched('yellowPage')" />
&nbsp;&nbsp;&nbsp;&nbsp;
供求:<input type="radio" name="searchType" value="3" onclick="searched('yellowPage')" />
</div>
<form name="com" id="sr_fm" action="" >
<div class="title">
 <input type="text" name="keyword" value="" style="width:100%" />
</div>
<div class="title">
<select name="Industry" id="Industry" style="width:100%;">
   <option value="0">请选择行业</option>
   <option value="1204">IT及通信产品</option>
   <option value="1500">机械及工业制品</option>
   <option value="1816">电子电工</option>
   <option value="2008">家居用品</option>
   <option value="2238">建筑、建材</option>
   <option value="2372">能源、化工</option>
   <option value="2606">冶金矿产</option>
   <option value="2641">家用电器</option>
   <option value="2746">纺织、皮革</option>
   <option value="2843">服装、鞋帽、箱包</option>
   <option value="2980">玩具、礼品、工艺品、饰品</option>
   <option value="3179">食品、饮料、农产品</option>
   <option value="3291">办公、文教</option>
   <option value="3369">交通运输</option>
   <option value="3477">运动、休闲、娱乐</option>
   <option value="3510">印刷、出版、包装</option>
   <option value="3540">安全、防护</option>
   <option value="3562">环保</option>
   <option value="3603">商务服务</option>
</select>
</div>
<div class="title">
<script LANGUAGE="javascript">
<!--
var onecount;
onecount=0;
   
subcat = new Array();

function changeProvince(locationid)
{
    document.all.selRegion.length = 0;
    var locationid=locationid;
    var i;
    document.all.selRegion.options[0] = new Option('所有城市','');
    for (i=0;i < onecount; i++)
    {
        if (subcat[i][1] == locationid)
        {
            document.all.selRegion.options[document.all.selRegion.length] = new Option(subcat[i][0], subcat[i][2]);
        }       
    }       
}   

function changeProvince2(locationid,selectid)
{
    document.all.selRegion.length = 0;
    var selectedIndex = -1;
    var locationid=locationid;
    var i;
    document.all.selRegion.options[0] = new Option('所有城市','');   
  
    for (i=0;i < onecount; i++)
    {
        if (subcat[i][1] == locationid)
        {
            document.all.selRegion.options[document.all.selRegion.length] = new Option(subcat[i][0], subcat[i][2]);

            if(subcat[i][2] == selectid)
            {
              selectedIndex = document.all.selRegion.length-1;
            }
           
        }       
    }       
   
    document.all.selRegion.selectedIndex = selectedIndex;

function GetRegionId()
{
   if(document.all.selRegion.selectedIndex <= 0)
   {
       return document.all.SearchBar1_Region21_selProvince.options[document.all.SearchBar1_Region21_selProvince.selectedIndex].value;       
   }
   else
   {
       return document.all.selRegion.options[document.all.selRegion.selectedIndex].value;
   }
}

function chkProvince(nowValue)
{
 
 for(var i=0;i< document.all.SearchBar1_Region21_selProvince.options.length;i++)
 {
  if(document.all.SearchBar1_Region21_selProvince.options[i].value == nowValue)
  {
   document.all.SearchBar1_Region21_selProvince.selectedIndex = i;
   break;
  }
 }
 changeProvince(nowValue);
}

function chkRegion(nowValue)
{
 for(var i=0;i< document.all.selRegion.options.length;i++)
 {
  if(document.all.selRegion.options[i].value == nowValue)
  {
   document.all.selRegion.selectedIndex = i;
   break;
  }
 }
}

//-->
</script>
<select name="Region" id="SearchBar1_Region21_selProvince" onChange="changeProvince(this.options[this.selectedIndex].value)" style="width:30% ">
   <option value="0">所有省份</option>
   <option value="366">北京</option>
   <option value="386">天津</option>
   <option value="406">河北</option>
   <option value="568">山西</option>
   <option value="686">内蒙古</option>
   <option value="787">辽宁</option>
   <option value="860">吉林</option>
   <option value="918">黑龙江</option>
   <option value="1012">上海</option>
   <option value="1034">江苏</option>
   <option value="1121">浙江</option>
   <option value="1208">安徽</option>
   <option value="1303">福建</option>
   <option value="1383">江西</option>
   <option value="1485">山东</option>
   <option value="1612">河南</option>
   <option value="1760">湖北</option>
   <option value="1851">湖南</option>
   <option value="1970">广东</option>
   <option value="2087">广西</option>
   <option value="2190">海南</option>
   <option value="2213">四川</option>
   <option value="2426">贵州</option>
   <option value="2515">云南</option>
   <option value="2657">西藏</option>
   <option value="2743">陕西</option>
   <option value="2851">甘肃</option>
   <option value="2945">青海</option>
   <option value="2994">宁夏</option>
   <option value="3019">新疆</option>
   <option value="3268">重庆</option>
   <option value="3437">香港</option>
   <option value="3438">澳门</option>
   <option value="3439">台湾</option>
  </select>
<select name="selRegion" style="width:50% ">
 <option selected value="0">所有城市</option>
</select>
<script>subcat[0] = new Array("北京市","366","367");subcat[1] = new Array("天津市","386","387");subcat[2] = new Array("石家庄市","406","407");subcat[3] = new Array("唐山市","406","426");subcat[4] = new Array("秦皇岛市","406","438");subcat[5] = new Array("邯郸市","406","444");subcat[6] = new Array("邢台市","406","461");subcat[7] = new Array("张家口市","406","484");subcat[8] = new Array("承德市","406","499");subcat[9] = new Array("沧州市","406","509");subcat[10] = new Array("廊坊市","406","525");subcat[11] = new Array("保定市","406","535");subcat[12] = new Array("衡水市","406","556");subcat[13] = new Array("太原市","568","569");subcat[14] = new Array("大同市","568","575");subcat[15] = new Array("阳泉市","568","584");subcat[16] = new Array("长治市","568","588");subcat[17] = new Array("晋城","568","601");subcat[18] = new Array("朔州市","568","607");subcat[19] = new Array("忻州市","568","613");subcat[20] = new Array("吕梁市","568","628");subcat[21] = new Array("晋中市","568","642");subcat[22] = new Array("临汾市","568","654");subcat[23] = new Array("运城市","568","672");subcat[24] = new Array("呼和浩特市","686","687");subcat[25] = new Array("包头市","686","691");subcat[26] = new Array("乌海市","686","695");subcat[27] = new Array("赤峰市","686","697");subcat[28] = new Array("呼伦贝尔","686","708");subcat[29] = new Array("兴安盟","686","722");subcat[30] = new Array("通辽市","686","728");subcat[31] = new Array("锡林郭勒盟","686","737");subcat[32] = new Array("乌兰察布盟","686","750");subcat[33] = new Array("鄂尔多斯","686","766");subcat[34] = new Array("巴彦淖尔盟","686","775");subcat[35] = new Array("阿拉善盟","686","783");subcat[36] = new Array("沈阳市","787","788");subcat[37] = new Array("大连市","787","794");subcat[38] = new Array("鞍山市","787","800");subcat[39] = new Array("抚顺市","787","805");subcat[40] = new Array("本溪市","787","810");subcat[41] = new Array("丹东市","787","814");subcat[42] = new Array("锦州市","787","819");subcat[43] = new Array("营口市","787","825");subcat[44] = new Array("阜新市","787","829");subcat[45] = new Array("辽阳市","787","833");subcat[46] = new Array("盘锦市","787","837");subcat[47] = new Array("铁岭市","787","841");subcat[48] = new Array("朝阳市","787","848");subcat[49] = new Array("葫芦岛市","787","855");subcat[50] = new Array("长春市","860","861");subcat[51] = new Array("吉林市","860","868");subcat[52] = new Array("四平市","860","875");subcat[53] = new Array("辽源市","860","881");subcat[54] = new Array("通化市","860","885");subcat[55] = new Array("松原市","860","898");subcat[56] = new Array("白城市","860","903");subcat[57] = new Array("延边朝鲜族自治州","860","909");subcat[58] = new Array("白山市","860","3124");subcat[59] = new Array("哈尔滨市","918","919");subcat[60] = new Array("齐齐哈尔市","918","926");subcat[61] = new Array("鸡西市","918","937");subcat[62] = new Array("鹤岗市","918","941");subcat[63] = new Array("双鸭山市","918","945");subcat[64] = new Array("大庆市","918","951");subcat[65] = new Array("伊春市","918","957");subcat[66] = new Array("佳木斯市","918","961");subcat[67] = new Array("七台河市","918","969");subcat[68] = new Array("牡丹江市","918","972");subcat[69] = new Array("黑河市","918","981");subcat[70] = new Array("绥化市","918","997");subcat[71] = new Array("大兴安岭地区","918","1008");subcat[72] = new Array("上海市","1012","1013");subcat[73] = new Array("南京市","1034","1035");subcat[74] = new Array("无锡市","1034","1042");subcat[75] = new Array("徐州市","1034","1047");subcat[76] = new Array("常州市","1034","1055");subcat[77] = new Array("苏州市","1034","1060");subcat[78] = new Array("南通市","1034","1068");subcat[79] = new Array("连云港市","1034","1076");subcat[80] = new Array("淮安市","1034","1081");subcat[81] = new Array("宿迁市","1034","1092");subcat[82] = new Array("盐城市","1034","1094");subcat[83] = new Array("扬州市","1034","1103");subcat[84] = new Array("泰州市","1034","1110");subcat[85] = new Array("镇江市","1034","1115");subcat[86] = new Array("杭州市","1121","1122");subcat[87] = new Array("宁波市","1121","1131");subcat[88] = new Array("温州市","1121","1139");subcat[89] = new Array("嘉兴市","1121","1149");subcat[90] = new Array("湖州市","1121","1156");subcat[91] = new Array("绍兴市","1121","1161");subcat[92] = new Array("金华市","1121","1168");subcat[93] = new Array("衢州市","1121","1178");subcat[94] = new Array("舟山市","1121","1185");subcat[95] = new Array("丽水市","1121","1189");subcat[96] = new Array("台州市","1121","1199");subcat[97] = new Array("合肥市","1208","1209");subcat[98] = new Array("芜湖市","1208","1214");subcat[99] = new Array("蚌埠市","1208","1219");subcat[100] = new Array("淮南市","1208","1224");subcat[101] = new Array("马鞍山市","1208","1227");subcat[102] = new Array("淮北市","1208","1230");subcat[103] = new Array("铜陵市","1208","1233");subcat[104] = new Array("安庆市","1208","1236");subcat[105] = new Array("黄山市","1208","1246");subcat[106] = new Array("滁州市","1208","1252");subcat[107] = new Array("阜阳地区","1208","1260");subcat[108] = new Array("宿县地区","1208","1271");subcat[109] = new Array("六安地区","1208","1277");subcat[110] = new Array("宣城地区","1208","1284");subcat[111] = new Array("巢湖地区","1208","1292");subcat[112] = new Array("池州地区","1208","1298");subcat[113] = new Array("亳州市","1208","3133");subcat[114] = new Array("福州市","1303","1304");subcat[115] = new Array("厦门市","1303","1314");subcat[116] = new Array("莆田市","1303","1317");subcat[117] = new Array("三明市","1303","1321");subcat[118] = new Array("泉州市","1303","1333");subcat[119] = new Array("漳州市","1303","1343");subcat[120] = new Array("南平地区","1303","1354");subcat[121] = new Array("宁德地区","1303","1365");subcat[122] = new Array("龙岩地区","1303","1375");subcat[123] = new Array("南昌市","1383","1384");subcat[124] = new Array("景德镇市","1383","1390");subcat[125] = new Array("萍乡市","1383","1394");subcat[126] = new Array("九江市","1383","1397");subcat[127] = new Array("新余市","1383","1409");subcat[128] = new Array("鹰潭市","1383","1412");subcat[129] = new Array("赣州地区","1383","1416");subcat[130] = new Array("宜春地区","1383","1435");subcat[131] = new Array("上饶地区","1383","1446");subcat[132] = new Array("吉安地区","1383","1459");subcat[133] = new Array("抚州地区","1383","1473");subcat[134] = new Array("济南市","1485","1486");subcat[135] = new Array("青岛市","1485","1493");subcat[136] = new Array("淄博市","1485","1500");subcat[137] = new Array("枣庄市","1485","1505");subcat[138] = new Array("东营市","1485","1508");subcat[139] = new Array("烟台市","1485","1513");subcat[140] = new Array("潍坊市","1485","1524");subcat[141] = new Array("济宁市","1485","1534");subcat[142] = new Array("泰安市","1485","1546");subcat[143] = new Array("威海市","1485","1552");subcat[144] = new Array("日照市","1485","1557");subcat[145] = new Array("莱芜市","1485","1561");subcat[146] = new Array("滨州市","1485","1562");subcat[147] = new Array("德州地区","1485","1570");subcat[148] = new Array("聊城地区","1485","1582");subcat[149] = new Array("临沂市","1485","1592");subcat[150] = new Array("荷泽市","1485","1602");subcat[151] = new Array("郑州市","1612","1613");subcat[152] = new Array("开封市","1612","1621");subcat[153] = new Array("洛阳市","1612","1628");subcat[154] = new Array("平顶山市","1612","1639");subcat[155] = new Array("安阳市","1612","1648");subcat[156] = new Array("鹤壁市","1612","1655");subcat[157] = new Array("新乡市","1612","1659");subcat[158] = new Array("焦作市","1612","1669");subcat[159] = new Array("濮阳市","1612","1678");subcat[160] = new Array("许昌市","1612","1685");subcat[161] = new Array("漯河市","1612","1691");subcat[162] = new Array("三门峡市","1612","1696");subcat[163] = new Array("商丘","1612","1703");subcat[164] = new Array("周口","1612","1713");subcat[165] = new Array("驻马店","1612","1724");subcat[166] = new Array("南阳","1612","1735");subcat[167] = new Array("信阳","1612","1749");subcat[168] = new Array("济源市","1612","3430");subcat[169] = new Array("武汉市","1760","1761");subcat[170] = new Array("黄石市","1760","1766");subcat[171] = new Array("十堰市","1760","1769");subcat[172] = new Array("宜昌市","1760","1771");subcat[173] = new Array("襄樊市","1760","1782");subcat[174] = new Array("随州市","1760","1789");subcat[175] = new Array("鄂州市","1760","1792");subcat[176] = new Array("荆门市","1760","1793");subcat[177] = new Array("孝感市","1760","1794");subcat[178] = new Array("黄冈市","1760","1803");subcat[179] = new Array("咸宁市","1760","1813");subcat[180] = new Array("荆州市","1760","1821");subcat[181] = new Array("仙桃市","1760","1822");subcat[182] = new Array("天门市","1760","1825");subcat[183] = new Array("潜江市","1760","1826");subcat[184] = new Array("恩施土家族苗族自治州","1760","1840");subcat[185] = new Array("神农架林区","1760","1849");subcat[186] = new Array("长沙市","1851","1852");subcat[187] = new Array("株州市","1851","1858");subcat[188] = new Array("湘潭市","1851","1865");subcat[189] = new Array("衡阳市","1851","1870");subcat[190] = new Array("邵阳市","1851","1879");subcat[191] = new Array("岳阳市","1851","1890");subcat[192] = new Array("常德市","1851","1898");subcat[193] = new Array("张家界","1851","1907");subcat[194] = new Array("益阳地区","1851","1911");subcat[195] = new Array("娄底地区","1851","1918");subcat[196] = new Array("郴州地区","1851","1924");subcat[197] = new Array("永州市","1851","1936");subcat[198] = new Array("怀化地区","1851","1948");subcat[199] = new Array("土家族苗族自治州","1851","1961");subcat[200] = new Array("广州市","1970","1971");subcat[201] = new Array("韶关市","1970","1977");subcat[202] = new Array("深圳市","1970","1987");subcat[203] = new Array("珠海市","1970","1988");subcat[204] = new Array("汕头市","1970","1991");subcat[205] = new Array("佛山市","1970","1996");subcat[206] = new Array("江门市","1970","2002");subcat[207] = new Array("湛江市","1970","2009");subcat[208] = new Array("茂名市","1970","2016");subcat[209] = new Array("肇庆市","1970","2022");subcat[210] = new Array("云浮市","1970","2030");subcat[211] = new Array("惠州市","1970","2034");subcat[212] = new Array("梅州市","1970","2040");subcat[213] = new Array("汕尾市","1970","2049");subcat[214] = new Array("河源市","1970","2054");subcat[215] = new Array("阳江市","1970","2061");subcat[216] = new Array("清远市","1970","2066");subcat[217] = new Array("东莞市","1970","2075");subcat[218] = new Array("中山市","1970","2076");subcat[219] = new Array("潮州市","1970","2077");subcat[220] = new Array("揭阳市","1970","2081");subcat[221] = new Array("南宁市","2087","2088");subcat[222] = new Array("柳州市","2087","2092");subcat[223] = new Array("桂林市","2087","2096");subcat[224] = new Array("梧州市","2087","2100");subcat[225] = new Array("北海市","2087","2103");subcat[226] = new Array("防城港市","2087","2106");subcat[227] = new Array("南宁地区","2087","2109");subcat[228] = new Array("柳州地区","2087","2122");subcat[229] = new Array("梧州地区","2087","2144");subcat[230] = new Array("玉林地区","2087","2152");subcat[231] = new Array("百色地区","2087","2161");subcat[232] = new Array("河池地区","2087","2174");subcat[233] = new Array("钦州地区","2087","2186");subcat[234] = new Array("崇左市","2087","3396");subcat[235] = new Array("贵港市","2087","3410");subcat[236] = new Array("贺州市","2087","3414");subcat[237] = new Array("来宾市","2087","3419");subcat[238] = new Array("白沙黎族自治县","2190","3305");subcat[239] = new Array("保亭黎族苗族自治县","2190","3306");subcat[240] = new Array("昌江黎族自治县","2190","3307");subcat[241] = new Array("澄迈县","2190","3308");subcat[242] = new Array("定安县","2190","3309");subcat[243] = new Array("东方市","2190","3310");subcat[244] = new Array("乐东黎族自治县","2190","3311");subcat[245] = new Array("临高县","2190","3312");subcat[246] = new Array("陵水黎族自治县","2190","3313");subcat[247] = new Array("琼海市","2190","3314");subcat[248] = new Array("琼中黎族苗族自治县","2190","3315");subcat[249] = new Array("屯昌县","2190","3316");subcat[250] = new Array("万宁市","2190","3317");subcat[251] = new Array("文昌市","2190","3318");subcat[252] = new Array("五指山市","2190","3319");subcat[253] = new Array("儋州市","2190","3320");subcat[254] = new Array("海口市","2190","2191");subcat[255] = new Array("三亚市","2190","2192");subcat[256] = new Array("成都市","2213","2214");subcat[257] = new Array("自贡市","2213","2242");subcat[258] = new Array("攀枝花市","2213","2246");subcat[259] = new Array("泸州市","2213","2250");subcat[260] = new Array("德阳市","2213","2257");subcat[261] = new Array("绵阳市","2213","2263");subcat[262] = new Array("广元市","2213","2272");subcat[263] = new Array("遂宁市","2213","2278");subcat[264] = new Array("内江市","2213","2282");subcat[265] = new Array("乐山市","2213","2291");subcat[266] = new Array("万县市","2213","2306");subcat[267] = new Array("南充市","2213","2316");subcat[268] = new Array("涪陵地区","2213","2324");subcat[269] = new Array("宜宾地区","2213","2330");subcat[270] = new Array("达州市","2213","2341");subcat[271] = new Array("雅安地区","2213","2349");subcat[272] = new Array("阿坝藏族羌族自治州","2213","2358");subcat[273] = new Array("甘孜藏族自治州","2213","2372");subcat[274] = new Array("凉山彝族自治州","2213","2391");subcat[275] = new Array("黔江地区","2213","2409");subcat[276] = new Array("广安地区","2213","2415");subcat[277] = new Array("巴中地区","2213","2421");subcat[278] = new Array("资阳市","2213","3386");subcat[279] = new Array("眉山市","2213","3254");subcat[280] = new Array("黔南布依族苗族自治州","2426","3231");subcat[281] = new Array("黔西南布依族苗族自治州","2426","3244");subcat[282] = new Array("贵阳市","2426","2427");subcat[283] = new Array("六盘水市","2426","2428");subcat[284] = new Array("遵义地区","2426","2431");subcat[285] = new Array("铜仁地区","2426","2445");subcat[286] = new Array("南布依族苗族自治州","2426","2456");subcat[287] = new Array("毕节地区","2426","2465");subcat[288] = new Array("安顺地区","2426","2474");subcat[289] = new Array("黔东南苗族侗族自治州","2426","2485");subcat[290] = new Array("布依族苗族自治州","2426","2502");subcat[291] = new Array("昆明市","2515","2516");subcat[292] = new Array("昭通地区","2515","2527");subcat[293] = new Array("曲靖地区","2515","2539");subcat[294] = new Array("楚雄彝族自治州","2515","2549");subcat[295] = new Array("玉溪地区","2515","2560");subcat[296] = new Array("红河哈尼族彝族自治州","2515","2570");subcat[297] = new Array("文山壮族苗族自治州","2515","2584");subcat[298] = new Array("思茅地区","2515","2593");subcat[299] = new Array("西双版纳傣族自治州","2515","2604");subcat[300] = new Array("大理白族自治州","2515","2608");subcat[301] = new Array("保山地区","2515","2621");subcat[302] = new Array("德宏傣族景颇族自治州","2515","2627");subcat[303] = new Array("丽江地区","2515","2634");subcat[304] = new Array("怒江傈僳族自治州","2515","2639");subcat[305] = new Array("迪庆藏族自治州","2515","2644");subcat[306] = new Array("临沧地区","2515","2648");subcat[307] = new Array("拉萨市","2657","2658");subcat[308] = new Array("昌都地区","2657","2667");subcat[309] = new Array("山南地区","2657","2683");subcat[310] = new Array("日喀则地区","2657","2696");subcat[311] = new Array("那曲地区","2657","2715");subcat[312] = new Array("阿里地区","2657","2726");subcat[313] = new Array("林芝地区","2657","2735");subcat[314] = new Array("西安市","2743","2744");subcat[315] = new Array("铜川市","2743","2752");subcat[316] = new Array("宝鸡市","2743","2756");subcat[317] = new Array("咸阳市","2743","2768");subcat[318] = new Array("渭南地区","2743","2781");subcat[319] = new Array("汉中地区","2743","2793");subcat[320] = new Array("安康地区","2743","2805");subcat[321] = new Array("商洛地区","2743","2816");subcat[322] = new Array("延安地区","2743","2824");subcat[323] = new Array("榆林地区","2743","2838");subcat[324] = new Array("兰州市","2851","2852");subcat[325] = new Array("嘉峪关市","2851","2857");subcat[326] = new Array("金昌市","2851","2858");subcat[327] = new Array("白银市","2851","2861");subcat[328] = new Array("天水市","2851","2866");subcat[329] = new Array("酒泉地区","2851","2873");subcat[330] = new Array("张掖地区","2851","2881");subcat[331] = new Array("武威地区","2851","2888");subcat[332] = new Array("定西地区","2851","2893");subcat[333] = new Array("陇南地区","2851","2901");subcat[334] = new Array("平凉地区","2851","2911");subcat[335] = new Array("庆阳地区","2851","2919");subcat[336] = new Array("临夏回族自治州","2851","2928");subcat[337] = new Array("甘南藏族自治州","2851","2937");subcat[338] = new Array("西宁市","2945","2946");subcat[339] = new Array("海东地区","2945","2949");subcat[340] = new Array("海北藏族自治州","2945","2958");subcat[341] = new Array("黄南藏族自治州","2945","2963");subcat[342] = new Array("海南藏族自治州","2945","2968");subcat[343] = new Array("果洛藏族自治州","2945","2974");subcat[344] = new Array("玉树藏族自治州","2945","2981");subcat[345] = new Array("海西蒙古族藏族自治州","2945","2988");subcat[346] = new Array("银川市","2994","2995");subcat[347] = new Array("石嘴山市","2994","2999");subcat[348] = new Array("吴忠市","2994","3004");subcat[349] = new Array("固原市","2994","3012");subcat[350] = new Array("乌鲁木齐市","3019","3020");subcat[351] = new Array("克拉玛依市","3019","3023");subcat[352] = new Array("吐鲁番地区","3019","3024");subcat[353] = new Array("哈密地区","3019","3028");subcat[354] = new Array("昌吉回族自治州","3019","3032");subcat[355] = new Array("博尔塔拉蒙古自治州","3019","3041");subcat[356] = new Array("巴音郭楞蒙古自治州","3019","3045");subcat[357] = new Array("阿克苏地区","3019","3055");subcat[358] = new Array("克孜勒苏柯尔克孜自治州","3019","3065");subcat[359] = new Array("喀什地区","3019","3070");subcat[360] = new Array("和田地区","3019","3083");subcat[361] = new Array("伊犁哈萨克自治州","3019","3094");subcat[362] = new Array("石河子","3019","3120");subcat[363] = new Array("图木舒克市","3019","3177");subcat[364] = new Array("五家渠市","3019","3178");subcat[365] = new Array("阿拉尔市","3019","3179");subcat[366] = new Array("重庆市","3268","3269");onecount=367;</script>
<script>changeProvince(document.all.SearchBar1_Region21_selProvince.options[document.all.SearchBar1_Region21_selProvince.selectedIndex].value);</script>
</div>
<input type="submit" value="搜索" />
</form>
<script language="javascript">
 function $1(o){
  return document.getElementById(o);
 }
 function searched(selectSearchIndex){
  var obj = $1("sr_fm");
  switch(selectSearchIndex){
   case "yellowPage":
    obj.action = "http://search.www.com.cn/searchproduct.aspx?";
    break;
  }
 }
</script>
</body>
</html>

分享到:
评论

相关推荐

    超简单的 js 联级菜单

    ### 超简单的JS联级菜单:理解和应用 在网页设计与开发中,联级菜单是一种常见的交互元素,尤其在需要展示多级分类结构时,如产品目录、部门分类等场景下,它能够提供直观且高效的导航体验。本文将深入解析一个基于...

    php+js三级联级菜单

    总结起来,"php+js三级联级菜单"项目结合了服务器端的PHP和客户端的JavaScript技术,通过动态生成和交互,实现了灵活可配置的菜单系统。这既展示了PHP与JavaScript的协同工作,也为开发者提供了一种构建复杂菜单结构...

    基于jquery的联级菜单

    在这个"基于jquery的联级菜单"项目中,我们重点关注如何利用jQuery来实现一个兼容IE8的高效、易用的多级导航菜单。 首先,jQuery的核心优势在于它的简洁API,使得开发者可以更快速地完成常见的DOM操作。例如,通过`...

    动态联级菜单js文件

    本文将深入探讨动态联级菜单的概念,以及如何利用JavaScript实现这样的功能。 动态联级菜单,通常由多个下拉框或列表组成,每个下拉框的选择会影响下一个下拉框的显示内容。例如,第一级可能是一系列国家,选择一个...

    javascript无限级联菜单

    javascript无限级联菜单, 可以实现无限级的下来菜单功能。

    asp+js(javascript)三级联菜单显示(包含option添加删除功能)

    ### ASP+JS(Javascript)三级联菜单显示及Option添加删除功能解析 在现代网页开发中,动态内容生成和用户交互是提升用户体验的关键因素之一。本文将深入探讨如何使用ASP(Active Server Pages)与JavaScript实现一个...

    Javascript省市区县级联下拉菜单

    在这个案例中,JavaScript的主要任务是处理下拉菜单的逻辑,包括初始化数据、根据上一级选择更新下一级的选项以及处理用户的选择事件。 描述中提到,这个实现是"纯粹的",意味着它没有使用诸如jQuery、Vue.js或...

    二三级动态创建关联的菜单-如省市县级联 js jquery

    二三级动态菜单 省市县级联 js jquery二三级动态创建关联的菜单-如省市县级联

    三级联菜单

    这个简单的例子展示了如何使用HTML和CSS创建一个基本的三级菜单,但实际项目中可能需要添加更多功能,如响应式设计、动画效果或JavaScript交互等。 总之,三级联菜单是构建大型网站导航的重要工具,合理的设计和...

    中国城市联级下拉菜单

    在提供的压缩包文件“banner”中,虽然名称暗示这可能与横幅广告有关,但考虑到上下文,更有可能的是这个文件包含了用于展示或操作这个联级下拉菜单的HTML、CSS和JavaScript代码,或者是包含数据的JSON文件。...

    省市级联三级菜单网页特效

    在网页设计中,省市级联三级菜单是一种常见的交互效果,用于展示地区层级关系,例如中国的省级、市级和县级。这种菜单通常应用于用户填写地址、选择配送区域或进行其他地域相关操作时,使得用户能快速、准确地定位到...

    基于ajax、jquery 通用无限级联菜单

    引用场景: 国家省市级联菜单、任何二级级联菜单、三级菜单、四级菜单、五.... 使用范例:详细参阅District.Selector.js文件 以国家地理信息为例: $(function () { var District1 = new District("userDistrict",{...

    AJAX无限级联菜单

    在实现时,需确保每次展开下一级菜单时,能够根据上一级的选择动态加载新的子菜单内容。 3. **无限级联菜单的实现** - **HTML结构**:首先,需要建立一个基础的HTML结构,包含各级菜单项,初始状态下只有顶级菜单...

    asp+js 三级联动选择菜单

    在本例中,“asp+js 三级联动选择菜单”是一个结合了这两种技术的实现,用于创建一个能够动态响应用户选择的三级下拉菜单。 1. **ASP原理**: ASP允许开发者在服务器端编写脚本,这些脚本可以处理数据、与数据库...

    c#.net无限级联下拉菜单

    在C#.NET编程环境中,构建无限级联下拉菜单是一项常见的需求,特别是在处理层次结构数据时,如组织架构、商品分类或地区层级等。本文将详细介绍如何使用C#.NET和Access数据库来实现这一功能。 首先,我们需要理解...

    javascript实现省市级联菜单

    在网页开发中,省市级联菜单是一个常见的交互元素,它允许用户在选择省份后自动加载对应的市一级选项。本文将详细讲解如何使用JavaScript实现这样的功能,主要基于标题和描述中的内容,结合实际应用场景来深入探讨。...

    js省、市、县三级联菜单

    js省、市、县三级联菜单 省去了后台操作的麻烦!

    js实现省市县级联菜单

    - `distpicker.js`:JavaScript库,实现省市县级联菜单的逻辑。 - `distpicker.css`:样式表文件,定义菜单的外观。 - `index.html`:示例HTML页面,展示如何使用这个库。 - `data.json`:可能包含省市区县的数据...

    基于JavaScript实现图片连播和联级菜单实例代码

    接下来,让我们详细探讨如何通过JavaScript实现图片轮播和联级菜单。 **图片轮播的实现:** 图片轮播功能可以通过HTML、CSS和JavaScript共同完成。在提供的示例代码中,首先通过HTML定义了一个包含多张图片的`div`...

    用javascript实现菜单的动态效果

    这可以通过JavaScript获取元素的位置信息,如`element.offsetTop`和`element.offsetLeft`,然后调整二级菜单的CSS样式来实现。 三级联动菜单是在二级菜单的基础上进一步扩展,当用户在二级菜单上选择一项时,相应的...

Global site tag (gtag.js) - Google Analytics