Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Re: setting frame height during runtime


Message #1 by "David Fisher" <dfisher@g...> on Thu, 4 Jul 2002 23:12:01
arun,
It's easy to do this at runtime. You have to have a name for
the frameset however. For example:

  <frameset id='rframe' name='rframe' rows="34%,*">
  ...

Then in your javascript you can reference it this way:

top.rframe.rows="45%,*";

or whatever...

>------original post------

> hi all,

Is that possible to change the height of th frame at runtime. Below is the
code for creating the frame.

<frameset framespacing="0" border="0" cols="150,*" frameborder="0">
  <frame name="left" scrolling="no" noresize target="rtop" src=""
marginwidth="0" marginheight="0">
  <frameset rows="34%,*">
    <frame name="rtop" target="rbottom" src="" marginwidth="2"
marginheight="0" scrolling="no">
    <frame name="rbottom" src="" marginwidth="2" marginheight="0"
scrolling="auto">
  </frameset>
</frameset>

In the runtime i want to change the height of the frames rtop and rbottom
(i.e.<frameset rows="34%,*">). Is there a property to access it...

with regards,
arun
Lucid Software ltd.



  Return to Index