|
Viewing Single Post From: Add To Facebook & MySpace
|
|
Codes Rock
|
Aug 14 2009, 03:52 PM
|
<?php echo 'Codes Rock rocks!'; ?>
- Posts:
- 321
- Group:
- Members
- Member
- #172,002
- Joined:
- July 18, 2008
- I'm Browsing With
- Firefox 3
- My Board URL
- http://s1.zetaboards.com/ImageTools/
|
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.
|
|
|