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
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to