Skip to content

Commit a1510f9

Browse files
committed
updated promo & moved to node-websocket-server
1 parent 1e9460f commit a1510f9

File tree

4 files changed

+38
-5
lines changed

4 files changed

+38
-5
lines changed

css/html5demos.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ footer > * {
6363
background: #0c0;
6464
}
6565

66-
footer #built:hover:after {
66+
/*footer #built:hover:after {
6767
content: '...quickly';
6868
}
69-
69+
*/
7070
[contenteditable]:hover {
7171
outline: 1px dotted #ccc;
7272
}
@@ -85,7 +85,7 @@ li {
8585

8686
#ih5 {
8787
font-size: 90%;
88-
background: #442C0D url(http://introducinghtml5.com/book_m.jpg) no-repeat left center;
88+
background: #442C0D url(/images/ih5.jpg) no-repeat left center;
8989
display: block;
9090
color: #F7FCE4;
9191
text-decoration: none;
@@ -259,6 +259,7 @@ body.view-source #view-source {
259259
}
260260

261261
/** Pretty printing styles. Used with prettify.js. */
262+
pre { font-size: 14px; }
262263
.str { color: #080; }
263264
.kwd { color: #008; }
264265
.com { color: #800; }

demos/web-socket.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@
2525
<p id="status">Not connected</p>
2626
<p>Users connected: <span id="connected">0</span></p>
2727
<p>To test, open two windows with Web Socket support, type a message above and press return.</p>
28-
<p>The server side code is available here: <a href="/server/node.ws.js/">node.ws.js &amp; server</a> (note that it runs on <a href="http://nodejs.org/" title="node.js">nodejs</a>)</p>
28+
<p>The server side code is available here: <a href="http://github.com/remy/html5demos/tree/master/server/">node-web-socket &amp; server</a> (note that it runs on <a href="http://nodejs.org/" title="node.js">nodejs</a>)</p>
2929
<ul id="log"></ul>
3030
</article>
3131
<script>
3232
function openConnection() {
3333
// uses global 'conn' object
3434
if (conn.readyState === undefined || conn.readyState > 1) {
35-
conn = new WebSocket('ws://apps.leftlogic.com:8001');
35+
conn = new WebSocket('ws://node.remysharp.com:8001');
3636
conn.onopen = function () {
3737
state.className = 'success';
3838
state.innerHTML = 'Socket open';

images/ih5.jpg

12 KB
Loading

0 commit comments

Comments
 (0)