Results 1 to 2 of 2

Thread: hiding an object on the click of a button?

  1. #1

    Thread Starter
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    is there a way to hide a frame or form or button through vbscript?

  2. #2
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    Try this:

    Code:
    <SCRIPT language="Javascript">
    //just make the frame width 1px wide and resize the others to use the remainder of the space
    parent.myframeset.cols="1px, 309px, *";
    //Set the height & width to 0px.  You can bring it back by doing the opposite.
    button1.style.height="0px";
    button1.style.width="0px";
    </SCRIPT>

    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width