The Code
The Standard Button
For the basic follow button please copy and paste the source code below into your site, remembering to replace yourtwitterusername with your actual twitter username.
<script type="text/javascript"> tweetmeme_screen_name = 'yourtwitterusername'; </script> <script type="text/javascript" src="http://tweetmeme.com/i/scripts/follow.js"></script>>
Changing the size of the button – Compact Button
We also offer a compact version of the TweetMeme Follow button, with the same options as the larger button.
<script type="text/javascript"> tweetmeme_screen_name = 'yourtwitterusername'; tweetmeme_style = 'compact'; </script> <script type="text/javascript" src="http://tweetmeme.com/i/scripts/follow.js"></script>
- The Square Button
We also offer a square version of the TweetMeme Follow button, you also need to remember to include the size of the square in pixels to set the size of the square button. If you do not add a size this will default to 32px by 32px.
<script type="text/javascript"> tweetmeme_screen_name = 'yourtwitterusername'; tweetmeme_style = 'square'; tweetmeme_size = '50'; </script> <script type="text/javascript" src="http://tweetmeme.com/i/scripts/follow.js"></script>
No comments:
Post a Comment