[mapserver-users] New window for query results

stepan.kafka at centrum.cz stepan.kafka at centrum.cz
Mon Dec 3 06:06:13 PST 2001


There are several ways to get it via javascript code. Try for 
instance:

...
newWin =window.open("", "resultsWin", "<my_win_properties>");
document.mapserv.target = "resultsWin";
document.mapserv.submit()
...

or
...
myURL = <here_assemble_your_query_url>;
newWin =window.open(myURL, "resultsWin", "<my_win_properties>");


Stepan Kafka

______________________________________________________________
> Od: "Maul, Andreas-Alexander" <Andreas.Maul at bgr.de>
> Komu: "'mapserver-users at lists.gis.umn.edu'"  <mapserver-
users at lists.gis.umn.edu>
> CC: 
> Datum: Mon, 3 Dec 2001 11:07:17 +0100
> Předmět: [mapserver-users] New window for query results
>
> Hi,
> is there an easy way to open a new window for showing query 
results whereas
> the map and navigation window remains visible? I tried to use 
the javascript
> window.open method in the query template file (which itself 
redirects the
> call via the "refresh" meta tag to a php script file for a 
database query)
> and in the file with the php query. However every time the 
results popped up
> in the same window. Or must I do the window handling in the map 
template
> file?
> Thanks in advance,
> Andreas
> 


-----
Informace bez čekání jen na Vaše zavolání. Nová služba České pošty: 0800/10 44 10; info at info.cpost.cz
http://user.centrum.cz/redir.php?url=http://www.cpost.cz/Aktuality/Default.htm






More information about the MapServer-users mailing list