Displaying 1 result from an estimated 1 matches for "oiy".
Did you mean:
oid
2006 May 14
1
Dragable element
...y method) a larger image - so effective its a detail viewer.
But, ive come into problems. I can get the logic to work out exactly
where the box is, but when i go to movve it, it works perfectly on the
first go, but on subsequent moves it goes the wrong way?!
My javascipt is...
var oiX = 0;
var oiY = 0;
function setOldVars(){
oiX = $(''squ'').style.top;
oiY = $(''squ'').style.left;
iX = oiX.replace(''px'', '''');
iY = oiY.replace(''px'', '''');
//$(''ggggg'').innerHTML =...