PDA

View Full Version : frames resize - dynamically


safalkishore
10-30-2002, 06:01 AM
i have a frame structure as below that is a page in itself.Let us call this page menus.htm
**************************************************
<Frameset cols="190,*" framespacing="0" frameborder="NO" border="0">
<frame src="a.htm" border=0 height="100%" frameborder=0 scroll=no scrolling=no noresize=false>
<Frameset rows="27,0,*" framespacing="0" frameborder="NO" border="0">
<frame src="b.htm" border=0 frameborder=0 scroll=no scrolling=no>
<frame src="d.htm" border=0 frameborder=0 scroll=no scrolling=no>
<frame src="c.htm" border=0 frameborder=0 scrolling=no scroll=no noresize>
</Frameset>
</Frameset>
**************************************************
would it be possible for the user to resize frame a.htm ie once the page has loaded the user should be able to drag the frame border of a.htm to the left or right.

I am also aware that the code below automatically allows for the functionality i am looking for (take a look @ the code)
**************************************************
<Frameset cols="230,*">
<frame src="a.htm" border=1 frameborder=1 scroll=no scrolling=no>
<frame src="b.htm" border=1 frameborder=1 scroll=no scrolling=no>
</Frameset>
**************************************************
A thing to remeber here is that the entire frameset is embeded into an IFRAME that forms a part of the main page

ie supposing i load the page main.htm it would look something like below

<html>
<body>
<iframe src="menus.htm"> ---> here menus.htm contains all
</body> the contents of the frameset
</html> ie enclosed within **** above

glenngv
10-30-2002, 06:20 AM
if you remove noresize=false, the user should be able to resize the frame.