I have added the javascript function that should be executed when a person clicks on the div by using onclick
. Then I had added a button
and made its display
equal to none
so as to hide it. In the function
definition, I selected the button using document.querySelector
and then modified its display
to inline
to make it visible.
<div id="adm-container-15022" onclick="showButton()"></div><script type="text/javascript" src="//moonads.net/display/items.php?15022&647&728&90&4&0&0"></script>
<button id="NextButton" style="display: none;">Next</button>
<script>
function showButton() {
document.querySelector("#NextButton").style.display = "inline";
}
</script>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…