Changing Frame size in frameset

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sindhu
    New Member
    • Oct 2006
    • 53

    Changing Frame size in frameset

    Hello folks,

    I want to chnge the sze of frame in frmeset.
    That is on click of a button from top menu i want to make the left bottom frme to occupy the full browser area except the top menu which is also a frameset
    is it possible to change frame size by javascript?

    Please provide me some solution its urgent
    thanks alot in advance
  • harshmaul
    Recognized Expert Contributor
    • Jul 2007
    • 490

    #2
    I have looked into this and its not possible.

    you can try exploring the parent dom object (ie document.parent .*) however my advice to you is use divs and hide that using javascript.

    Comment

    • sindhu
      New Member
      • Oct 2006
      • 53

      #3
      Thnks alot harsh
      I got a silution. its using the line below in javascrpt


      top.fs2.setAttr ibute('cols','1 00%,*');

      fs2 is the name of frameset you want to change the size.
      100% to occupy whole window.

      Thanks Harsh for taking time and replying....... ...
      Happy Time

      Comment

      • ramanmehta7
        New Member
        • Oct 2019
        • 1

        #4
        How exactly you did it? I am looking for the exact solution!

        Comment

        • gits
          Recognized Expert Moderator Expert
          • May 2007
          • 5390

          #5
          you might have noticed that this thread is from 2008? so you probably wont't get an answer from the posters here - but to answer your question: the exact solution to the OP's problem obviously is right above your own question in post #3.

          Comment

          Working...