[mapserver-users] Button / Automaticly run

Jay Kapalczynski jkapalczynski at ci.maple-grove.mn.us
Wed Oct 7 13:09:37 PDT 2009


I have this button which I am running from a button in a php page, which is simply zooming to a new extent.
Is there any way to automatically run this code...instead of assigning it to a button?

echo "<h5 style=\"margin:0px; padding:0px;\"><b>Zoom to View String:</b><a href=\"javascript:Map.zoomToViewString(".$varextentminx." + ',' + ".$varextentminy." + ',' + ".$varextentmaxx." + ',' + ".$varextentmaxy.")\"><img src=\"shared/images/view.png\" border=\"0\" title=\"Click to Zoom Map to PID\"></a>";

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091007/61ff4f3e/attachment.htm>


More information about the MapServer-users mailing list