Ok, I have a page consisting of a header frame, left and right frame. In the left frame are images. I want to click an image and have text appear in the right frame. Here is what I have for the frames. I'm using an external java file containing the function I need, which I had working with no frames, but I wanted to make the page look better. I can't figure out how to access the embedded frame "container". I've tried things like:
window.frames['container'].document.getElementById(id), but I cant get it to work.
<frameset rows="200,*" border="0">
<frame name="header" src="header.html" marginwidth="0" marginheight="0" frameborder="0" scrolling="no">
<frameset cols="250,*" border="0">
<frame name="links" src="leftframe.html" marginwidth="2" marginheight="0" scrolling="no" frameborder="0"/>
<frame name="container" src="container.html" marginwidth="0" marginheight="0" scrolling="no"frameborder="0"/>
</frameset>
</frameset>
window.frames['container'].document.getElementById(id), but I cant get it to work.
<frameset rows="200,*" border="0">
<frame name="header" src="header.html" marginwidth="0" marginheight="0" frameborder="0" scrolling="no">
<frameset cols="250,*" border="0">
<frame name="links" src="leftframe.html" marginwidth="2" marginheight="0" scrolling="no" frameborder="0"/>
<frame name="container" src="container.html" marginwidth="0" marginheight="0" scrolling="no"frameborder="0"/>
</frameset>
</frameset>