Referencing Frame Attributes

admin

Administrator
Staff member
I've still not got the hang of frame refs so this is driving me mad trying different permutations.

In the Header frame there is a button with an onclick javascript to reference a function in the parent frame (brought in by Ops_Cen_Script_Control.js). That gets invoked OK.

I'm stuck trying to set the col attribute in the Left frame. I need to dynamically resize it to zero width so that the Right & RightHeader frames take up the whole width.

<HTML>
<HEAD>
<SCRIPT src=http://www.webdeveloper.com/forum/archive/index.php/"Ops_Cen_Script_Cookies.js";></SCRIPT>
<SCRIPT src="Ops_Cen_Script_Control.js";></SCRIPT>
<!-- Created with AOLpress/2.0 -->
<LINK REL=stylesheet HREF="Ops_Cen_Style_Guide.css" TYPE="text/css">
</HEAD>
<FRAMESET FRAMEBORDER="0" FRAMESPACING="0" ROWS="62,1*">
<FRAME SRC="Header.htm" NAME="Header" SCROLLING="No" NORESIZE>
<FRAMESET FRAMEBORDER="0" FRAMESPACING="0" COLS="50%,50%">
<FRAMESET FRAMEBORDER="0" FRAMESPACING="0" ROWS="100%,1,1*">
<FRAME SRC="blank.htm" NAME="Left" MARGINWIDTH="0" MARGINHEIGHT="0" NORESIZE>
<FRAME SRC="frmPage.htm" NAME="frmPageView" SCROLLING="No" NORESIZE>
<FRAME SRC="bldPage.htm" NAME="bldPageView" SCROLLING="No" NORESIZE>
</FRAMESET>
<FRAMESET ROWS="19%,83%">
<FRAME SRC="RightHeader.htm" NAME="RightHeader" SCROLLING="No" NORESIZE>
<FRAME SRC="blank.htm" NAME="Right" MARGINWIDTH="15" MARGINHEIGHT="15" NORESIZE>
</FRAMESET>
</FRAMESET>
</FRAMESET>

The script only needs to work under IE.

Thanks.
Alan
I'm new to this forum but it seems very active and helpful. Thanks a lot.
 
Back
Top