[mapserver-users] RE: Interface design advice

Martin, Daniel DMartin at erac.com
Tue Jun 4 10:57:10 EDT 2002


Without javascript, you can set the target for your form to be the frame.

<FORM METHOD=GET NAME="mapserv" target="myFrame">

If your audience is purely internal, and you know they will all be using
Internet Explorer, I'd suggest an <iframe>.  If users might be on Netscape,
you'll have to use standard frames.

-Dan



-----Original Message-----
From: Stephen Woodbridge [mailto:woodbri at swoodbridge.com]
Sent: Tuesday, June 04, 2002 7:12 AM
To: simon yc
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [mapserver-users] RE: Interface design advice


simon yc wrote:

> Problem:
> In other parts of my website, I sometimes mention a place, say XYZ and
> provides a link to
> the map application to directly zoom to it. With non-frames solution, I
can
> send a url like "www.map.com?place=XYZ
> What is the solution for frames ?

It depends on what you want to do with the link to a frame. 

Typically, if you already have the frames loaded and with your content
in one frame and you just want the map to show in another frame you add
a <img src="www.map.com?place=XYZ" target="map_frame">

or you could place a link that would popup a window with the map's
parent frameset and use some javascript to get it to load the correct
"www.map.com?place=XYZ" location.

-Steve



More information about the mapserver-users mailing list