Skip to content
This repository has been archived by the owner on Oct 4, 2018. It is now read-only.

Commit

Permalink
Added Facebook like button and fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
boyvanamstel committed Feb 28, 2012
1 parent ff42baa commit 454dc8c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion index.html
Expand Up @@ -27,9 +27,10 @@ <h1>HTML5 Web Notifications</h1>
<p>Read the <a href="http://tumblr.dangercove.com/post/17213260067/html5-web-notifications" target="_blank">accompanying blog post</a> for more insights and references.</p>
</header>
<div id="content" role="main" class="container">
<div class="fb-like" data-href="http://dangercove.github.com/html5-notifications/" data-send="true" data-width="450" data-show-faces="true"></div>
<div id="not_supported">
<h2>Not supported</h2>
<p>Sorry, too keep it simple and prevent exceptions, this demonstration uses the vendor-specific <code>window.webkitNotifications</code>, which of all the Webkit-browsers is currently only supported by Google Chrome.</p>
<p>Sorry, to keep it simple and prevent exceptions, this demonstration uses the vendor-specific <code>window.webkitNotifications</code>, which of all the Webkit-browsers is currently only supported by Google Chrome.</p>
<p>For information on the use of <code>window.mozNotifications</code>, check <a href="https://wiki.mozilla.org/Services/Notifications/Push/API" target="_blank">Mozilla's wiki</a>. It's very similar to Webkit's implementation, but lacks HTML notifications.</p>
</div>
<div id="blocked">
Expand Down Expand Up @@ -95,5 +96,14 @@ <h3>HTML</h3>
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>

<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); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=220083111392605";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
</body>
</html>

0 comments on commit 454dc8c

Please sign in to comment.