Advertisement
Guest User

HTML share button for JoinDiaspora

a guest
Oct 17th, 2011
1,241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. <div id="diaspora" style="width: 153px;height:30px;background:url(' friends.murrur.fi/tmp/diaspora-share.png<friends.murrur.fi/tmp/diaspora-share.png>')
  2. no-repeat left top; background-position:0px 0px;"
  3. onClick="javascript:(function(){f='joindiaspora.com/
  4. bookmarklet?url='+encodeURIComponent(window.location.href)+'&title='+*
  5. *encodeURIComponent('Shared<joindiaspora.com/bookmarklet?url='+encodeURIComponent(window.location.href)+'&title='+encodeURIComponent('Shared>a link…')+'¬es='+
  6. encodeURIComponent(document.title)+'&v=1&';if(!window.**
  7. open(f+'noui=1&jump=doclose','diasporav1','location=no,
  8. links=no,scrollbars=no,toolbar=no,width=620,height=
  9. 400')){location.href=f+'jump=yes';
  10. document.getElementById('diaspora').style.backgroundPosition = '0
  11. -90px';}else{document.getElementById('diaspora').**style.backgroundPosition = '0 -60px';}})()"> </div>
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement