<div><second try></div>
<div>hi people,<br><br>using OpenLayers.Control.LayerSwitcher...<br><br>please, can someone give me a quick example how maximizeControl function and<br>maximizeDiv property work ?<br><br>I wanna write something like this. is it possible ?
<br><br>// first example<br>map.addControl(new OpenLayers.Control.LayerSwitcher({'ascending':false,<br>'maximizeDiv':something1}));<br><br>// and second one please<br>var ls = new OpenLayers.Control.LayerSwitcher
();<br>ls.maximizeControl(something2);<br><br>what is needed to replace "something1" and "something2" and set the label<br>(title ?) and divs (minimized / maximized, ...) in the upper code ?<br><br>TIA
<br>skotea (newbie)<br><br>PS : where can I find online examples and tutorials about openlayers ?<br> </div>
<div><span class="gmail_quote">On 7/6/07, <b class="gmail_sendername"><a href="mailto:users-owner@openlayers.org">users-owner@openlayers.org</a></b> <<a href="mailto:users-owner@openlayers.org">users-owner@openlayers.org
</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">You are not allowed to post to this mailing list, and your message has<br>been automatically rejected. If you think that your messages are
<br>being rejected in error, contact the mailing list owner at<br><a href="mailto:users-owner@openlayers.org">users-owner@openlayers.org</a>.<br><br><br><br>---------- Forwarded message ----------<br>From: skotea <<a href="mailto:skotea@gmail.com">
skotea@gmail.com</a>><br>To: <a href="mailto:users@openlayers.org">users@openlayers.org</a><br>Date: Fri, 6 Jul 2007 08:14:05 -0700 (PDT)<br>Subject: how to "set up the labels and divs for the control" ?<br><br>
hi people,<br><br>using OpenLayers.Control.LayerSwitcher...<br><br>please, can someone give me a quick example how maximizeControl function and<br>maximizeDiv property work ?<br><br>I wanna write something like this. is it possible ?
<br><br>// first example<br>map.addControl(new OpenLayers.Control.LayerSwitcher({'ascending':false,<br>'maximizeDiv':something1}));<br><br>// and second one please<br>var ls = new OpenLayers.Control.LayerSwitcher
();<br>ls.maximizeControl(something2);<br><br>what is needed to replace "something1" and "something2" and set the label<br>(title ?) and divs (minimized / maximized, ...) in the upper code ?<br><br>TIA
<br>skotea (newbie)<br><br><br>--<br>View this message in context: <a href="http://www.nabble.com/how-to-%22set-up-the-labels-and-divs-for-the-control%22---tf4036245.html#a11466628">http://www.nabble.com/how-to-%22set-up-the-labels-and-divs-for-the-control%22---tf4036245.html#a11466628
</a><br>Sent from the OpenLayers Users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br><br><br></blockquote></div><br>