Validation Issues using g:plusone:annotation="none"

brickalley Jul 12, 2012 01:42PM EDT

My shopping cart is based on opencart which uses DocType XHTML Strict. Opencart has ZERO chance of clearing validation in Strict, so I changed the DocType to XHTML Transitional. But, g:plusone:annotation="none" will not validate.

I'm hoping you can suggest a better choice that will clear validation and not display count numbers.

<div class="addthis_toolbox addthis_default_style">
<a class="addthis_button_facebook"></a>
<a class="addthis_button_twitter"></a>
<a class="addthis_button_google_plusone" g:plusone:annotation="none"></a>
<a class="addthis_button_stumbleupon"></a>
<a class="addthis_button_email"></a>
<a class="addthis_button_compact"></a>
</div>

Also:
Is there a way to hide count numbers until a site has better numbers to display? I know facebook likes can be tough to hide, but having a button that offers "Like" is shown to get better click rates. I hope it's not taboo to ask about hiding count buttons, so I will understand if you remove this part of the post.

Up 0 Rated Down
Paul (AddThis Happiness Specialist) Jul 16, 2012 11:09AM EDT
The best workaround for that is to use JavaScript to add the attribute and then render the button using the addthis.toolbox() function. How familiar are you with JavaScript?

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Still need help?


General Topics

 

Developers