Posted By

SFLWebDev on 10/13/11


Tagged

ShareThis


Versions (?)

ShareThis Dynamic Widget


 / Published in: JavaScript
 

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

  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>

Report this snippet  

You need to login to post a comment.