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>Side-by-side example</title>
</head>
<body>
<h1>ol3 side-by-side demo</h1>
<h1 id="title">Side-by-side example</h1>
<div id="shortdesc">Side-by-side DOM and WebGL sync'ed maps.</div>
<div id="tags">side-by-side, webgl, dom, sync, object</div>
<table>
<tr>
<th>DOM</th>
@@ -67,6 +66,12 @@
</tr>
</table>
<p><b>Notes:</b> The two maps share the same center, resolution, rotation and layers.</p>
<div id="docs">
<p>See the
<a href="side-by-side.js" target="_blank">side-by-side.js source</a> to
see how this is done.</p>
</div>
<div id="tags">side-by-side, webgl, dom, sync, object</div>
<script src="loader.js?id=side-by-side" type="text/javascript"></script>
</body>
</html>