I'm new to Javascript and I have a frameset and I need to dynamically change the Sizes of each frame.

How to I do that??

This is my frameset definition::
<frameset rows="8%,87%,5%" >
<frame id="logo" name="banner" src="logo.aspx" noResize scrolling="no">
<FRAMESET cols="73%,27%">
<FRAME id="mainframe" name="mainframe" src="Default.aspx" scrolling="no">
<FRAMESET rows="8%,92%">
<FRAME id="downleftup" name="downleftup" src="querybuttons.aspx">
<FRAME id="downleft" name="downleft" src="layers.aspx">

if you notice the 2 nd Frameset...i have 73% and 27% ..I need to change these values based on various screen resolution...

Anybody?I'm still struck with this problem

If u r using jsp page means v can easily changing the frame size at runtime.

int size=100;
<frameset border="0" rows="<%size%>,230">
        <frame src="JSP_1.jsp" name="FRAME_NAME_1">
            <frame src="JSP_2.jsp" name="FRAME_NAME_2">

If u change the value of "size" that frame size will b change.

commented: Pointless reply to 4 years old thread with weak suggestion -3
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.