website
annotate lib/html/social.html @ rev 1038
Check whole website in W3C Validator
author |
Aleksej Bobylev <al.bobylev@gmail.com> |
date |
Sun Apr 08 02:46:12 2012 +0300 (2012-04-08) |
parents |
fc144258f2b7 |
children |
7d975d352fca |
rev |
line source |
pankso@922
|
1 <!-- Twitter Buttons -->
|
pankso@922
|
2 <div style="margin-bottom: 10px;">
|
pankso@922
|
3 <!-- Follow -->
|
al@1038
|
4 <script type="text/javascript">
|
al@1038
|
5 document.write('<a href="https://twitter.com/slitaz" class="twitter-follow-button" data-show-count="true" data-show-screen-name="false">Follow @slitaz</a>');
|
al@1038
|
6 !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
|
al@1038
|
7 </script>
|
pankso@922
|
8 <!-- Tweet -->
|
al@1038
|
9 <script type="text/javascript">
|
al@1038
|
10 document.write('<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="slitaz">Tweet</a>');
|
al@1038
|
11 var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
|
al@1038
|
12 s.type = 'text/javascript';
|
al@1038
|
13 s.async = true;
|
al@1038
|
14 s.src = 'http://platform.twitter.com/widgets.js';
|
al@1038
|
15 s1.parentNode.insertBefore(s, s1);
|
al@1038
|
16 </script>
|
pankso@922
|
17 </div>
|
pankso@922
|
18
|
al@1038
|
19
|
pankso@922
|
20 <!-- Facebook Like Button -->
|
al@1038
|
21 <script type="text/javascript">
|
al@1038
|
22 document.write('<fb:like href="http://www.facebook.com/slitaz" show_faces="true" width="auto"></fb:like>');
|
al@1038
|
23 var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
|
al@1038
|
24 s.type = 'text/javascript';
|
al@1038
|
25 s.async = true;
|
al@1038
|
26 s.src = 'http://connect.facebook.net/en_US/all.js#xfbml=1';
|
al@1038
|
27 s1.parentNode.insertBefore(s, s1);
|
al@1038
|
28 </script>
|