[mapguide-users] Re: Edit WebLayout Problem

Ivan Miličević Ivan.Milicevic at supranet.hr
Wed Apr 14 11:46:29 EDT 2010


You're hopeless :/

Try this: parent.parent.rows = "0,*,0,0";

You need to change "<frameset id="maparea" name="maparea" rows="%s,*,0,0" frameborder=0 border=0>" an atribute "rows".

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of SriRam007
Sent: Wednesday, April 14, 2010 4:03 PM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Re: Edit WebLayout Problem


apology for any mistake done by me Sir,

I have worked on Javascript but have not done anything related to Frames And
as i m having lack of knowledge about MGOS i thought it is somehow related
to MGOS that why i asked.

Thank u very much Sir Still u stayed with me and sharing so many useful
ideas

In my application i m getting Mapframe and taskarea like this
parent.parent.mapFrame
parent.parent.taskArea

And I saw the framesettaskbar.templ file it is as below

And sorry sir i m asking again silly Question but here i m not getting which
is the main frameset that i need to change its name

Is it the 1st one (bold line)???

<frameset rows="*,%s" frameborder=0 border=0>
    <frameset id="mainappFrame" name="mainappFrame" cols="*,%s"
frameborder=0 border=0>
        <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>
        <frameset id="taskArea" name="taskArea" rows="%s,*" frameborder=0
border=0>
            <frame id="taskBar" name="taskBar" %s noresize scrolling=no>
            <frame id="taskFrame" name="taskFrame" %s noresize scrolling=no>
        </frameset>
    </frameset>
    <frame id="sbFrame" name="sbFrame" %s noresize scrolling=no>
</frameset>

OR

Should i change anything inside the framesetnotaskbar.templ file
which is as below in my system

<frameset rows="%s,*,%s" frameborder=0 border=0>
    <frame name="tbFrame" %s noresize scrolling=no>
    <frameset name="maparea" cols="*,%s,0,0" frameborder=0 border=0>
        <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"
noresize scrolling=no>
        <frame id="taskFrame" name="taskFrame" %s noresize frameborder=1
border=1 scrolling=no>
        <frame id="formFrame" name="formFrame" noresize src="%s">
        <frame id="scriptFrame" name="scriptFrame"
src="../viewerfiles/blank.html" noresize>
    </frameset>
    <frame id="sbFrame" name="sbFrame" %s noresize scrolling=no>
</frameset>


thanks






-- 
View this message in context: http://n2.nabble.com/Edit-WebLayout-Problem-tp4869470p4901807.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