View Single Post
  #9  
Old 11-20-2010, 10:12 PM
Anabass
Guest
 
Posts: n/a
Default Social networks

I was searching for some minimal simple Facebook "like" button and this is it:

Code:
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="---your full url---" layout="button_count" width="80" font="arial"></fb:like>
You can edit the width parameter or if you want other styles, you can do it here: http://developers.facebook.com/docs/...e/plugins/like

There are a lot of free services that will help you to share your pages on the social networks, but if you (as I) want for some reason to create the manual links that doesnt depend on external service and that doesnt add any advertisements, here is the source. The example is for Myspace:

Code:
<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.hitechweb.genezis.eu%2Fstealth4f.htm&amp;t=Stealth%20technologies%20-%20British,%20Swedish%20and%20French%20aviation%20programs%20and%20solutions" onclick="window.open(this.href); return false;"><img src="images/share/myspace.png" class="standard" title="MySpace" alt="Hitechweb at MySpace"></a>
The first part is the url of the myspace, where you will add the full URL of your own web page and after the "amp;t=" parameter you will write the title. Parameter "onclick" open the posting page on the new window and after "img" you should write the path for the icons. If you need some, you can cut them from here: http://www.parabolicarc.com/wp-conte...ces-sprite.png

The example of the result: http://www.hitechweb.genezis.eu/pi.htm

Last edited by Anabass; 11-20-2010 at 10:14 PM.
Reply With Quote