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

25 lines
629 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">
<DIV STYLE="visibility:hidden">
Can you see me hidden?
<DIV STYLE="visibility:visible">
Can you see me visible?
</DIV></DIV>
<IFRAME ID="frame" SRC="visible.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.visibility='visible';
">Expand cell</BUTTON>
</BODY>
</HTML>