Kresh,

I may be missing something, but your toFrame() function doesn't seem to be called at any point.
I'd have expected it to be called sometime before the form is submitted.

Andrew


On 8 Jul 2008, at 11:28, [EMAIL PROTECTED] wrote:

Hi,

I'm using MapServer for Windows. I made a query on my map. The query result is displayed properly, but I cannot display it on a popup window. The query result is always displayed on the same browser window, "replacing" the map with the result.

I have added the following scripts on my template:
       function toFrame() {
if (document.mapserv.mode.value == "query" || document.mapserv.mode.value == "nquery") {
             document.mapserv.target = "_blank";
          } else {
             document.mapserv.target = "_self";
          }
       }

Yet the query above simply does not work; the result of the query is always displayed on the same browser window ("replacing" my map) instead of displayed in a popup window.

Am I doing the right thing? I also attach the map file, the HTML template, and the query template. Many thanks.
-Kresh









<GABUNGAN.map><GABUNGAN_tmpl.html><GABUNGAN_query_desa.html>__________ _____________________________________
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

Reply via email to