菜单导航集合
关联菜单(连动菜单)
关联菜单(连动菜单)
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var arrItems1 = new Array();powered by 25175.net
var arrItemsGrp1 = new Array();
arrItems1[3] = "Truck";
arrItemsGrp1[3] = 1;
arrItems1[4] = "Train";
arrItemsGrp1[4] = 1;
arrItems1[5] = "Car";
arrItemsGrp1[5] = 1;
arrItems1[6] = "Boat";
arrItemsGrp1[6] = 2;
arrItems1[7] = "Submarine";
arrItemsGrp1[7] = 2;
arrItems1[0] = "Planes";
arrItemsGrp1[0] = 3;
arrItems1[1] = "Ultralight";
arrItemsGrp1[1] = 3;
arrItems1[2] = "Glider";
arrItemsGrp1[2] = 3;
var arrItems2 = new Array();
var arrItemsGrp2 = new Array();
arrItems2[21] = "747";
arrItemsGrp2[21] = 0
arrItems2[22] = "Cessna";
arrItemsGrp2[22] = 0
arrItems2[31] = "Kolb Flyer";
arrItemsGrp2[31] = 1
arrItems2[34] = "Kitfox";
arrItemsGrp2[34] = 1
arrItems2[35] = "Schwietzer Glider";
arrItemsGrp2[35] = 2
arrItems2[99] = "Chevy Malibu";
arrItemsGrp2[99] = 5
arrItems2[100] = "Lincoln LS";
arrItemsGrp2[100] = 5
arrItems2[57] = "BMW Z3";
arrItemsGrp2[57] = 5
arrItems2[101] = "F-150";
arrItemsGrp2[101] = 3
arrItems2[102] = "Tahoe";
arrItemsGrp2[102] = 3
arrItems2[103] = "Freight Train";
arrItemsGrp2[103] = 4
arrItems2[104] = "Passenger Train";
arrItemsGrp2[104] = 4
arrItems2[105] = "Oil Tanker";
arrItemsGrp2[105] = 6
arrItems2[106] = "Fishing Boat";
arrItemsGrp2[106] = 6
arrItems2[200] = "Los Angelas Class";
arrItemsGrp2[200] = 7
arrItems2[201] = "Kilo Class";
arrItemsGrp2[201] = 7
arrItems2[203] = "Seawolf Class";
arrItemsGrp2[203] = 7
function selectChange(control, controlToPopulate, ItemArray, GroupArray)
{
var myEle ;
var x ;
// Empty the second drop down box of any choices
for (var q=controlToPopulate.options.length;q>=0;q--) controlToPopulate.options[q]=null;
if (control.name == "firstChoice") {
// Empty the third drop down box of any choices
for (var q=myChoices.thirdChoice.options.length;q>=0;q--) myChoices.thirdChoice.options[q] = null;
}
// ADD Default Choice - in case there are no values
myEle = document.createElement("option") ;
myEle.value = 0 ;
myEle.text = "[SELECT]" ;
controlToPopulate.add(myEle) ;
for ( x = 0 ; x < ItemArray.length ; x++ )
{
if ( GroupArray[x] == control.value )
{
myEle = document.createElement("option") ;
myEle.value = x ;
myEle.text = ItemArray[x] ;
controlToPopulate.add(myEle) ;
}
}
}
// End -->
</script>
<form name=myChoices>
<table align="center">
<tr>
<td>
<SELECT id=firstChoice name=firstChoice onchange="selectChange(this, myChoices.secondChoice, arrItems1, arrItemsGrp1);">
<option value=0 SELECTED>[SELECT]</option>
<option value=1>Land</option>
<option value=2>Sea</option>
<option value=3>Air</option>
</SELECT>
</TD><TD>
<SELECT id=secondChoice name=secondChoice onchange="selectChange(this, myChoices.thirdChoice, arrItems2, arrItemsGrp2);">
</SELECT>
<SELECT id=thirdChoice name=thirdChoice>
</SELECT>
</TD>
</TR>
</TABLE>
</form>
| 【内容导航】 | |
| 第1页:完全用CSS实现的中英文双语导航菜单(经典) | 第2页:商业风格的CSS垂直菜单 |
| 第3页:突起的导航栏效果[经典] | 第4页:点击显示的FAQ菜单效果[经典] |
| 第5页:一款DIV+CSS闪动导航条效果(经典) | 第6页:非常酷的CSS菜单效果B(经典) |
| 第7页:非常酷的CSS菜单效果A(经典) | 第8页:会旋转的菜单导航(经典) |
| 第9页:带项目描述的导航菜单(经典) | 第10页:聚合的导航菜单效果(经典) |
| 第11页:整合在IE中的导航条(经典) | 第12页:含下拉菜单的绿色导航条 |
| 第13页:关联菜单(连动菜单) | 第14页:可拖动的导航菜单 |
| 第15页:多级滚动菜单 | 第16页:微软导航菜单 |
| 第17页:鼠标移到文字上自动展开 | 第18页:点击渐显的导航菜单 |
| 第19页:随机网站推荐脚本 | 第20页:网站内快捷键导航 |
| 第21页:左侧导航菜单类似按钮 | 第22页:可移动的导航栏 |
| 第23页:页面顶部多级导航栏 | 第24页:浮动、隐藏的导航菜单 |
| 第25页:上下弹动的导航条 | 第26页:鼠标指向显示次级菜单 |
| 第27页:漂亮的仿flash菜单 | 第28页:滑动的层作菜单导航 |
| 第29页:精彩的跳动菜单效果 | 第30页:类似与QQ的好友/黑名单之类的树型菜单 |
| 第31页:定时改变标题栏的内容 | |
上一篇:状态栏特效集合
下一篇:弹出浏览器的版本信息
|
|
这个浮动导航栏效果如何? www.bj-pingan.cn
(YOYO
,10月23日 15:12
)
很好...
(as
,10月07日
)
晕
(ju
,08月05日
)
1212
(445465
,05月30日
)
