Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Add share things. Probably should have decided all this earlier

  • Loading branch information...
commit f3956f18dd06212f21211e0492863b34030c2201 1 parent bd8cb22
@cubehouse cubehouse authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 js/page_hats.js
5 js/page_hats.js
@@ -4,6 +4,11 @@ define(["jquery", "frame", "api"], function($, frame, api) {
var h = "<h2>AlphaZone4 Hats</h2>";
+ h += "<p>Share this page</p>";
+ h += '<p><a href="" class="twitter-share-button" data-url="" data-text="[US] Free AlphaZone4 Cake Hat!" data-via="AlphaZone4" data-size="large">Tweet</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?\'http\':\'https\';if(!d.getElementById(id)){js=d.createElement(s);;js.src=p+\'://\';fjs.parentNode.insertBefore(js,fjs);}}(document, \'script\', \'twitter-wjs\');</script></p>';
+ h += '<div id="fb-root"></div><script>(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); = id;js.src = "//";fjs.parentNode.insertBefore(js, fjs);}(document, "script", "facebook-jssdk"));</script>';
+ h += '<div class="fb-like" data-href="" data-send="true" data-width="450" data-show-faces="false" data-font="verdana" data-action="recommend"></div>';
h += "<p style='text-align:center'><img src='' /></p>";
h += "<p>To celebrate <strong>4 years of AlphaZone4</strong>, you can get your very own AlphaZone4 cake hat for PlayStation Home!</p>";

0 comments on commit f3956f1

Please sign in to comment.
Something went wrong with that request. Please try again.