mischat/shareNice — Issue #4: Non valid configuration attributes
Author: andrejcremoznik
Created: 2012-03-05 21:44:25+00:00
State: open

Attributes such as "services" are not valid HTML attributes. HTML5 though allows the use of custom attributes as long as they're prefixed with "data-". Would it be possible to change the attributes and make this script rock even more with valid HTML5 syntax?

Instead of:

services
share-label
color-scheme
icon-size
panel-bottom
share-zindex

we would have:

data-services
data-share-label
data-color-scheme
data-icon-size
data-panel-bottom
data-share-zindex