thanks man for your fast reply and sorry for my late one :(
still thats not working for me
here is what i done:
file.cs:
- div{
-
background:#999999;
-
width:200px;
-
height:100px;
-
}
-
div.test{
-
left:100px;
-
}
javascript function:
- function Find(x){
-
//alert(document.getElementById(x).style.position);
-
pos = document.getElementById(x).style.position;
-
document.getElementById(x).style.position = pos + 150;
-
}
thats my main page:
[HTML]<body>
<div id="mydiv" class="test">
text.text.text.text.text.text.text<br />
<a href="#" onClick="Find('mydiv');">move</a></div>
</body>[/HTML]
what am i doing wornge here :\
thanks