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 :)
Well, when working with frame references like you are here, I always prefer to use an absolute reference to the frame, and include the frames collection
top.frames['fmMenu'].location.reload();
However, since there is only 1 parent document, then this would work as well
parent.frames['fmMenu'].location.reload();
You will also notice that the reload() method is exposed to the window object's location object, and not to the document object.
Remember here that parent is a reference to the parent window and NOT the parent frameset