index.html 970 B

123456789101112131415161718192021222324252627282930313233343536
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  4. <title>Demo géolocalisation 2</title>
  5. <link rel="stylesheet" href="geo.css" />
  6. </head>
  7. <body>
  8. <h1>Step 3: object-oriented refactoring</h1>
  9. <p>Same code as <a href="../geo2.html">geo2</a>, but refactored as independent
  10. objects and a launcher for easier maintenance/testing.</p>
  11. <h2>Results</h2>
  12. <div id="geo"></div>
  13. <script src="Geo.js"></script>
  14. <script src="MessageElement.js"></script>
  15. <script src="geo3.js"></script>
  16. <h2>Sources</h2>
  17. <ul>
  18. <li><a href="Geo.js">Geo object</a></li>
  19. <li><a href="MessageElement.js">MessageElement object</a></li>
  20. <li><a href="geo3.js">Wrapper script</a></li>
  21. </ul>
  22. <div class="navbar">
  23. <h2>Navigation</h2>
  24. <ul>
  25. <li><a href="../geo2">Previous</a></li>
  26. <li><a href="../geo4">Next</a></li>
  27. </ul>
  28. </div>
  29. </body>
  30. </html>