minimal-web-templates – Diff between revs 4 and 5
?pathlinks?
Rev 4 | Rev 5 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | <!DOCTYPE html> |
1 | <!DOCTYPE html> |
|
2 | <html> |
2 | <html> |
|
3 | <head> |
- | ||
4 | <meta charset="utf-8" /> |
- | ||
5 | <title>HTML5 Pacman</title> |
- | ||
Line 6... | Line -... | |||
6 | |
- | ||
7 | <style type="text/css"> |
3 | |
|
8 | #pacman { |
4 | <head> |
|
9 | height: 450px; |
- | ||
10 | width: 342px; |
5 | <meta charset="utf-8" /> |
|
11 | margin: 20px auto |
- | ||
12 | } |
- | ||
Line -... | Line 6... | |||
- | 6 | <title>HTML5 Pacman</title> |
||
- | 7 | |
||
- | 8 | <style type="text/css"> |
||
- | 9 | #pacman { |
||
- | 10 | height: 450px; |
||
- | 11 | width: 342px; |
||
- | 12 | margin: 20px auto |
||
13 | </style> |
13 | } |
|
Line 14... | Line 14... | |||
14 | |
14 | </style> |
|
15 | </head> |
15 | </head> |
|
Line 16... | Line 16... | |||
16 | |
16 | |
|
17 | <body> |
17 | <body> |
|
18 | <h1>HTML5 Pacman</h1> |
18 | <h1>HTML5 Pacman</h1> |
|
19 | |
19 | |
|
20 | <!-- Load the pacman game into this container. --> |
20 | <!-- Load the pacman game into this container. --> |
|
21 | <div id="pacman"></div> |
21 | <div id="pacman"></div> |
|
22 | |
22 | |
|
23 | <!-- Include pacman.js script. --> |
23 | <!-- Include pacman.js script. --> |
|
24 | <script src="pacman.js"></script> |
24 | <script src="pacman.js"></script> |
|
25 | <!-- Load the pacman game into the "pacman" container by ID. --> |
25 | <!-- Load the pacman game into the "pacman" container by ID. --> |
|
- | 26 | <script> |
||
26 | <script> |
27 | PACMAN.init(document.getElementById("pacman"), "./"); |