H
Human
Guest
<html>
<head>
<script>
function mlay() {
alert("hi");
document.getElementByID(layer1).style.color="green";
}
</script></head>
<body>
<div id=layer1 style="position:absolute; top:20; left:300;">Hi</div><button onClick="mlay()">h</button></body></html>
I want it to move the layer 600 px right
<head>
<script>
function mlay() {
alert("hi");
document.getElementByID(layer1).style.color="green";
}
</script></head>
<body>
<div id=layer1 style="position:absolute; top:20; left:300;">Hi</div><button onClick="mlay()">h</button></body></html>
I want it to move the layer 600 px right