خرید بک لینک

Vote count: 0

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?

asked 30 secs ago

برچسب: نویسنده: استخدام کار تاريخ: شنبه 16 مرداد 1395 ساعت: 17:53

صفحه بندی