한국어
<!-- 把下列代码加到<body>区域中 --> <style> #sub1, #sub2, #sub3 { 위치: 절대; 왼쪽: 480px; 가시성: 숨김; z-index: 3 } </style> <SCRIPT LANGUAGE="JavaScript"> <!-- 시작 catnumber = 3 오프셋 = 150 PerformOnchange = false if (document.all) { docObj = "document.all." styleObj = ".style" } else { docObj = "문서." styleObj = "" } 함수 openselect(subcat) { popupselect = eval(docObj + subcat + styleObj) popupselect.visibility = "visible" } 함수 closeselect(submenu,subcat){ popupselect = eval(docObj + subcat + styleObj) if (하위 메뉴 .selectedIndex != 0) { popupselect.visibility = "hidden" numchoice = submenu.selectedIndex 선택 = 하위 메뉴[ numchoice].value subcategory.value = 선택 submenu.selectedIndex = 0 } } function lock() { PerformOnchange = false } 기능 잠금 해제 () { PerformOnchange = true } function selectSub(cat) { for (i=1; i <= catnumber; i++) { subcat = "sub" + i popupselect = eval(docObj + subcat + styleObj) popupselect.visibility = "hidden " } if (performOnchange == true) {letsopen = "sub" + cat.selectedIndex if (letsopen == "sub0") { Alert("선택한 카테고리가 없습니다") choice = "- 하위 카테고리 -" subcategory.value = 선택 고양이 .focus() } else { openselect(letsopen) lock() } } } // 끝 --> </script> <div align="center"> <span id="sub1"> <select name="subannounce" onchange="closeselect(this,'sub1')"> <옵션 선택 값="">- 综합성站点 - <option value="新浪网">新浪网 <option value="搜狐">搜狐 <option value= "网易">网易 </select> </span> <span id="sub2"> <select name="subarts" onchange="closeselect(this,'sub2')"> <옵션 선택 값="">-艺术性站点 - <option value="chinamp3">chinamp3 <option value="통해微雕">통해微雕 <option value="painting">페인팅 </select> </span> <span id="sub3"> <select name="subsoftware" onchange="closeselect(this,'sub3')"> <옵션 선택 값="">- 体育类站点 - <option value="中國足球网">中國足球网 <option value="중국篮球网">中國篮球网 <option value="NBA">NBA <option value="新浪体育">新浪体育 </select> </span> <select name="categoria" onmouseover="unlock()" onchange ="selectSub(this)"> <옵션 선택 값="">-- 选择站点类型 -- <option value="综合性站点">综合性站点 <option value="艺术性站点">艺术性站点 <옵션 값 ="体育类站点">体育类站点 </select><br> <input type="text" name="subcategory" readonly="readonly" value="- 选择具体站点 -"> </div>