The following JavaScript function toggleLayer is used to toggle content in HTML
<script type="text/javascript" language="javascript">
function toggleLayer(layer) {
var d = document.getElementById(layer);
d.style.display = (d.style.display == "") ? "none" : "";
}
</script>';
Example, when users click the lik Add a comment, "This is Guesbook between id addToGuestbook
is toggled.
No comments:
Post a Comment