Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 7th, 2012  |  syntax: None  |  size: 0.47 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Trying to implement twitter on my site
  2. <a href="https://twitter.com/share" class="twitter-share-button" data-url="<%=strDomainSitename%>/Details.aspx?contentId=<%=strContentId%>" data-via="tom" data-lang="en">Tweet</a>
  3.  
  4.  !function(d,s,id){
  5.     var js,fjs=d.getElementsByTagName(s)[0];
  6.     if(!d.getElementById(id)){js=d.createElement(s);
  7.     js.id=id;js.src= "//platform.twitter.com/widgets.js";
  8.     fjs.parentNode.insertBefore(js,fjs);
  9.     }}(document,"script","twitter-wjs");