summaryrefslogtreecommitdiff
path: root/misc/openlayers/examples/accessible-click-control.html
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2015-10-17 21:36:38 +0200
committerChris Schlaeger <chris@linux.com>2015-10-17 21:36:38 +0200
commite30f267181d990947e67909de4809fa941698c85 (patch)
tree46e9f94c2b3699ed378963b420b8a8d361286ea1 /misc/openlayers/examples/accessible-click-control.html
parente763ceb183f389fcd314a4a6a712d87c9d4cdb32 (diff)
downloadpostrunner-e30f267181d990947e67909de4809fa941698c85.zip
Upgrading openlayers to 3.x
Diffstat (limited to 'misc/openlayers/examples/accessible-click-control.html')
-rw-r--r--misc/openlayers/examples/accessible-click-control.html69
1 files changed, 0 insertions, 69 deletions
diff --git a/misc/openlayers/examples/accessible-click-control.html b/misc/openlayers/examples/accessible-click-control.html
deleted file mode 100644
index c8d97cd..0000000
--- a/misc/openlayers/examples/accessible-click-control.html
+++ /dev/null
@@ -1,69 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <title>Accessible Custom Click Control</title>
-
- <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
- <link rel="stylesheet" href="style.css" type="text/css">
- <style type="text/css">
- <style type="text/css">
- a {
- text-decoration: none;
- font-size: 1.2em;
- }
- a em {
- font-style: normal;
- font-weight: normal;
- text-decoration: underline;
- }
- a:hover {
- text-decoration: underline;
- }
- a.api {
- font-size:1em;
- text-decoration:underline;
- }
- a.accesskey {
- color: white;
- }
- a.accesskey:focus {
- color: #436976;
- }
- a.zoom {
- padding-right: 20px;
- }
- </style>
- <script src="../lib/Firebug/firebug.js"></script>
- <script src="../lib/OpenLayers.js"></script>
- <script src="accessible-click-control.js"></script>
- </head>
- <body onload="init()">
- <h1 id="title">An accessible click control implementation</h1>
-
- <div id="tags">
- click, control, accessibility
- </div>
-
- <a class="accesskey"
- href=""
- accesskey="1"
- onclick="document.getElementById('map').focus();return false;">
- Jump to map
- </a>
-
- <div id="map" class="smallmap" tabindex="0"></div>
-
- <p id="desc">
- Demonstrate the KeyboardDefaults control as well as a control that
- allows clicking on the map using the keyboard.
- First focus the map (using tab key or mouse), then press the 'i'
- key to activate the query control. You can then move the point
- using arrow keys. Press 'RETURN' to get the coordinate. Press 'i'
- again to deactivate the control.
- </p>
-
- </body>
-</html>