***页面导航***关联菜单 (爽)
把下列代码加到网页的<body></body>标签之间 从google下载我的照片管理软件<script language="javascript">
<!-- begin
var arritems1 = new array();
var arritemsgrp1 = new array();
arritems1 = "truck";
arritemsgrp1 = 1;
arritems1 = "train";
arritemsgrp1 = 1;
arritems1 = "car";
arritemsgrp1 = 1;
arritems1 = "boat";
arritemsgrp1 = 2;
arritems1 = "submarine";
arritemsgrp1 = 2;
arritems1 = "planes";
arritemsgrp1 = 3;
arritems1 = "ultralight";
arritemsgrp1 = 3;
arritems1 = "glider";
arritemsgrp1 = 3;
var arritems2 = new array();
var arritemsgrp2 = new array();
arritems2 = "747";
arritemsgrp2 = 0
arritems2 = "cessna";
arritemsgrp2 = 0
arritems2 = "kolb flyer";
arritemsgrp2 = 1
arritems2 = "kitfox";
arritemsgrp2 = 1
arritems2 = "schwietzer glider";
arritemsgrp2 = 2
arritems2 = "chevy malibu";
arritemsgrp2 = 5
arritems2 = "lincoln ls";
arritemsgrp2 = 5
arritems2 = "bmw z3";
arritemsgrp2 = 5
arritems2 = "f-150";
arritemsgrp2 = 3
arritems2 = "tahoe";
arritemsgrp2 = 3
arritems2 = "freight train";
arritemsgrp2 = 4
arritems2 = "passenger train";
arritemsgrp2 = 4
arritems2 = "oil tanker";
arritemsgrp2 = 6
arritems2 = "fishing boat";
arritemsgrp2 = 6
arritems2 = "los angelas class";
arritemsgrp2 = 7
arritems2 = "kilo class";
arritemsgrp2 = 7
arritems2 = "seawolf class";
arritemsgrp2 = 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=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 = null;
}
// add default choice - in case there are no values
myele = document.createelement("option") ;
myele.value = 0 ;
myele.text = "" ;
controltopopulate.add(myele) ;
for ( x = 0 ; x < itemarray.length; x++ )
{
if ( grouparray == control.value )
{
myele = document.createelement("option") ;
myele.value = x ;
myele.text = itemarray ;
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></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>
--------------------------------------
拥有三人行论坛管理系列软件,一个人就可以管理一个论坛的更新维护。还能使您的论坛有千人在线的真实火暴效果,让您不在为论坛因没有人气而留不住会员而烦恼,使您的论坛早日成为一流的论坛。详情请登陆网站:http://www.cnsrx.cn 三人行论坛管理软件,站长必备的专业好工具。(您使用的是免费版本,购买收费版本后,将不带广告。业务QQ:247216 44985227)
页:
[1]