Thank you very much Steve, it's working perfectly!
Arthur
Le 04/12/12 22:27, Lime, Steve D (DNR) a écrit :
You could write a onClick handler that takes a zoom value, sets a hidden
variable called zoom and submits the form.
function doZoom(zoom) {
// set value of zoom hidden variable
// submit the form
}
<input type="hidden" name="zoom" value="set programmatically">
<img src="dezoom.png" onclick="doZoom(-2)" /> <img src="zoom.png"
onclick="doZoom(2)" />
Steve
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Arthur Delorme
Sent: Monday, December 03, 2012 8:03 AM
To: [email protected]
Subject: [mapserver-users] Zooming
Hello,
Is there a way to perform a zoom with <input> instead of <select> or <radio>?
I used to do that with the following code but it's not working anymore on
recent versions of Firefox:
<input type="image" name="zoom" src="dezoom.png" value="-2" /> <input type="image" name="zoom"
src="zoom.png" value="2" />
Thank you,
Arthur
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users