CGI Post Query Results in Separate Window
Gregor Mosheh
gregor at HOSTGIS.COM
Fri Apr 20 09:42:28 PDT 2007
> Is it possible in the CGI environment to post results of a query in
> separate window from the map?
That's kinda more of a HTML question than a Mapserver question, if I
understand it. Or maybe it's that my answer is more of a HTML answer than
a Mapserver answer... :)
On the purely Mapserver server end, it's not the server's job to know what
you're doing with the info, e.g. frames and all. So you hafta do it on the
HTML side.
The way we handle it is with frames or iframes. We have a frame for
showing query results, and some JavaScript that says "on mouse click,
figure up the query URL and open that URL in this other frame" If you
already have click-queries working, you may get by with just adding a
"target=" attribute to the link.
--
HostGIS
Cartographic development and hosting services
707-822-9355
http://www.HostGIS.com/
"Remember that no one cares if you can back up, only if you can restore."
- AMANDA
More information about the MapServer-users
mailing list