'bgProperties' Example : bgProperties « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- bgProperties
'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