Created
June 26, 2012 13:10
-
-
Save bluerabbit/2995714 to your computer and use it in GitHub Desktop.
youRoomの書き込むテキストエリアが動的に変わればいいのに
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
$('.entry_content').scroll(function () { | |
var self = $(this); | |
self.css('height', (parseInt(self.css('height').slice(0,-2)) + 10) + 'px'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
scrollHeight, clientHeight, height()って複数ブラウザで互換性あるのかな?