Last active
December 11, 2015 20:18
-
-
Save takuyan/4654175 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// クリックすると何かが開く程度の認識で良いです | |
$("#binder_open").live('click', function(){ | |
$(this).addClass("hide"); | |
$("#binder").addClass("open"); | |
$("html,body").animate({ scrollTop: 0}, 600); | |
}); | |
// クリックすると何かが閉じる程度の認識で良いです | |
$("#binder .binder_close, #footer_close").live("click", function(){ | |
$("#binder_open").removeClass("hide"); | |
$("#binder").removeClass("open"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment