cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$(function(){
    $("li.firstTree").live("click",function() {
                var $nextUl = $(this).children("ul.secondTree");
                if($nextUl.is(":visible")) {
                    $(this).removeClass("cur");
                    $nextUl.slideUp("show");
                } else {
                    $(this).addClass("cur");
                    $nextUl.slideDown("show");
                }
            });
            
            $("li.secondTreeBtn").live("click",function() {
                var $nextUl = $(this).children("ul.thirdTree");
                if($nextUl.is(":visible")) {
                    $(this).removeClass("cur");
                    $nextUl.slideUp("show");
                } else {
                    $(this).addClass("cur");
                    $nextUl.slideDown("show");
                }
                return false;
            });
            
            $("li>a").live("click",function(event) {
                $("li>a").removeClass("focus");
                $(this).addClass("focus");
                event.stopPropagation();
            });
})