Created
September 5, 2016 13:38
-
-
Save 101dvlp/ec64fc68f1f3491ed95e0ef9dde71a64 to your computer and use it in GitHub Desktop.
js.collapser
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
<script type="text/javascript"> | |
$(document).ready(function(){ | |
$('.content').collapser({ | |
mode: 'chars', | |
truncate: 10, | |
showText: '続きを読む', | |
hideText: '隠す' | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment