jQuery-ListNav icon indicating copy to clipboard operation
jQuery-ListNav copied to clipboard

Use jQuery native methods to set the letter count top

Open pollirrata opened this issue 12 years ago • 0 comments

Use jQuery native methods to set the letter count top by adding this

$letterCount.css({ top: $('.a').position().top - $('.ln-letter-count').outerHeight() }); // note: don't set top based on '.all': it might not be visible

using this code there's no need of additional plugin. Tested in latest versions of Chrome, IE, and Firefox, using jQuery 2.0

pollirrata avatar Nov 21 '13 06:11 pollirrata