PDA

Click to See Complete Forum and Search --> : hiding an object on the click of a button?


da_silvy
Sep 20th, 2000, 04:33 AM
is there a way to hide a frame or form or button through vbscript?

monte96
Sep 20th, 2000, 10:58 AM
Try this:


<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>