i'm using the directions from this page...
http://support.sharethis.com/developers/developers-faq/stapi/62
to ceate my custom button. i changed the <img src=“/my_share_icon.gif” /> to call my image from my server, and then pasted this code into the widget code in wordpress under
Options > Share This.
it's not working. page shows no image, no link. any idea what i'm doing wrong?
Thanks!
<script language=”javascript” type=”text/javascript”>
//Create your sharelet with desired properties and set button element to false
var object = SHARETHIS.addEntry({
title:’share’,
summary: ‘Sharing is good for the soul.’},
{button:false});
//Output your customized button
document.write(‘<span id=”share”><img src=“/my_share_icon.gif” />Share!</span>’);
//Tie customized button to ShareThis button functionality.
var element = document.getElementById(“share”);
object.attachButton(element);
</script>
