mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-14 03:30:17 +01:00
19 lines
485 B
HTML
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>
|