[mapguide-users] Referencing frames

GordonL gordon.luckett at arrowgeomatics.com
Wed Aug 5 13:57:00 EDT 2009


Hi Alex,
try

top.top. reportFrame

Glad to see you're still around!

gordon


Alex Fordyce wrote:
> 
> Hi,
> 
> I have the following framesets:
> 
> <frameset id="outerFr" cols="*,355">
> <frameset rows="30,*" frameborder="no" framespacing="0">
> 	<frame id="titleFrame" src="title.html">
> 	<frame id="viewerFrame"
> src="../mapviewernet/ajaxviewer.aspx?SESSION=<%=sessionId%>&WEBLAYOUT=<%=webLayout%>">
> </frameset>
> <frameset id="innerFr2" rows="275,*">
> 	<frame id="searchFrame" src="search.aspx">
> 	<frame id="reportFrame" src="reports.htm">
> </frameset>
> </frameset>
> 
> I also have an Invoke script command that invokes the following at the
> end:
> 
> formFrame.Submit(pageUrl, params, "taskPaneFrame");
> 
> ...and this works fine but I would like to reference my "reportFrame" as
> shown above. So far I have been unsuccessful. I thought the following
> might work but does not.
> 
> formFrame.Submit(pageUrl, params, "window.top.reportFrame");
> formFrame.Submit(pageUrl, params, "parent.reportFrame");
> 
> Any ideas? Anyone been successful in referencing frames outside the
> viewerFrame?
> 
> Thanks,
> alex
> 
> 

-- 
View this message in context: http://n2.nabble.com/Referencing-frames-tp2807749p3393834.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list