JS Tree Menu

Source: Internet
Author: User

<!doctype HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" "http://www.w3c.org/tr/1999/rec-html401-19991224/ Loose.dtd ">
<title>js tree-shaped menu </title>
<meta http-equiv=content-type content= "text/html; charset=gb2312 ">
<link href= "CSS tutorial/163css.css" Type=text/css rel=stylesheet>
<body>
<div class=pnav-cnt>
<div Class=pnav-box id=letter-a>
<div class=box-title><a class= "Btn-fold" href= "http://www.111cn.net" ></a><a class= "Btn-unfold" Hidden
href= "Http://www.111cn.net" ></a><span Class=pnav-letter>a</span><span class=cdgray> ( Total 32 pieces) </span></div>
<ul class= "Box-list hidden" >
<li><a class=btn-fold href= "Http://www.111cn.net" ></a><a
class= "Btn-unfold hidden" href= "Http://www.111cn.net" ></a><b><a
href= "Http://www.111cn.net"
target=nt_phview> Aston Martin </a> </b><span class=cdgray> (414) </span>
&LT;H2 Class=hidden><a
href= "Http://www.111cn.net"
target=nt_phview> Aston Martin Db9</a><li><a class=btn-fold href= "Http://www.111cn.net" ></a><a
class= "Btn-unfold hidden" href= "Http://www.111cn.net" ></a><b><a
href= "Http://www.111cn.net"
Target=nt_phview> Audi </a> </b><span class=cdgray> (3986) </span>
&LT;H2 Class=hidden><a
href= "Http://www.111cn.net"
Target=nt_phview> Audi A6</a>&LT;H2 Class=hidden><a
href= "Http://www.111cn.net"
Target=nt_phview> Audi A6l</a>&LT;H2 Class=hidden><a
href= "Http://www.111cn.net"
Target=nt_phview> Audi Q5</a><li><a class=btn-fold href= "Http://www.111cn.net" ></a><a
class= "Btn-unfold hidden" href= "Http://www.111cn.net" ></a><b><a
href= "Http://www.111cn.net"
target=nt_phview> Alfa Romeo </a> </b><span class=cdgray> (332) </span>
&LT;H2 Class=hidden><a
href= "Http://www.111cn.net"
Target=nt_phview>alfa 147</a>&LT;H2 Class=hidden><a
href= "Http://www.111cn.net"
target=nt_phview> Alfa Romeo pandion</a>&LT;H2 Class=hidden><a
href= "Http://www.111cn.net"
Target=nt_phview>2uettottanta</a>&LT;H2 Class=hidden><a
href= "Http://www.111cn.net"
TARGET=NT_PHVIEW&GT;TZ3 corsa</a><div Class=pnav-box id=letter-b>
<div class=box-title><a class= "Btn-fold"
href= "Http://www.111cn.net" ></a><a class= "Btn-unfold hidden"
href= "Http://www.111cn.net" ></a><span
Class=pnav-letter>b</span><span class=cdgray> (total 22819 pieces) </span></div>
<ul class= "Box-list hidden" >
<li><a class=btn-fold href= "Http://www.111cn.net" ></a><a
class= "Btn-unfold hidden" href= "Http://www.111cn.net" ></a><b><a
href= "Http://www.111cn.net"
target=nt_phview> Pentium </a> </b><span class=cdgray> (764) </span>
&LT;H2 Class=hidden><a
href= "Http://www.111cn.netckindex/topicid=294g0008,setid=0.html"
Target=nt_phview> Pentium B50</a>&LT;H2 Class=hidden><a
href= "Http://www.111cn.net"
Target=nt_phview> Pentium B70</a><li><a class=btn-fold href= "Http://www.111cn.net" ></a><a
class= "Btn-unfold hidden" href= "Http://www.111cn.net" ></a><b><a
href= "Http://www.111cn.net"
target=nt_phview> BMW </a> </b><span class=cdgray> (km) </span>
&LT;H2 Class=hidden><a
href= "Http://www.111cn.net"
Target=nt_phview> BMW 3 Series </a>
&LT;H2 Class=hidden><a
href= "Http://www.111cn.net"
Target=nt_phview> imported BMW 5 Series </a>&LT;H2 Class=hidden><a
href= "Http://www.111cn.net"
Target=nt_phview> BMW X1</a>&LT;H2 Class=hidden><a
href= "Http://www.111cn.net"
Target=nt_phview> BMW Gran Coupe</a>&LT;H2 Class=hidden><a
href= "Http://www.111cn.net"
Target=nt_phview>acs5</a>
<li><a class=btn-fold href= "Http://www.111cn.net" ></a><a
class= "Btn-unfold hidden" href= "Http://www.111cn.net" ></a><b><a
href= "Http://www.111cn.net"
target=nt_phview> Baojun </a> </b><span class=cdgray> (0) </span>
<li><a class=btn-fold href= "Http://www.111cn.net" ></a><a
class= "Btn-unfold hidden" href= "Http://www.111cn.net" ></a><b><a
href= "Http://www.111cn.net"
Target=nt_phview> Beijing </a> </b><span class=cdgray> (a) </span> </li></ul></ Div>

<script src= "js/163css.js" type=text/Web page special effects ></script>

<script type=text/javascript>
<! [cdata[
(function () {
Ntes ("Span.photo-search Input[type=text]"). Addevent ("Focus", function () {this.value = = This.defaultvalue && ( This.value = ""); Addevent ("Blur", function () {this.value = = "" && (this.value = This.defaultvalue);});
Ntes ("Div.pnav-box div.box-title a.btn-fold"). Addevent ("click", Function (e) {
E.preventdefault ();
var eletitle = ntes (This.parentnode);
Ntes (This). Addcss ("hidden");
eletitle.$ ("A.btn-unfold"). Removecss ("hidden");
Ntes (Eletitle.parentnode). $ ("Ul.box-list"). Removecss ("hidden");
});
Ntes ("Div.pnav-box div.box-title a.btn-unfold"). Addevent ("click", Function (e) {
E.preventdefault ();
var eletitle = ntes (This.parentnode);
Ntes (This). Addcss ("hidden");
eletitle.$ ("A.btn-fold"). Removecss ("hidden");
Ntes (Eletitle.parentnode). $ ("Ul.box-list"). Addcss ("hidden");
});
Ntes ("Div.pnav-box ul.box-list a.btn-fold"). Addevent ("click", Function (e) {
E.preventdefault ();
var eletitle = ntes (This.parentnode);
Ntes (This). Addcss ("hidden");
eletitle.$ ("A.btn-unfold"). Removecss ("hidden");
eletitle.$ ("H2"). Removecss ("hidden");
});
Ntes ("Div.pnav-box ul.box-list a.btn-unfold"). Addevent ("click", Function (e) {
E.preventdefault ();
var eletitle = ntes (This.parentnode);
Ntes (This). Addcss ("hidden");
eletitle.$ ("A.btn-fold"). Removecss ("hidden");
eletitle.$ ("H2"). Addcss ("hidden");
});
New Ntes.ui.slide (Ntes ("Ul.photo-snav li"), Ntes ("div.photo-scnt"), "active", "Mouseo Tutorial ver", 6000;
})();
]]>
</script>


</div>
</body>


SOURCE Download Address
Http://down.111cn.net/down/code/js/2010/1009/21117.html

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.