Spudhead
09-17-2002, 11:45 AM
Ugh. Getting my head in a right mess here.
Got the following frameset/s:
<frameset rows="63,*,31" frameborder=0 framespacing=0>
<frame name="fmTopbar" src="topbar.html" frameborder=0 framespacing=0 height=63 marginheight=0 marginwidth=0 scrolling="no">
<frameset cols="159,625" frameborder=0 framespacing=0>
<frame name="fmMenu" src="menu.html" frameborder=0 framespacing=0 width=159 marginheight=0 marginwidth=0 scrolling="auto">
<frame name="fmContent" src="home.html" frameborder=0 framespacing=0 width=625 marginheight=0 marginwidth=0 scrolling="auto">
</frameset>
<frame name="fmBottombar" src="bottombar.html" frameborder=0 framespacing=0 height=31 marginheight=0 marginwidth=0 scrolling="no">
</frameset>
Now, I want to put an onLoad handler in the body tag of "home.html" (that loads into fmContent) that, when called, will reload "menu.html" into fmMenu.
Something along the lines of:
onLoad="window.parent.fmMenu.document.reload()"
is that right? Did I miss something stoopid? Do I need to have some weird reccurring "window.parent.window.parent" type-thing going on with embedded framesets? Or am I simply barking up the wrong tree?
Ta :)
Got the following frameset/s:
<frameset rows="63,*,31" frameborder=0 framespacing=0>
<frame name="fmTopbar" src="topbar.html" frameborder=0 framespacing=0 height=63 marginheight=0 marginwidth=0 scrolling="no">
<frameset cols="159,625" frameborder=0 framespacing=0>
<frame name="fmMenu" src="menu.html" frameborder=0 framespacing=0 width=159 marginheight=0 marginwidth=0 scrolling="auto">
<frame name="fmContent" src="home.html" frameborder=0 framespacing=0 width=625 marginheight=0 marginwidth=0 scrolling="auto">
</frameset>
<frame name="fmBottombar" src="bottombar.html" frameborder=0 framespacing=0 height=31 marginheight=0 marginwidth=0 scrolling="no">
</frameset>
Now, I want to put an onLoad handler in the body tag of "home.html" (that loads into fmContent) that, when called, will reload "menu.html" into fmMenu.
Something along the lines of:
onLoad="window.parent.fmMenu.document.reload()"
is that right? Did I miss something stoopid? Do I need to have some weird reccurring "window.parent.window.parent" type-thing going on with embedded framesets? Or am I simply barking up the wrong tree?
Ta :)