PDA

View Full Version : Collapsible Frame Script with 2 frames



sunnets
07-02-2008, 08:06 PM
1) Script Title: Collapsible Frame Script with 2 frames

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex8/collapsemain.htm

3) Describe problem:
I am new to javascripting, please advise,
I have two frames
<frameset rows="310,*" cols="*">
<frame src="hide.htm" scrolling=yes border=1 name="top">
<frame src="collapseframe.htm" name="down">
</frameset>
And on mouseover of frame top I want to call resizeFrame('1%, 50%, 49%') for frame top (minimize) and resizeFrame('49%, 50%, 1%') for frame Down (maximize) and vise versa for frame down
How can I tell the parent which frame I want to resize
Can you help me?