<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><DIV>Jeff,</DIV><DIV>Like I said, I tried to follow the GMAP example, but have not had any luck.</DIV><DIV>In my 'project_contents.php' file, I have the following code:</DIV><DIV>&nbsp;</DIV><DIV><STRONG>In the header:</STRONG></DIV><DIV>&nbsp;</DIV><DIV>&lt;HEAD&gt;<BR>&lt;SCRIPT LANGUAGE="JavaScript"&gt;</DIV><DIV>function CustomView()<BR>{<BR>&nbsp;&nbsp;&nbsp; if (document.forms[0].ViewRegion.selectedIndex != 0 &amp;&amp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; document.forms[0].ViewRegion.selectedIndex !=1)<BR>&nbsp;&nbsp;&nbsp; document.forms[0].submit();<BR>}</DIV><DIV>&lt;/SCRIPT&gt;<BR>&lt;/HEAD&gt;</DIV><DIV>&nbsp;</DIV><DIV><STRONG>In the body:<BR></STRONG>&lt;TR&gt;</DIV><DIV>&lt;TD BGCOLOR="#C1D8E3" ALIGN="CENTER"&gt;<BR>&lt;FONT FACE="Arial, Helvetica, sans-serif" SIZE="2"&gt;<BR>&nbsp;&lt;SELECT NAME="ViewRegion"&nbsp; onChange="CustomView()"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION&gt;Quick View&lt;/OPTION&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION&gt;- - - - Under Development - - - - - -&lt;/OPTION&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="7121000,828000,7600000,1120000"&gt;Lake Ontario Region&lt;/OPTION&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;OPTION VALUE="7200000,833270,7291840,894520"&gt;Niagara (ON)&lt;/OPTION&gt;<BR>&nbsp;&lt;/SELECT &gt;</DIV><DIV>&lt;/FONT&gt;<BR>&lt;/TD&gt;<BR>&lt;/TR&gt;</DIV><DIV><BR><DIV>----------</DIV><DIV>When I click on&nbsp;'Niagara' from the drop-down list, the map&nbsp;re-draws the current/existing extent, just like a refresh would.</DIV><DIV>I'm not sure if I have this code in the right file even.</DIV><DIV>I haven't posted this to the mapserver list yet because whenever I post a php question, it often goes unanswered.&nbsp; Posting php questions to this list is the only place where people seem to respond.</DIV><DIV>&nbsp;</DIV><DIV>Thanks.</DIV><DIV>&nbsp;</DIV><DIV>Kevin<BR></DIV><FONT color=#990099>-----Jeff McKenna &lt;jmckenna@dmsolutions.ca&gt; wrote: -----<BR><BR></FONT><blockquote style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">To: kgrootendorst@baird.com<BR>From: Jeff McKenna &lt;jmckenna@dmsolutions.ca&gt;<BR>Date: 11/10/2004 01:41PM<BR>cc: maplab-users@lists.maptools.org<BR>Subject: Re: [maplab-users] zoom to fixed extent<BR><BR><FONT face=monospace size=2>Hey Kevin,<BR><BR>Nothing is ever simple :) &nbsp;I guess you could include a snippet of your <BR>code for everyone to see. &nbsp;Also I would send the same message (with the <BR>code) to the main mapserver list - <BR><A href="http://lists.umn.edu/archives/mapserver-users.html" target=blank  >http://lists.umn.edu/archives/mapserver-users.html</A>.<BR><BR>jeff<BR><BR><BR><BR><BR>kgrootendorst@baird.com wrote:<BR>&gt; <BR>&gt; Hello list,<BR>&gt; I have a somewhat simple task, but I'm getting stumped. &nbsp;I'm trying to <BR>&gt; zoom to a specific extent, selected from a drop down box.<BR>&gt; I want to be able to select a county name from the list, and have the <BR>&gt; map zoom to that county.<BR>&gt; I've been trying to following the GMAP example (since that has a similar <BR>&gt; function using provinces), but I'm not sure if I'm getting the code in <BR>&gt; the right places.<BR>&gt; Any suggestions for simplifying this task?<BR>&gt; <BR>&gt; <BR>&gt; MapLab 2.2<BR>&gt; MS 4.2<BR>&gt; php 4.3.4<BR>&gt; Windows 2000<BR>&gt; <BR>&gt; Thanks.<BR>&gt; <BR>&gt; Kevin<BR>&gt; <BR>&gt; <BR><BR>-- <BR>Jeff McKenna<BR>GIS Specialist<BR>DM Solutions Group Inc.<BR><A href="http://www.dmsolutions.ca/" target=blank  >http://www.dmsolutions.ca</A><BR><BR></FONT></blockquote><br></DIV></FONT>