Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I had the same reaction. Looking into the documentation[0], it turns out that you can also use a div with data- attributes instead, like this:

<div class="g-plusone" data-size="standard" data-count="true"></div>

[0] http://code.google.com/apis/+1button/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: