Forum Moderators: open
...your div with the explanation should start off as hidden:
<div id="myDivID" style="visibility:hidden;">
Here is the explanation text.
</div>
...in the onClick of the button, call a JavaScript function:
onClick="showMyThing()"
...in the head of the document (inside script tags) you put your JavaScript function (the if statement is there because IE references objects with document.all whereas good browsers use document.getElementByID):
function showMyThing() {
if (document.all) {
document.all["myDivID"].style.visibility = "visible" // for IE
} else {
document.getElementByID("myDivID")"].style.visibility = "visible" // good browsers
}
}