[mapguide-users] How to hide URL bar in the window opened from a CTRL+Click on a layer?

Denis Lalonde denlalonde at gmail.com
Wed Jul 20 09:03:53 EDT 2011


I think this only works with IE, but if you're using the Ajax viewer, you
can edit the ajaxmappane.templ file.

In the ExecuteHyperlink() function change:
*window.open(linkURL, targetFrame); *
to
*window.open(linkURL,
targetFrame,"toolbar=no,resizable=no,scrollbars=no,location=no");*

Cheers,
Denis
http://maps.cornwall.ca

On Tue, Jul 19, 2011 at 5:56 AM, Hardt <preinhart at environcorp.com> wrote:

> Hi,
> Everything is in the title: I have some layers with points.
> When you CTRL+Click a point, you launch a url like:
>
> http://blabla.com/my_page.php?this_var=X&that_page=Y
>
> I don't want people to see the address in the pop-up window.
> But as the window is launched from Mapguide, I cannot set a javascript to
> hide the status bar or the address bar.
>
> Any hint?
>
> Thanks,
>
> Phil
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/How-to-hide-URL-bar-in-the-window-opened-from-a-CTRL-Click-on-a-layer-tp6598184p6598184.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20110720/bd0ee10d/attachment.html


More information about the mapguide-users mailing list