프로젝트

일반

사용자정보

Actions

셀 그리드 마우스오버아웃 텍스트강조

$(".x-table tr").mousemove(function() {
    // background color: red
           // $(this).css("background-color","#979DAC");
    //font size: 18px
    var  trId = $(this).attr('id')
    if(trId != 'r-0-0'){
        var trr = $("tr[id='"+ trId +"']");
        trr.each(function (){
         console.log($(this));
          $(this).find("td").css("font-size","17.5px");
        })
    }
    });
    // on mousedown
    //on mouseout
    $(".x-table tr").mouseout(function() {
    // background color: white
            $(this).css("background-color","white");
    //font size: 12px 
    var  trId = $(this).attr('id')
    if(trId != 'r-0-0'){
            var trr = $("tr[id='"+ trId +"']");
            trr.each(function (){
             console.log($(this));
              $(this).find("td").css("font-size","12px");
            })
        }
    });

김 미진이(가) 18일 전에 변경 · 1 revisions