jquery-reading-time
jquery-reading-time copied to clipboard
confine tooltip to selector´s area
If you add readingTime() to a class or id, the tooltip should be confined to the area where that selector appears on the page, Right now, even if you select a H1 title as your selector in the jQuery statement, the tooltip will always exists and show "less than a minute" throughout the page length, and only at the end of the page it will show "thanks for reading".
Can this be modified to show the tooltip only where the target selector area is ? When you pass that are, it should go away or display another type of message.
thanks
I will fix this asap.
any news on this ?
thanks
Any chance this is getting fixed? Would be super awesome!
thanks!
also waiting for this...
I can help with this, you can see what I have done with the plugin here: http://www.adonismedia.com/blog/utilising-hubspot-analytics-for-your-site.
I did change the name of the plugin since I was already using a reading time plugin, but thats pretty simple. I also changed it so that it provides the correct message at the correct time by calculating the content container and correct reading time rather than basing it on the document height.
I may also extend this so that the options can be passed for the css classes and other options as its easier to do that from the initialisation code rather than modifying the plugin itself.
Thanks :-)