Mercurial > public > sg101
comparison gpp/templates/core/social_sharing_begin.html @ 491:7dbdbb08e68c
For #233; add social media sharing buttons to the photo of the day app.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 20 Oct 2011 01:00:19 +0000 |
parents | f0f3966ea44f |
children |
comparison
equal
deleted
inserted
replaced
490:f0f3966ea44f | 491:7dbdbb08e68c |
---|---|
1 <div id="fb-root"></div> | 1 <div id="fb-root"></div> |
2 <script>(function(d, s, id) { | 2 <script type="text/javascript">(function(d, s, id) { |
3 var js, fjs = d.getElementsByTagName(s)[0]; | 3 var js, fjs = d.getElementsByTagName(s)[0]; |
4 if (d.getElementById(id)) {return;} | 4 if (d.getElementById(id)) {return;} |
5 js = d.createElement(s); js.id = id; js.async = true; | 5 js = d.createElement(s); js.id = id; js.async = true; |
6 js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; | 6 js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; |
7 fjs.parentNode.insertBefore(js, fjs); | 7 fjs.parentNode.insertBefore(js, fjs); |