RetroZilla/layout/html/tests/frameset/core/hideiframe2.html

18 lines
590 B
HTML
Raw Normal View History

2015-10-21 05:03:22 +02:00
<HTML>
<BODY ONLOAD='cell=document.getElementById("cell");
frame=document.getElementById("frame")'>
<TABLE>
<TR>
<TD ID="cell">
<IFRAME ID="frame" SRC="resource:/res/samples/test9.html">
</IFRAME>
</TD>
<TR>
</TABLE>
<BUTTON ONCLICK="cell.style.clip='rect(0px,0px,200px,200px)';frame.style.height='0px';
frame.style.width='0px';">Collapse cell</BUTTON>
<BUTTON ONCLICK="cell.style.clip='rect(0px,0px,0px,0px)';frame.style.height='200px';
frame.style.width='200px';">Expand cell</BUTTON>
</BODY>
</HTML>