]> dev.renevier.net Git - syp.git/blob - openlayers/examples/xhtml.html
reset openlayers directory to its original state at the end of build.sh
[syp.git] / openlayers / examples / xhtml.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2         "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <title>XHTML Example</title>
6 <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
7     <link rel="stylesheet" href="style.css" type="text/css" />
8 <script src="../lib/OpenLayers.js" type="text/javascript"></script>
9 </head>
10 <body style="width:100%">
11     <h1 id="title">XHTML Example</h1>
12
13     <div id="tags">
14     </div>
15     <p id="shortdesc">
16         Shows openlayers running in a XHTML 1.0 Strict Doctype
17     </p>
18
19   <div id="map" class="smallmap"></div>
20   <script defer="defer" type="text/javascript">
21     var map = new OpenLayers.Map('map');
22     var wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",
23         "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} );
24     map.addLayer(wms);
25     map.zoomToMaxExtent();
26   </script>
27       <div id="docs">This example shows openlayers using a XHTML 1.0 Strict Doctype click on the below image to validate.
28           <p>
29                 <a href="http://validator.w3.org/check/referer"><img
30                     src="http://www.w3.org/Icons/valid-xhtml10"
31                     alt="Valid XHTML 1.0!" height="31" width="88" /></a>
32       </p>
33     </div>
34
35 </body>
36 </html>
37
38