<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Targeting Frames with Javascript for Page Reloads.</TITLE>
<META content="MSHTML 6.00.2462.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=456235512-09082001><FONT face=Arial color=#0000ff size=2>Try
not to use 'top' as a frame name since you may get confused with
top.document....</FONT></SPAN></DIV>
<DIV><SPAN class=456235512-09082001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=456235512-09082001><FONT face=Arial color=#0000ff size=2>Need a
little more information about what you are trying to do. Using your example, you
should be able to use a full reference document.top.location=top.asp
</FONT></SPAN></DIV>
<DIV><SPAN class=456235512-09082001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=456235512-09082001><FONT face=Arial color=#0000ff size=2>But
the question is why do you want to reload top.asp when bottom.asp
loads?</FONT></SPAN></DIV>
<DIV><SPAN class=456235512-09082001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV> </DIV>
<P><FONT size=2>Bob Filipiak (Contractor)<BR>MCP </FONT></P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Phil Winstanley
[mailto:p_winstanley@creations.co.uk]<BR><B>Sent:</B> Thursday, August 09,
2001 8:34 AM<BR><B>To:</B> 'javascript@LaTech.edu'<BR><B>Subject:</B>
[Javascript] Targeting Frames with Javascript for Page
Reloads.<BR><BR></FONT></DIV><BR>
<P><FONT size=2>I need to target one from another frame and after searching on
google and coming up with nothing im gazumped (not knowing JavaScript
well).</FONT></P>
<P><FONT size=2>I have 2 frames, I need to get the "top" frame to reload under
the onLoad event of the bottom frames body.</FONT> </P>
<P><FONT size=2>Can someone either point me to a site with good reference ect
or give me a few hints as to what I should be searching for (or an example if
your felling really generous!)</FONT></P>
<P><FONT size=2>:o)</FONT> </P>
<P><FONT size=2>Thanks</FONT> </P>
<P><FONT size=2>Phil </FONT></P>
<P><FONT size=2>(code enclosed)</FONT> </P>
<P><FONT size=2><frameset rows="*,250" border=0></FONT> <BR><FONT
size=2><frame name="top" src="top.asp" border="0" scrolling="no" noresize
style="border-bottom: 1px solid black;"></FONT> <BR><FONT size=2><frame
name="bottom" src="bottom.asp?destination=dateadder.asp" border="0"
scrolling="no" noresize style="border-top: none;"></FONT></P>
<P><FONT size=2></frameset></FONT> </P>
<P><FONT size=2>___________________________________________</FONT> <BR><FONT
size=2>Phil Winstanley</FONT> <BR><FONT size=2>MIS Database Support</FONT>
<BR><FONT size=2>Software Creations (Holdings) Ltd</FONT> <BR><FONT size=2>"A
Computer Games Developer with Balls!"</FONT> <BR><FONT size=2>140 Cheetham
Hill Road</FONT> <BR><FONT size=2>Manchester</FONT> <BR><FONT size=2>M8
8PZ</FONT> <BR><FONT size=2>England</FONT> <BR><FONT size=2>Tel: +44(0)161 839
2239</FONT> <BR><FONT size=2>fax: +44(0)161 832 0412</FONT> <BR><FONT
size=2>___________________________________________</FONT> <BR><FONT
size=2>ICQ: 29163700</FONT> <BR><FONT size=2><A
href="http://www.creations.co.uk/"
target=_blank>http://www.creations.co.uk/</A></FONT> <BR><FONT
size=2>phil.winstanley@creations.co.uk</FONT> <BR><FONT size=2>"At what point
did you seem to forget WE ARE TRYING TO TAKE OVER THE WORLD!"
</FONT></P></BLOCKQUOTE></BODY></HTML>