Three layer dynamic down menu examples for your reference!

Source: Internet
Author: User
Tags visibility
Write a three-level dynamic Read folder Drop-down menu examples for your reference!
<%
' Get the folder path. Note Setting the file name
Urlpath=server.mappath ("Ook")
Set Fsobrowse=createobject ("Scripting.FileSystemObject")
' Set folder path
If Request ("path") = "" Then
lpath=urlpath& ""
Else
Lpath=request ("path") & ""
End If
%>
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<meta Http-equiv=pragma content=no-cache>
<title> China International Airlines </title>
<link rel= "stylesheet" href= "News.css" >
<script language= "JavaScript1.2" >
NS4 = (document.layers)? 1:0;
IE4 = (document.all)? 1:0;
Ver4 = (NS4 | | IE4)? 1:0;
if (ver4) {
With (document) {
Write ("<style type= ' text/css ' >");
if (NS4) {
Write (". parent {Position:absolute; Visibility:visible} ");
Write (". Child {Position:absolute; Visibility:visible} ");
Write (". regular {Position:absolute; Visibility:visible} ")
}
else {
Write (". Child {Display:none}")
}
Write ("</STYLE>");
}
}
function GetIndex (EL) {
IND = NULL;
For (i=0 i<document.layers.length; i++) {
Whichel = Document.layers[i];

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.