[Mapserver-users] retain button state

Wim Blanken (PI) wim.blanken@planet.nl
Wed, 04 Feb 2004 17:03:48 +0100


Hello Steve,

We use frames to build a mapserver application.
In the controlcentre.htm file (which is the template we use) we keep a
variable we name activetool.

    <input name="activetool"  type="hidden" value="[activetool]">

Then in the tools section the value of the activetool variable is used to
determine which
button was pressed before a submit action was completed.....
So if the button zoomin is used the activetool is set to zoomin. Then after
a submit we rebuild the toolbox and determine what the value is of
activetool. If
it is zoomin then the button is activated......

Regards,

Wim Blanken
The Netherlands


_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users