<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY bgColor=#d8d0c8>
<DIV><FONT size=2>Displaying query results in a new window --</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Using javascript you can set the target object in the
form. This can allow you to change the output of a form submission to
either a new window or a new frame. In order to do this, you need to be
careful to reset the form target for other functions so that you are not
constantly sending stuff to new windows. To see how this works, go
to:</FONT></DIV>
<DIV><FONT size=2><A
href="http://www.nohrsc.nws.gov/mapserv/ms_refmp/">http://www.nohrsc.nws.gov/mapserv/ms_refmp/</A></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>The page automatically redirects you to one of
two versions depending on your screen size -- if you have a small screen, query
results will display in a new window, if you have a large screen query results
will display in a frame on the right of the screen. All the scripts I used
can be seen using the view source option in your browser. I handle all
form submissions through JS so I simply set the form target in each of my
functions to make sure everything gets directed to the right place.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT size=2>Any questions, drop me a line.</FONT></DIV>
<DIV><FONT size=2>David Bitner</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000
size=2>*********************************************************************<BR>David
William Bitner -- GIS/ Remote Sensing Specialist<BR>National Operational
Hydrologic Remote Sensing Center<BR>National Weather Service, Chanhassen, MN
55317<BR>work: <A href="mailto:bitner@nws.gov">bitner@nws.gov</A>, <A
href="http://www.nohrsc.nws.gov">http://www.nohrsc.nws.gov</A><BR>
952-361-6610 x231, fax: 952-361-6634<BR>personal: <A
href="mailto:bitner@gyttja.org">bitner@gyttja.org</A>, <A
href="http://www.gyttja.org">http://www.gyttja.org</A><BR>
651-335-5232<BR>*********************************************************************</FONT></DIV></BODY></HTML>