[mapserver-users] Cannot display query result in popup window
kreshna_iceheart at yahoo.com
kreshna_iceheart at yahoo.com
Tue Jul 8 03:42:48 PDT 2008
It works! I overlooked a very simple thing and forgot to add the "OnClick" function on my map (the <input type="img"> tag). Duh!
My apologize,
-Kresh
--- On Tue, 7/8/08, kreshna_iceheart at yahoo.com <kreshna_iceheart at yahoo.com> wrote:
> From: kreshna_iceheart at yahoo.com <kreshna_iceheart at yahoo.com>
> Subject: [mapserver-users] Cannot display query result in popup window
> To: mapserver-users at lists.osgeo.org
> Date: Tuesday, July 8, 2008, 6:28 AM
> 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_______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list