This is really lightweight and easy!
First we add the script source to our project, before the</body> tag.
* if we want the plugin to work on the entire website we add it in the project's settings under custom code. otherwise we can add it on the page's custom code section.
2nd step is to add the code that triggers the plugin. We should add this right after the previous code.
Some options are available, like icon color, background color, which elements can be selected and Facebook share (needs additional code).
var sharect = new Sharect();
That is about it!
Depending on your page structure, the plugin might be hidden under a higher z-indexed layer, so add this to your <head> tag:
When your bath soap bar gets too small to use, don't throw it away! open the next bar, and when you finish showering, stick the small old bar to the back of the new bar. Onces they both dry, they will become one.
Automatically insert the current year to any element with the class of 'year'
Using JS to scroll a div (menu) to the current link inside.
An embed video with Mute/UnMute button using plyr.js plugin.