'hidden' Example : Embed « HTML « JavaScript DHTML






'hidden' Example

    
<html>
<body>
<embed id="myEmbed" src="yourswf.swf" width="150" height="150"></embed> 
<script language="JavaScript">
    function function1() {
        document.all.myEmbed.hidden = true;
    }
</script>
<input type="Button" value='Make it hidden' onClick="function1();">
</body>
</html>

    
      
      








Related examples in the same category

1.'palette' Example