From 0413ee1e911be1891122aa424d151650ccfb1f88 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Sun, 15 Jul 2007 06:47:45 +0000 Subject: [PATCH] Information on how to place the Navigation Toolbar outside the map, including step by step instructions. git-svn-id: http://svn.openlayers.org/trunk/openlayers@3750 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/navtoolbar-outsidemap.html | 67 +++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 examples/navtoolbar-outsidemap.html diff --git a/examples/navtoolbar-outsidemap.html b/examples/navtoolbar-outsidemap.html new file mode 100644 index 0000000000..28f738fe24 --- /dev/null +++ b/examples/navtoolbar-outsidemap.html @@ -0,0 +1,67 @@ + + + + + + + + +

Navigation Toolbar: Outside the Map

+
+
+
+

To place the Naviation Toolbar outside the map:

+ +
+<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
+<style type="text/css">
+  #paneldiv { float: right; }
+  #paneldiv div { 
+    top: 10px; 
+  }
+</style>
+<div id="paneldiv" class="olControlNavToolbar"></div>
+
+...
+
+var panel = new OpenLayers.Control.NavToolbar({'div':OpenLayers.Util.getElement('paneldiv')});
+
+
+ + +