Hi Manfred,<br><br>&nbsp;Thanks. I got my panning working.&nbsp; Thanks for explaining it.&nbsp; I think I understand it now that they all have to be one name.&nbsp; Thanks for your help.&nbsp; I am still working on the query.<br><br>Thanks,<br>Albert<br><br><b><i>Manfred Meier &lt;m.meier@spiekermann.de&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi Albert,<br><br>I copied your html code to my local server and use it for the template <br>in the mapfile.<br><br>The result is: the Map Tools, Map Layers, Reference Map, legend titles <br>appear. The icons for the radio buttons do not appear but that's no problem.<br><br>The map appears (with some data of mine). If I click on one of the map <br>tools, and then into the map, then their is the correct effect. The map <br>zooms in or out or recenters.<br><br>When I click on the corners of the map margin (for pan), then I get a <br>javascript
 error because "document.mapserv" is undefined.<br><br>When I click on the GO button (which took a time to find it) I get <br>another javascript error, because "document.corner" is undefined. In <br>Lawrence's source code you see that "Corner" is the name of a form.<br>Your go-Button is in the form "the_form".<br><br>Then I have changed "the_form" to "the_map" and i have changed "mapserv" <br>in "document.mapserv" to "the_map". Then i deleted the line <br>"document.the_map.mode[0].checked=true" because this has an error anywhere.<br><br>Now the pan functions on the corner of the image are working. Not <br>perfect but they do. They pan an zoom. But I think this a not a big <br>problem to solve.<br><br>I have changed the "document.corner" into document.the_map. So now the <br>Go button kind of works. It produces a fresh page.<br><br>And I have changed the [program] placeholders to my actual url because I <br>don't know where to set this value.<br><br>Try to do the changes and
 test every step.<br><br>I'm now out. Perhaps til tomorrow.<br><br>Manfred<br><br><br><br><br><br><br><br><br><br><br><br><br>Albert Anderson schrieb:<br><br>&gt; Hi Manfred Meier,<br>&gt; <br>&gt;  I dont know about the errors cause I do not for sure how to open the <br>&gt; html code direct in the browser. I have javascript for panning arrows <br>&gt; around the image that I couldnt get working.<br>&gt; <br>&gt; For the go button to I have to set some sort of vaule to that?  I dont kow.<br>&gt; <br>&gt; Thanks,<br>&gt; Albert<br>&gt; <br>&gt; Manfred Meier <m.meier@spiekermann.de> wrote:<br>&gt; <br>&gt;     Hi Albert,<br>&gt; <br>&gt;     when I load the html code into the browser then I get javascript errors<br>&gt;     (status line of internet explorer) because document.the_map and<br>&gt;     document.mapserv are undefined. "document.the_map" is used in the<br>&gt;     javascript function set_Mode which is called in the onload event.<br>&gt;     Do you get these
 errors too?<br>&gt; <br>&gt;     Maybe they come only here because I opened the html code direct in the<br>&gt;     browser.<br>&gt; <br>&gt;     Manfred<br>&gt; <br>&gt; <br>&gt;     Albert Anderson schrieb:<br>&gt; <br>&gt;      &gt; Hi Lawrence,<br>&gt;      &gt;<br>&gt;      &gt; I tried copying your code and changing out your information to fit<br>&gt;      &gt; mine. Its not working to well. My button isnt doing anything.<br>&gt;     Here is<br>&gt;      &gt; my html code. Maybe you can look at it? I dont know what I am doing.<br>&gt;      &gt; Thanks, Albert<br>&gt;      &gt;<br>&gt;      &gt; .....<br>&gt; <br>&gt; <br>&gt; <br>&gt; ------------------------------------------------------------------------<br>&gt; Yahoo! Messenger with Voice. Make PC-to-Phone Calls <br>&gt; <http: //us.rd.yahoo.com/mail_us/taglines/postman1/*http://us.rd.yahoo.com/evt="39663/*http://voice.yahoo.com"> <br>&gt; to the US (and 30+ countries) for 2�/min or
 less.<br><br></http:></m.meier@spiekermann.de></blockquote><br><p>&#32;
                <hr size=1>How low will we go? Check out Yahoo! Messenger’s low <a href="http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com"> PC-to-Phone call rates.