I'm using the following code to make an image when a button is pressed:
<html>
<head>
<title>Image Display Test</title>
<script type="text/javascript">
<!--
function showImage(){
document.getElementById('loadingImage').style.visibility="visible";
}
-->
</script>
</head>
<body>
<input type="button" value="Show Button" onclick="showImage();"/>
<img id="loadingImage" src="pickups1.png" style="visibility:hidden"/>
</body>
</html>
So far it works, but then the image remains on the screen, Is there anyway to make it that if clicked again the image disappears?
