[mapguide-users] Display the Query Result in a separate popup
window
Ivan Miličević
Ivan.Milicevic at supranet.hr
Tue Apr 20 02:24:28 EDT 2010
Do you want a popup window or ad new frame in the existing layout???
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of SriRam007
Sent: Tuesday, April 20, 2010 6:54 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Display the Query Result in a separate popup window
Hello Everyone,
I want to display the Query Result in a separate popup window just below
the Map
As marked in the image below
And I tried by doing this by adding a new frame and setting the src to my
Query result page
I m not sure weather it is possible to add another frame inside Maparea
frameset (framesettaskbar.templ) dynamically
I m trying like this
************************************************************************************************************
var newFrame1 = document.createElement("frame");
newFrame1.id = "newFrame1";
newFrame1.name = "newFrame1";
newFrame1.src = "/mapguide/MyApp/query/QueryPopup.aspx"; //This is the
popup page where i want to display the Query Result
var frameset = parent.parent.maparea; // Here I m getting the framesret.
frameset.cols = null;
frameset.rows = "%s,*,0,0,150";
frameset.appendChild(newFrame1);
frameset.appendChild(); //Error :: htmlfile: Invalid argument
************************************************************************************************************
<frameset id="maparea" name="maparea" rows="%s,*,0,0" frameborder=0
border=0>
<frame id="tbFrame" name="tbFrame" %s noresize scrolling=no>
<frame id="mapFrame" name="mapFrame"
src="%s?MAPDEFINITION=%s&TYPE=%s&SHOWLEGEND=%s&SHOWPROP=%s&INFOWIDTH=%s&LOCALE=%
s&HLTGT=%s&HLTGTNAME=%s&SHOWSLIDER=%s%s" scrolling=no border=3>
<frame id="formFrame" name="formFrame" noresize src="%s">
<frame id="scriptFrame" name="scriptFrame"
src="../viewerfiles/blank.html" noresize>
</frameset>...
************************************************************************************************************
Please any one Help
thanks in Advance
http://n2.nabble.com/file/n4929403/Copy_of_MapGuide_Formframe.bmp
--
View this message in context: http://n2.nabble.com/Display-the-Query-Result-in-a-separate-popup-window-tp4929403p4929403.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
More information about the mapguide-users
mailing list