Created
August 13, 2008 15:33
-
-
Save sproutventure/5245 to your computer and use it in GitHub Desktop.
ShareThis code to change ShareThis image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
======================== | |
HEADER CODE | |
======================== | |
<script type="text/javascript" src="http://w.sharethis.com/widget/?tabs=email%2Cweb&charset=utf-8&services=facebook%2Cmyspace%2Cdelicious%2Cstumbleupon%2Cgoogle_bmarks%2Cyahoo_bmarks%2Cyahoo_myweb%2Cwindows_live%2Cfriendfeed%2Creddit&style=default&publisher=cd3fa0ae-1fcf-48eb-9e10-509b3e3977f5&headerbg=%23ee3a43&inactivebg=%23c41230&inactivefg=%23ffffff&linkfg=%23474847;button=false"></script> | |
<script language="javascript" type="text/javascript"> | |
var object = SHARETHIS.addEntry({ | |
url: document.location + '?cmpid=sharethis', | |
title:'share', | |
summary: 'Sharing with a friend.'}, | |
{button:false}); | |
//Either use CSS to modify the ID "share" or add to the below document.write statement | |
document.write('<span id="share"><a href="javascript:void(0);"><img src="http://lib.store.yahoo.net/lib/allheart/footer-share-icon.png" border="0"/></a><a href="javascript:void(0);">Share This</a>'); | |
var element = document.getElementById("share"); | |
object.attachButton(element); | |
</script> | |
======================== | |
END HEADER CODE | |
======================== | |
======================== | |
BODY/LINK CODE | |
======================== | |
<div id="share"> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment