SHARE
TWEET

Untitled

a guest Oct 22nd, 2012 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type="text/ecmascript">
  2.  
  3.         function AddCompanyQuickTag1(itemurl) {
  4.         SafeRunFunction(function () {
  5.         var o = new SocialQuickTag("link1");
  6.         o.url = itemurl;
  7.         o.title = document.title;
  8.         o.tagged_text = 'Add Tag...';
  9.         o.failure_text = 'Failed tagging this page.';
  10.         o.AddQuickTag(0);
  11.         }, 'SocialData.js', 'SocialQuickTag');
  12.         }
  13. function AddCompanyQuickTag2(itemurl) {
  14.         SafeRunFunction(function () {
  15.         var o = new SocialQuickTag("link2");
  16.         o.url = itemurl;
  17.         o.title = document.title;
  18.         o.tagged_text = 'Add Tag...';
  19.         o.failure_text = 'Failed tagging this page.';
  20.         o.AddQuickTag(0);
  21.         }, 'SocialData.js', 'SocialQuickTag');
  22.         }
  23.  
  24.         </script>
  25.         <div>
  26.                 <a id="link1" onclick="AddCompanyQuickTag1('http://indevpc263/sites/TeamSite/SiteAssets/flash.aspx')">
  27.                         <img src="/_layouts/images/socialbutton-like.png" alt=""/>
  28.                 </a>    &#160;&#160;
  29.                 <a id="link2" onclick="AddCompanyQuickTag2('http://indevpc263/sites/TeamSite/SiteAssets/social.aspx')">
  30.                         <img src="/_layouts/images/socialbutton-like.png" alt=""/>
  31.                 </a>
  32.         </div>
RAW Paste Data
Top