In order to use onLoad="..." You will have to specify the frame number in
javascript.

Justin

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Shirley Chen
Sent: Friday, April 27, 2001 7:26 PM
To: [EMAIL PROTECTED]
Subject: Re: frame problem


Thanks. But how can I refer to doc2Body.jsp in onLoad="..."?



>From: Tarik Makota <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>     reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: frame problem
>Date: Fri, 27 Apr 2001 14:01:29 -0400
>
><BODY onLoad="...">
>
>Tarik
>
>
>----- Original Message -----
>From: "Shirley Chen" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Friday, April 27, 2001 1:21 PM
>Subject: frame problem
>
>
> > Hi,
> >
> > I have a nested frameset which looks like this:
> >
> >   <frameset rows="100,*">
> >     <frame src="Header.jsp"  name="HeaderFrame" >
> >     <frameset cols="250,*" >
> >         <frame src="menu.jsp" name="MenuFrame" >
> >         <frame src="main.jsp" name="MainFrame" >
> >     </frameset>
> >   </frameset>
> >
> > in the main.jsp, it looks like this:
> >   <frameset rows="55%,45%">
> >     <frame src="doc1.jsp" name="Doc1Frame">
> >     <frame src="doc2.jsp" name="Doc2Frame>
> >   </frameset>
> >
> > then in doc1.jsp, I have
> > <frameset rows="60,*">
> >     <frame src= "doc1Head.jsp" name="Doc1Head" >
> >     <frame src="doc1Body.jsp" name="Doc1Body" >
> > </frameset>
> >
> > in doc2.jsp, I have
> > <frameset rows="25,*">
> >     <frame src="doc2Head.jsp" name="Doc2Head" >
> >     <frame src="doc2Body" name="Doc2Body" >
> > </frameset>
> >
> > The challenge is if doc1Body change its contents, I need to refresh
>doc2Body
> > to reflect the changes.  That means every time I reload doc1Body, I need
>to
> > reload doc2Body.  But how does it work? I tried it for so long time, and
> > still can't figure it out.  Please help me.
> >
> > thanks
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at http://explorer.msn.com
> >
> >
>===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to