Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: FRAME INSIDE FRAME


Message #1 by "Pallone, Claudio [KMR-SPC]" <Claudio.Pallone@k...> on Mon, 7 Oct 2002 12:29:25 +0100
Hi,

I have the following scenario:

1 - I have a framest with 2 rows. However the report frame has another 
frame as its src as follows:

<frame name=3D"toolbar" src=3D"toolbar.aspx" scrolling=3D"no">
<frame name=3D"report" src=3DOtherFramest.asp>

The OtherFramest.asp is another frame as follows:

<frameset cols=3D"225,*" border=3D"0" frameSpacing=3D"0" 
frameBorder=3D"0">
		<frameset rows=3D"125,*">
			<frame name=3D"leftTop" src=3D<%=3DstrLeftTopURL%> scrolling=3D"no">
			<frame name=3D"leftBottom" src=3D<%=3DstrLeftBottomURL%> 
scrolling=3D"no">
		</frameset>
		<frameset rows=3D"125,*">
			<frame name=3D"rightTop" src=3D<%=3DstrRightTopURL%> 
scrolling=3D"no">
			<frame name=3D"rightBottom" src=3D<%=3DstrRightBottomURL%> >
		</frameset>
</frameset>


I have a button in the toolbar frame and when I click on it I call a 
javascript function to change something in the rightBottom frame.

I have tried:
=09

var arrTables =3D 
parent.rightBottom.document.getElementsByTagName("table");
var arrTables =3D 
window.parent.rightBottom.document.getElementsByTagName("table");
var arrTables =3D 
parent.parent.rightBottom.document.getElementsByTagName("table");
var arrTables =3D 
parent.parent.parent.rightBottom.document.getElementsByTagName("table");

but could not get to rightBottom frame?

Would appreciate any help.

Cheers,

Claudio


BMRB International
http://www.bmrb.co.uk +44 (0)20 8566 5000
____________________________________________________________
This message (and any attachment) is intended only for the recipient and 
may contain confidential and/or privileged material. If you have 
received this in error, please contact the sender and delete this 
message immediately. Disclosure, copying or other action taken in 
respect of this email or in reliance on it is prohibited. BMRB 
International Limited accepts no liability in relation to any personal 
emails, or content of any email which does not directly relate to our 
business.

  Return to Index