Wednesday, February 2, 2011

Add Social Network Button easily on your web site

If you want to add those social networking buttons, like tweet this or I like from Facebook.

Here is the easy way to do it:

1. Go to addThis (www.addthis.com) and create an account

2. Browse threough their gallery and chose a set of beautiful buttons or tool box (http://www.addthis.com/web-button-select) click on get the code, then copy the code and.



Addthisbuttons




3. Copy and paste the code snippet below into your pages, between the <body>  and the </body> tags. If your website uses templates, you can also copy the code into your template, so the toolbox will appear on all your pages automatically.


<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=YOUR_USER_NAME"></script>
<!-- AddThis Button END -->

0 comments:

Post a Comment

Your opinion is very appreciated, thank you!