Smooth-Div-Scroll
Smooth-Div-Scroll copied to clipboard
Add option to search by find instead of children for countOnlyClass
It'd be really nice to be able to search all children for a specific class instead of just the first level, especially in circumstances where complete control over html isn't really possible.
Make the option something like:
countOnlyClass: {class : 'class-name', findby : 'children' }
or
countOnlyClass: {class : 'class-name', findby : 'find' }