MapTools.org

Sum: [rosa-users] Remeber last selected button

Stefan Wiegand s.wiegand@kdvz.de
Thu, 7 Nov 2002 15:57:56 +0100
This is a multipart message in MIME format.
--=_alternative 005233AEC1256C6A_=
Content-Type: text/plain; charset="us-ascii"

Hi rosa users,

thank you Frank for the quick reply. This was the solution for my problem.

Regards,

Stefan Wiegand





Frank Koormann <frank.koormann@intevation.de>
07.11.2002 11:19

 
        An:     Stefan Wiegand <s.wiegand@kdvz.de>
        Kopie:  rosa-users@dmsolutions.ca
        Thema:  Re: [rosa-users] Remeber last selected button


Hi,

* Stefan Wiegand <s.wiegand@kdvz.de> [021107 11:12]:
>    Hi rosa users,
> 
>    I have installed the rosa applet with a mapserver cgi producing PNGs 
and
>    it works great. But now I want to remember the last selected button 
via
>    javascript (similar to setpixelsize). I define a hidden variable 
<input
>    type="hidden" name="lastButtonSelected" value=""> and set it via
>    TB_BUT_?_JSACTION with zoomin, zoomout, pan .... Now I want to change
>    <param name="TB_SELECTED_BUTTON" value="zoomin"> via javascript.
>    And that is the problem.
> 

Shouldn'i it be sufficient to put a 

<param name="TB_SELECTED_BUTTON" value=[lastButtonSelected]>

in your HTML-Template?

Regards,

        Frank

-- 
Frank Koormann                             <frank.koormann@intevation.de>
 Professional Service around Free Software       (http://intevation.net/)
 FreeGIS Project                                 (http://freegis.org/)



--=_alternative 005233AEC1256C6A_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">Hi rosa users,</font>
<br>
<br><font size=2 face="sans-serif">thank you Frank for the quick reply. This was the solution for my problem.</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br>
<br><font size=2 face="sans-serif">Stefan Wiegand</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Frank Koormann &lt;frank.koormann@intevation.de&gt;</b></font>
<p><font size=1 face="sans-serif">07.11.2002 11:19</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; An: &nbsp; &nbsp; &nbsp; &nbsp;Stefan Wiegand &lt;s.wiegand@kdvz.de&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Kopie: &nbsp; &nbsp; &nbsp; &nbsp;rosa-users@dmsolutions.ca</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Thema: &nbsp; &nbsp; &nbsp; &nbsp;Re: [rosa-users] Remeber last selected button</font></table>
<br>
<br>
<br><font size=2 face="Courier New">Hi,<br>
<br>
* Stefan Wiegand &lt;s.wiegand@kdvz.de&gt; [021107 11:12]:<br>
&gt; &nbsp; &nbsp;Hi rosa users,<br>
&gt; <br>
&gt; &nbsp; &nbsp;I have installed the rosa applet with a mapserver cgi producing PNGs and<br>
&gt; &nbsp; &nbsp;it works great. But now I want to remember the last selected button via<br>
&gt; &nbsp; &nbsp;javascript (similar to setpixelsize). I define a hidden variable &lt;input<br>
&gt; &nbsp; &nbsp;type=&quot;hidden&quot; name=&quot;lastButtonSelected&quot; value=&quot;&quot;&gt; and set it via<br>
&gt; &nbsp; &nbsp;TB_BUT_?_JSACTION with zoomin, zoomout, pan .... Now I want to change<br>
&gt; &nbsp; &nbsp;&lt;param name=&quot;TB_SELECTED_BUTTON&quot; value=&quot;zoomin&quot;&gt; via javascript.<br>
&gt; &nbsp; &nbsp;And that is the problem.<br>
&gt; <br>
<br>
Shouldn'i it be sufficient to put a <br>
<br>
&lt;param name=&quot;TB_SELECTED_BUTTON&quot; value=[lastButtonSelected]&gt;<br>
<br>
in your HTML-Template?<br>
<br>
Regards,<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Frank<br>
<br>
-- <br>
Frank Koormann &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;frank.koormann@intevation.de&gt;<br>
 Professional Service around Free Software &nbsp; &nbsp; &nbsp; (http://intevation.net/)<br>
 FreeGIS Project &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (http://freegis.org/)<br>
</font>
<br>
<br>
--=_alternative 005233AEC1256C6A_=--


This archive was generated by Pipermail.