I'm using the sharethis plugin to share content on social networks. For this I am making the following call:
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=YOUR_PUBLISHER_ID"></script>
Theproblemisthatthiscodegeneratesanimage,andIwantedtousesomeofmysharingimages:
<imgwidth="125" border="0" height="16" alt="Share" src="//ct1.addthis.com/static/btn/v2/lg-share-pt.gif"></img>
Is it possible to hide the image in javascript? To hide the image I'm trying as follows but it does not work:
<script>
$('#teste2').find('img[src$="//ct1.addthis.com/static/btn/v2/lg-share-pt.gif"]').css('visibility', 'hidden');
</script>
I found this example on the net, and managed to modify it to what I wanted. But in this case I'm not getting it, I do not know if it will be the way of the generated image.
The issue is that my images appear correctly and do the sharing, but the image above is also added and I wanted to hide it.