'bgProperties' Example : bgProperties « Javascript Properties « JavaScript Reference

'bgProperties' Example

    
<html>
<head>
<script>
    function function1() {
        document.all.myBody.bgProperties = "fixed";
    }
</script>
</head>
<body background="yourImage.gif" onclick="function1();" id="myBody">
</body>
</html>

    
      
      








Related examples in the same category

1.'bgProperties' Syntax and Note
2.'bgProperties' Possible Values
3.'bgProperties' is applied to