[mapguide-users] Display the Query Result in a separate popup window
SriRam007
binod_tripathy at yahoo.co.in
Tue Apr 20 00:54:20 EDT 2010
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.
More information about the mapguide-users
mailing list