ShareThis Dynamic Widget


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <head>
  2. <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
  3. <script type="text/javascript">
  4. stLight.options({
  5. publisher:'12345',
  6. });
  7. </script>
  8. </head>
  9. <body>
  10. <span id="button_1"></span>
  11. <script>
  12. stWidget.addEntry({
  13. "service":"sharethis",
  14. "element":document.getElementById('button_1'),
  15. "url":"http://sharethis.com",
  16. "title":"sharethis",
  17. "type":"large",
  18. "text":"ShareThis" ,
  19. "image":"http://www.softicons.com/download/internet-icons/social-superheros-icons-by-iconshock/png/256/sharethis_hulk.png",
  20. "summary":"this is description1"
  21. });
  22. </script>

URL: http://help.sharethis.com/customization/share-properties

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.