cy
2022-06-23 b83c40548208609d0d6826be13d742c28a784806
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// JavaScript Document
$(function(){
    var typeBtn = $('div.personalist'),
        typeCon = $('div.personsubwrap');
    typeBtn.click(function(){
        /*var ds = typeCon.css('display');
        if(ds == 'block'){
            $(this).children('em').removeClass('open');
            typeCon.slideUp();
        }else{
            $(this).children('em').addClass('open');
            typeCon.slideDown();
        }*/
        var i = typeBtn.index(this);
        typeCon.eq(i).animate({height:'toggle'});
        $(this).children('em').toggleClass("open");
    });
})