Created
June 13, 2015 13:10
-
-
Save backy22/36cd7986e6c1e93d0967 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// mouseoverしたら色が変わる | |
// mouseoutしたら色変戻る | |
$('.jscell').hover( | |
function(){ | |
$(this).css("background-color","#CCFFFF"); | |
},function(){ | |
$(this).css("background-color",""); | |
} | |
); | |
// クリックしたらdialog-formがポップアップで出てくる | |
$(document).on('click','.jscell',function(){ | |
$('#dialog-form').show(); | |
}); | |
// dialog-form上の「閉じる」で閉じる | |
$(document).on('click','#modal-close',function(){ | |
$('#dialog-form').hide(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment