website
annotate lib/html/social.html @ rev 1042
Update packages/index.php
author |
Paul Issott <paul@slitaz.org> |
date |
Mon Apr 09 20:20:47 2012 +0100 (2012-04-09) |
parents |
cd72b985d6fd |
children |
6781b6c989ba |
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@1040
|
5 /* <![CDATA[ */
|
al@1038
|
6 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
|
7 !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@1040
|
8 /* ]]> */
|
al@1038
|
9 </script>
|
pankso@922
|
10 <!-- Tweet -->
|
al@1038
|
11 <script type="text/javascript">
|
al@1040
|
12 /* <![CDATA[ */
|
al@1038
|
13 document.write('<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="slitaz">Tweet</a>');
|
al@1038
|
14 var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
|
al@1038
|
15 s.type = 'text/javascript';
|
al@1038
|
16 s.async = true;
|
al@1038
|
17 s.src = 'http://platform.twitter.com/widgets.js';
|
al@1038
|
18 s1.parentNode.insertBefore(s, s1);
|
al@1040
|
19 /* ]]> */
|
al@1038
|
20 </script>
|
pankso@922
|
21 </div>
|
pankso@922
|
22
|
al@1038
|
23
|
pankso@922
|
24 <!-- Facebook Like Button -->
|
al@1038
|
25 <script type="text/javascript">
|
al@1040
|
26 /* <![CDATA[ */
|
al@1038
|
27 document.write('<fb:like href="http://www.facebook.com/slitaz" show_faces="true" width="auto"></fb:like>');
|
al@1038
|
28 var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
|
al@1038
|
29 s.type = 'text/javascript';
|
al@1038
|
30 s.async = true;
|
al@1038
|
31 s.src = 'http://connect.facebook.net/en_US/all.js#xfbml=1';
|
al@1038
|
32 s1.parentNode.insertBefore(s, s1);
|
al@1040
|
33 /* ]]> */
|
al@1038
|
34 </script>
|