Welcome Guest [Log In] [Register]
Viewing Single Post From: Add To Facebook & MySpace
Codes Rock
Member Avatar
<?php echo 'Codes Rock rocks!'; ?>
[ *  *  * ]
For Twitter, try changing the code above, that shows both Facebook and MySpace, to this:

Code: HTML
 

<script type="text/javascript">
//Copyright HostMyImageSite.com
var url = document.location.href;
$("td.c_view").before('<td><a href="http://www.facebook.com/sharer.php?u=' + url + '" target="_blank"><img src="http://hostmyimagesite.com/images/f67th4m5n719sef0fsm.gif" alt="Add To Facebook" border="0" /></a><br /><br /><a href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&u=' + url + '" target="_blank"><img src="http://hostmyimagesite.com/images/vzyj2exmt2k9rxdvyzyx.gif" alt="Add To MySpace" border="0" /></a> <br /><a href="http://twitter.com/home?status=Currently reading ' + url +'" title="Click to share this post on Twitter">Share on Twitter</a> </td>');
</script>


The new part, for just Twitter is:
Code: HTML
 

<a href="http://twitter.com/home?status=Currently reading ' + url +'" title="Click to share this post on Twitter">Share on Twitter</a>


NOTE: I have not tested this as I do NOT have a Twitter account.

I'll look at the tumblr thing next.
Offline Profile Quote Post
Add To Facebook & MySpace · Code & Modification Database