Better HTML and CSS for the examples

And give the h1 tags a "title" id. The exampleparser.py script uses that as the example title in the index page.
This commit is contained in:
Éric Lemoine
2012-10-20 21:43:34 +02:00
parent b000c052e3
commit 1e0b43dd00
4 changed files with 51 additions and 13 deletions
+7 -2
View File
@@ -15,9 +15,8 @@
<title>ol3 two-layers demo</title>
</head>
<body>
<h1>Two-layer example</h1>
<h1 id="title">Two-layer example</h1>
<div id="shortdesc">Sync'ed DOM and WebGL maps with two layers.</div>
<div id="tags">layers, tilejson, bing, bingmaps</div>
<table>
<tr>
<th>DOM</th>
@@ -28,6 +27,12 @@
<td><div id="webglMap" class="map"></div></td>
</tr>
</table>
<div id="docs">
<p>See the
<a href="two-layers.js" target="_blank">two-layers.js source</a>
to see how this is done.</p>
</div>
<div id="tags">layers, tilejson, bing, bingmaps</div>
<script src="loader.js?id=two-layers" type="text/javascript"></script>
</body>
</html>