зеркало из https://github.com/mozilla/pjs.git
25 строки
629 B
HTML
25 строки
629 B
HTML
<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>
|