search
Homephp教程php手册n级联动下拉菜单

菜单|下拉






 







<script><br/><!--<br/><br/>/*<br/>Triple Combo Script Credit<br/>By Hamid Cheheltani/ Website Abstraction (http://www.wsabstract.com)<br/>Visit <A HREF="http://wsabstract.com" TARGET=_blank>wsabstract.com for this and over 400+ other scripts<br/>*/<br/><br/>var groups=document.isc.example.options.length<br/>var group=new Array(groups)<br/>for (i=0; i<groups; i++)<br/>group[i]=new Array()<br/><br/>group[0][0]=new Option("---Select2---"," ");<br/><br/>group[1][0]=new Option("Now Select This One"," ");<br/>group[1][1]=new Option("JavaScript","47");<br/>group[1][2]=new Option("DHTML","46");<br/>group[1][3]=new Option("CGI","45");<br/><br/>group[2][0]=new Option("Now Select This One"," ");<br/>group[2][1]=new Option("General News","115");<br/>group[2][2]=new Option("Technology News","116"); <br/><br/>var temp=document.isc.stage2<br/><br/><br/>function redirect(x){<br/>for (m=temp.options.length-1;m>0;m--)<br/>temp.options[m]=null<br/>for (i=0;i<group[x].length;i++){<br/>temp.options[i]=new Option(group[x][i].text,group[x][i].value)<br/>}<br/>temp.options[0].selected=true<br/>redirect1(0)<br/>}<br/><br/><br/><br/>var secondGroups=document.isc.stage2.options.length<br/>var secondGroup=new Array(groups)<br/>for (i=0; i<groups; i++) {<br/>secondGroup[i]=new Array(group[i].length)<br/>for (j=0; j<group[i].length; j++) {<br/>secondGroup[i][j]=new Array() }}<br/><br/>secondGroup[0][0][0]=new Option("---Select 3---"," ");<br/>secondGroup[1][0][0]=new Option("---Select 3---"," ");<br/>secondGroup[1][1][0]=new Option("Now Select This One"," ");<br/>secondGroup[1][1][1]=new Option("Website Abstraction","http://wsabstract.com");<br/>secondGroup[1][1][2]=new Option("JavaScript for the non programmer","http://webteacher.com/javascript/");<br/>secondGroup[1][1][3]=new Option("Java-Scripts.net","http://java-scripts.net");<br/><br/>secondGroup[1][2][0]=new Option("Now Select This One"," ");<br/>secondGroup[1][2][1]=new Option("Dynamic Drive","http://www.dynamicdrive.com");<br/>secondGroup[1][2][2]=new Option("Beginner\'s Guide to DHTML","http://www.geocities.com/ResearchTriangle/Facility/4490/");<br/>secondGroup[1][2][3]=new Option("Web Coder","http://webcoder.com/");<br/><br/>secondGroup[1][3][0]=new Option("Now Select This One"," ");<br/>secondGroup[1][3][1]=new Option("CGI Resources","http://www.cgi-resources.com");<br/>secondGroup[1][3][2]=new Option("Ada\'s Intro to CGI","http://adashimar.hypermart.net/");<br/><br/>secondGroup[2][0][0]=new Option("---Select 3---"," ");<br/>secondGroup[2][1][0]=new Option("Now Select This One"," ");<br/>secondGroup[2][1][1]=new Option("CNN","http://www.cnn.com");<br/>secondGroup[2][1][2]=new Option("MSNBC","http://www.msnbc.com");<br/>secondGroup[2][1][3]=new Option("ABC News","http://www.abcnews.com");<br/><br/>secondGroup[2][2][0]=new Option("Now Select A Page"," ");<br/>secondGroup[2][2][1]=new Option("News.com","http://www.news.com");<br/>secondGroup[2][2][2]=new Option("Wired","http://www.wired.com");<br/><br/>var temp1=document.isc.stage3<br/>function redirect1(y){<br/>for (m=temp1.options.length-1;m>0;m--)<br/>temp1.options[m]=null<br/>for (i=0;i<secondGroup[document.isc.example.options.selectedIndex][y].length;i++){<br/>temp1.options[i]=new Option(secondGroup[document.isc.example.options.selectedIndex][y][i].text,secondGroup[document.isc.example.options.selectedIndex][y][i].value)<br/>}<br/>temp1.options[0].selected=true<br/>}<br/><br/>function redirect2(z){<br/>window.location=temp1[z].value<br/>}<br/><br/>//--><br/></script>

  



This free script provided by

Website
Abstraction



Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software