Hi, your plugin is pretty decent, however I would like to suggest changing the way "data-margin" works and adding a bit to it.
How it is:
#share42 -> margin-left: "data-margin"
How I think it would be better:
- Create "data-align", values "left" or "right" then use it like this
#share42 -> "data-align": "data-margin"
This way you could create the init div like this:
or
And this would make it align left or right with the right margin, it's working on chrome, just need to test it on other browsers, but it should work just fine.
Thanks for the good work^^