|
| 1 | +<!DOCTYPE html> |
| 2 | +<html> |
| 3 | + <head> |
| 4 | + <meta charset='utf-8'> |
| 5 | + <meta http-equiv="X-UA-Compatible" content="chrome=1"> |
| 6 | + <link href='https://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'> |
| 7 | + <link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen"> |
| 8 | + <link rel="stylesheet" type="text/css" href="stylesheets/github-dark.css" media="screen"> |
| 9 | + <link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print"> |
| 10 | + <!--[if lt IE 9]> |
| 11 | + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> |
| 12 | + <![endif]--> |
| 13 | + <title>Push.js by Nickersoft</title> |
| 14 | + </head> |
| 15 | + |
| 16 | + <body> |
| 17 | + <div id="container"> |
| 18 | + <div class="inner"> |
| 19 | + |
| 20 | + <header> |
| 21 | + <h1><a href="index.html">Push.js</a></h1> |
| 22 | + <h2>A compact, cross-browser solution for Javascript desktop notifications</h2> |
| 23 | + </header> |
| 24 | + |
| 25 | + <hr> |
| 26 | + |
| 27 | + <section id="main_content"> |
| 28 | + <h1> |
| 29 | + <a id="demo" class="anchor" href="#demo" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a> |
| 30 | + Demo |
| 31 | + </h1> |
| 32 | + |
| 33 | + <p>Click the button below to try it!</p> |
| 34 | + |
| 35 | + <a href="#" id="test_button" class="button" style="float:none; margin:0 auto; text-align: center;">Click me!</a> |
| 36 | + |
| 37 | + </section> |
| 38 | + |
| 39 | + <footer> |
| 40 | + Push.js is maintained by <a href="https://github.com/Nickersoft">Nickersoft</a><br> |
| 41 | + This page was generated by <a href="https://pages.github.com">GitHub Pages</a>. Tactile theme by <a href="https://twitter.com/jasonlong">Jason Long</a>. |
| 42 | + </footer> |
| 43 | + |
| 44 | + <script type="text/javascript"> |
| 45 | + document.getElementById('test_button').onclick = function () { |
| 46 | + Push.create('Hello world!', { |
| 47 | + body: 'This is an example string' |
| 48 | + }); |
| 49 | + }; |
| 50 | + </script> |
| 51 | + |
| 52 | + <script type="text/javascript"> |
| 53 | + var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); |
| 54 | + document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); |
| 55 | + </script> |
| 56 | + |
| 57 | + <script type="text/javascript"> |
| 58 | + try { |
| 59 | + var pageTracker = _gat._getTracker("UA-24989915-5"); |
| 60 | + pageTracker._trackPageview(); |
| 61 | + } catch(err) {} |
| 62 | + </script> |
| 63 | + |
| 64 | + <script type="text/javascript" src="push.js"></script> |
| 65 | + |
| 66 | + </div> |
| 67 | + </div> |
| 68 | + </body> |
| 69 | +</html> |
0 commit comments