Hello!!!<br>Is there any chance to put a Panel (a collection of buttons in my case) outside the Map.<br>I have tried with the 'div' option, but doesn't work for me.<br>Am I doing something wrong?.<br>Thanks<br>
Here is the page:<br><br><style type="text/css"><br> #map {<br> width: 650px;<br> height: 550px;<br> border: 1px solid black;<br> }<br> <span style="font-weight: bold;">
.olControlPanel div { </span><br> display: block;<br> float: left;<br> margin: 3px;<br> width: 24px;<br> height: 24px;<br> background-color:red;<br> }...
<br><br><script type="text/javascript"><br>var panel = new OpenLayers.<span style="font-weight: bold;">Control.Panel({div:$('panel')});</span><br> panel.addControls([<br> new
OpenLayers.Control.MouseDefaults(), // DragPan + MouseWheel<br> new OpenLayers.Control.ZoomBox(),<br> new OpenLayers.Control.ZoomToMaxExtent()<br> ]);<br>map.addControl(panel);<br>
<br><body onload="init()"><br> <table><br> <tr><br> <td style="width:40px" valign="middle" rowspan="3"><div id="panzoombar"></div></td>
<br> <span style="font-weight: bold;"><td colspan="3" align="right"><div id="panel"></div></td></span><br> </tr><br> <tr><br> <td colspan="3"><div id="map"></div></td>
<br> </tr><br> <tr><br> <td align="left" style="font-size:0.8em; font-family:Verdana"><div id="scale"></div></td><br> <td align="right" style="font-size:
0.8em; font-family:Verdana"><div id="position"></div></td><br> </tr><br> </table><br> <div id="nodelist"></div><br></body><br><br>