Plugin jQuery: jQuery Auto Truncator

jQuery Auto Truncator
http://www.jqueryrain.com/?http://blog.malcolmp.com/truncator-example/test.html
http://blog.malcolmp.com/2011/once-upon-a-time-i-wrote-awesome-code
gins, , Web
13/09/2011

Nội dung

jQuery Auto Truncator

This class implements multiline html truncation, expand-collapse links, and wordwrap / hyphenation through JavaScript using the jQuery library. It follows a binary tree split algorithm along DOM textnodes & html nodes. On page load the Truncator will automatically wrap & truncate containers with the truncate class.


Nguồn: www.jqueryrain.com/2011/09/jquery-auto-truncator/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận