jQuery-ListNav
jQuery-ListNav copied to clipboard
Use jQuery native methods to set the letter count top
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