HTML/CSS/CSS Attributes and Javascript Style Properties/posRight — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
(нет различий)
|
Текущая версия на 08:16, 26 мая 2010
"posRight" Example
<head>
<script language="JavaScript">
function function1(){
myDiv.style.posRight = 500;
}
</script>
</head>
<body>
<div id="myDiv"
style="background-color:#EEEEEE;
position:absolute;
width:200;
cursor:hand";
onclick="function1()">
Click your mouse here to set the posRight to 500.
</div>
</body>