二級產品分類Javascript

來源:互聯網
上載者:User
javascript <script language="javascript">
var onecount;
onecount=0;

subcat = new Array();
subcat[0] = new Array("歐式","傢具","歐式");
subcat[1] = new Array("法式","傢具","法式");
subcat[2] = new Array("中式","傢具","中式");
subcat[3] = new Array("仿古","傢具","仿古");
subcat[4] = new Array("其它","傢具","其它");
subcat[5] = new Array("佛像","宗教祭祀用品","佛像");
subcat[6] = new Array("觀音","宗教祭祀用品","觀音");
subcat[7] = new Array("羅漢","宗教祭祀用品","羅漢");
subcat[8] = new Array("關公","宗教祭祀用品","關公");
subcat[9] = new Array("財神","宗教祭祀用品","財神");
subcat[10] = new Array("聖母","宗教祭祀用品","聖母");
subcat[11] = new Array("耶穌","宗教祭祀用品","耶穌");
subcat[12] = new Array("達摩","宗教祭祀用品","達摩");
subcat[13] = new Array("佛珠","宗教祭祀用品","佛珠");
subcat[14] = new Array("手珠","宗教祭祀用品","手珠");
subcat[15] = new Array("木魚","宗教祭祀用品","木魚");
subcat[16] = new Array("香台","宗教祭祀用品","香台");
subcat[17] = new Array("蓮花燈","宗教祭祀用品","蓮花燈");
subcat[18] = new Array("吉祥葫蘆","宗教祭祀用品","吉祥葫蘆");
subcat[19] = new Array("觀音簽","宗教祭祀用品","觀音簽");
subcat[20] = new Array("神龕","宗教祭祀用品","神龕");
subcat[21] = new Array("神塔","宗教祭祀用品","神塔");
subcat[22] = new Array("壽盒","宗教祭祀用品","壽盒");
subcat[23] = new Array("羅盤","宗教祭祀用品","羅盤");
subcat[24] = new Array("木劍","宗教祭祀用品","木劍");
subcat[25] = new Array("其它","宗教祭祀用品","其它");
subcat[26] = new Array("仿古門窗","建築裝飾","仿古門窗");
subcat[27] = new Array("壁掛","建築裝飾","壁掛");
subcat[28] = new Array("屏風","建築裝飾","屏風");
subcat[29] = new Array("相框","建築裝飾","相框");
subcat[30] = new Array("門套","建築裝飾","門套");
subcat[31] = new Array("門柱","建築裝飾","門柱");
subcat[32] = new Array("木梯","建築裝飾","木梯");
subcat[33] = new Array("花板","建築裝飾","花板");
subcat[34] = new Array("雕花","建築裝飾","雕花");
subcat[35] = new Array("壁爐","建築裝飾","壁爐");
subcat[36] = new Array("柱托","建築裝飾","柱托");
subcat[37] = new Array("宮燈","建築裝飾","宮燈");
subcat[38] = new Array("牛腿","建築裝飾","牛腿");
subcat[39] = new Array("魚頭","建築裝飾","魚頭");
subcat[40] = new Array("欄檻板","建築裝飾","欄檻板");
subcat[41] = new Array("華表","建築裝飾","華表");
subcat[42] = new Array("其它","建築裝飾","其它");
subcat[43] = new Array("人物","陳設工藝類","人物");
subcat[44] = new Array("動物","陳設工藝類","動物");
subcat[45] = new Array("花鳥","陳設工藝類","花鳥");
subcat[46] = new Array("山水","陳設工藝類","山水");
subcat[47] = new Array("植物","陳設工藝類","植物");
subcat[48] = new Array("海底","陳設工藝類","海底");
subcat[49] = new Array("茶具","陳設工藝類","茶具");
subcat[50] = new Array("抽象","陳設工藝類","抽象");
subcat[51] = new Array("其它","陳設工藝類","其它");
subcat[52] = new Array("木偶","木雕玩具","木偶");
subcat[53] = new Array("小手飾","木雕玩具","小手飾");
subcat[54] = new Array("小掛件","木雕玩具","小掛件");
subcat[55] = new Array("頭飾","木雕玩具","頭飾");
subcat[56] = new Array("面具","木雕玩具","面具");
subcat[57] = new Array("聖誕類","木雕玩具","聖誕類");
subcat[58] = new Array("生肖","木雕玩具","生肖");
subcat[59] = new Array("人物","木雕玩具","人物");
subcat[60] = new Array("其它","木雕玩具","其它");
subcat[61] = new Array("人物","根雕","人物");
subcat[62] = new Array("花鳥","根雕","花鳥");
subcat[63] = new Array("山水","根雕","山水");
subcat[64] = new Array("植物","根雕","植物");
subcat[65] = new Array("生肖","根雕","生肖");
subcat[66] = new Array("抽象","根雕","抽象");
subcat[67] = new Array("傳奇故事","根雕","傳奇故事");
subcat[68] = new Array("裝飾","根雕","裝飾");
subcat[69] = new Array("其它","根雕","其它");
subcat[70] = new Array("平桌","實用器具","平桌");
subcat[71] = new Array("茶几","實用器具","茶几");
subcat[72] = new Array("果盤","實用器具","果盤");
subcat[73] = new Array("餐具","實用器具","餐具");
subcat[74] = new Array("沙發","實用器具","沙發");
subcat[75] = new Array("燈具","實用器具","燈具");
subcat[76] = new Array("花瓶","實用器具","花瓶");
subcat[77] = new Array("花籃","實用器具","花籃");
subcat[78] = new Array("筆架","實用器具","筆架");
subcat[79] = new Array("筆筒","實用器具","筆筒");
subcat[80] = new Array("書架","實用器具","書架");
subcat[81] = new Array("煙灰缸","實用器具","煙灰缸");
subcat[82] = new Array("手杖","實用器具","手杖");
subcat[83] = new Array("衣架","實用器具","衣架");
subcat[84] = new Array("棋類","實用器具","棋類");
subcat[85] = new Array("名片盒","實用器具","名片盒");
subcat[133] = new Array("其它","實用器具","其它");
subcat[87] = new Array("沈檀","雕刻材料","沈檀");
subcat[88] = new Array("檀香","雕刻材料","檀香");
subcat[89] = new Array("綠檀","雕刻材料","綠檀");
subcat[90] = new Array("紅檀","雕刻材料","紅檀");
subcat[91] = new Array("黑檀","雕刻材料","黑檀");
subcat[92] = new Array("老紅木","雕刻材料","老紅木");
subcat[93] = new Array("樟木","雕刻材料","樟木");
subcat[94] = new Array("楠木","雕刻材料","楠木");
subcat[95] = new Array("黃花梨","雕刻材料","黃花梨");
subcat[96] = new Array("雞翅木","雕刻材料","雞翅木");

subcat[97] = new Array("椴木","雕刻材料","椴木");
subcat[98] = new Array("白木","雕刻材料","白木");

subcat[99] = new Array("龍眼木","雕刻材料","龍眼木");
subcat[100] = new Array("紅豆杉","雕刻材料","紅豆杉");
subcat[101] = new Array("櫻木","雕刻材料","櫻木");
subcat[102] = new Array("黃楊木","雕刻材料","黃楊木");
subcat[103] = new Array("樹榴","雕刻材料","樹榴");
subcat[104] = new Array("各類木根","雕刻材料","各類木根");
subcat[105] = new Array("其他","雕刻材料","其他");
subcat[106] = new Array("泥錘","雕刻工具","泥錘");
subcat[107] = new Array("雕塑架","雕刻工具","雕塑架");
subcat[108] = new Array("泥塑盒","雕刻工具","泥塑盒");
subcat[109] = new Array("卡鉗","雕刻工具","卡鉗");
subcat[110] = new Array("刮刀","雕刻工具","刮刀");
subcat[111] = new Array("塑刀","雕刻工具","塑刀");
subcat[112] = new Array("鋸","雕刻工具","鋸");
subcat[113] = new Array("木敲錘","雕刻工具","木敲錘");
subcat[114] = new Array("鐵敲錘","雕刻工具","鐵敲錘");
subcat[115] = new Array("斜刀","雕刻工具","斜刀");
subcat[116] = new Array("三角刀","雕刻工具","三角刀");
subcat[117] = new Array("平刀","雕刻工具","平刀");
subcat[118] = new Array("圓刀","雕刻工具","圓刀");
subcat[119] = new Array("中鋼刀","雕刻工具","中鋼刀");
subcat[120] = new Array("反口刀","雕刻工具","反口刀");
subcat[121] = new Array("翹頭刀","雕刻工具","翹頭刀");
subcat[122] = new Array("針刀手鋸","雕刻工具","針刀手鋸");
subcat[123] = new Array("竹簪","雕刻工具","竹簪");
subcat[124] = new Array("拖鑽","雕刻工具","拖鑽");
subcat[125] = new Array("其它","雕刻工具","其它");
subcat[126] = new Array("酒類封裝","封裝類","酒類封裝");
subcat[127] = new Array("食品封裝","封裝類","食品封裝");
subcat[128] = new Array("工藝品封裝","封裝類","工藝品封裝");
subcat[129] = new Array("其它封裝","封裝類","其它封裝");
subcat[130] = new Array("其它","其它","其它");

subcat[86] = new Array("煙鬥","實用器具","煙鬥");
subcat[131] = new Array("硯台","實用器具","硯台");
subcat[132] = new Array("木梳","實用器具","木梳");
onecount=134;

function changelocation(locationid)
{
document.myform.smalllocation.length = 0;

var locationid=locationid;
var i;
document.myform.smalllocation.options[0] = new Option('==小類別==','');
for (i=0;i <onecount; i++)
{
if (subcat[i][1] == locationid)
{
document.myform.smalllocation.options[document.myform.smalllocation.length]
= new Option(subcat[i][0], subcat[i][2]);
}
}

}
</script>

<form action="" method="post" name="myform" id="myform">
<SELECT onchange=changelocation(document.myform.biglocation.options[document.myform.biglocation.selectedIndex].value) name=biglocation>
<OPTION value="" selected>==大類別==</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=smalllocation>
<OPTION value="" selected>==小類別==</OPTION>
</select>
</form>

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.