mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-09 09:20:15 +01:00
39 lines
841 B
HTML
39 lines
841 B
HTML
|
<html>
|
||
|
<body>
|
||
|
<p>
|
||
|
This should be the only visible text when the page has loaded, and is with
|
||
|
M11.
|
||
|
</p>
|
||
|
|
||
|
<div id="DescriptionText1">
|
||
|
<p>This paragraph disappears.</p>
|
||
|
</div>
|
||
|
|
||
|
<layer>
|
||
|
<div id="DescriptionText2">
|
||
|
<p>This is visible in M12 -- it should have disappeared.</p>
|
||
|
</div>
|
||
|
</layer>
|
||
|
|
||
|
<div id="DescriptionText3">
|
||
|
<layer>
|
||
|
<p>This is visible in M12 -- it should have disappeared.</p>
|
||
|
<layer>
|
||
|
</div>
|
||
|
|
||
|
<script LANGUAGE="JavaScript" type="text/javascript">
|
||
|
var n = document.getElementById("DescriptionText1");
|
||
|
while (n.hasChildNodes())
|
||
|
n.removeChild(n.firstChild);
|
||
|
|
||
|
n = document.getElementById("DescriptionText2");
|
||
|
while (n.hasChildNodes())
|
||
|
n.removeChild(n.firstChild);
|
||
|
|
||
|
n = document.getElementById("DescriptionText3");
|
||
|
while (n.hasChildNodes())
|
||
|
n.removeChild(n.firstChild);
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|