RetroZilla/layout/html/tests/frameset/core/display.html
2015-10-20 23:03:22 -04:00

19 lines
485 B
HTML

<HTML>
<HEAD>
<STYLE>
iframe {display: block}
</STYLE>
<SCRIPT>
function foo (name,dis) {
dump(document.getElementById(name).style.display);
document.getElementById(name).style.display = dis;
}
</SCRIPT>
</HEAD>
<BODY>
<IFRAME SRC="about:blank" ID="pref1" WIDTH="20%" HEIGHT="250"></IFRAME>
<INPUT TYPE=BUTTON VALUE="frame none" ONCLICK="foo('pref1','none')">
<INPUT TYPE=BUTTON VALUE="frame block" ONCLICK="foo('pref1','block')">
</BODY>
</HTML>