Photo Into a Sharing Tool

kimber Jun 15, 2012 09:11AM EDT

Where do I put the codes?

var addthis_config = {
services_overlay:'facebook,twitter,email,print,more'
}
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=[YOUR PROFILE ID HERE]"></script>

When I put them in the header, I got

var addthis_config = {
services_overlay:'facebook,twitter,email,print,more'
}

Showing as text at the top of the page? When I put them in my other addthis codes they vertical bar stopped working.

Thanks

Up 0 Rated Down
Paul (AddThis Happiness Specialist) Jun 15, 2012 02:37PM EDT
It looks like whatever tool you're using isn't allowing the <script> tag to include the code needed to render the buttons. Can you give me more information about how you're trying to add it and what software you're using?
Up 0 Rated Down
nomadseth Nov 24, 2012 01:13PM EST
try this in the header

<script=text/javascript>
var addthis_config = {
services_overlay:'facebook,twitter,email,print,more'
};
</script>


the semi colon isn't posted but it fixed the errors for me... I don't know javascript so it took a bit to sort it out, but this seems to work.

good luck

Post Your Public Answer

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

Still need help?


General Topics

 

Developers