OLD | NEW |
1 <h1>Desktop Notifications</h1> | 1 <h1>Desktop Notifications</h1> |
2 | 2 |
3 | |
4 | |
5 <p> | 3 <p> |
6 Use desktop notifications to notify users that something | 4 Use desktop notifications to notify users that something |
7 important has happened. | 5 important has happened. |
8 Notifications appear outside the browser window. | 6 Notifications appear outside the browser window. |
9 As the following snapshots show, | 7 As the following snapshots show, |
10 the details of how notifications look | 8 the details of how notifications look |
11 and where they're shown depend on the platform. | 9 and where they're shown depend on the platform. |
12 </p> | 10 </p> |
13 | 11 |
14 <img src="{{static}}/images/notification-windows.png" | 12 <img src="{{static}}/images/notification-windows.png" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 and for help in viewing the source code, | 105 and for help in viewing the source code, |
108 see <a href="samples.html">Samples</a>. | 106 see <a href="samples.html">Samples</a>. |
109 </p> | 107 </p> |
110 | 108 |
111 <p> | 109 <p> |
112 Also see html5rocks.com's | 110 Also see html5rocks.com's |
113 <a href="http://www.html5rocks.com/tutorials/notifications/quick/">notifications
tutorial</a>. | 111 <a href="http://www.html5rocks.com/tutorials/notifications/quick/">notifications
tutorial</a>. |
114 Ignore the permission-related code; | 112 Ignore the permission-related code; |
115 it's unnecessary if you declare the "notifications" permission. | 113 it's unnecessary if you declare the "notifications" permission. |
116 </p> | 114 </p> |
OLD | NEW |