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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user