11 lines
518 B
HTML
11 lines
518 B
HTML
<div style="width: 25px; font: 25px Ahem; -webkit-font-smoothing: none;">
|
|
<img style="width: 20px; height: 50px; background-color: blue;"><img id="image" style="width: 50px; height: 50px; background-color: yellow; display: none;"><span id="target" style="float: left;"></span>~</div>
|
|
<script>
|
|
document.body.offsetTop;
|
|
document.getElementById("image").style.display = "";
|
|
|
|
document.body.offsetTop;
|
|
var target = document.getElementById("target");
|
|
target.parentNode.removeChild(target);
|
|
</script>
|