Displaying 1 result from an estimated 1 matches for "moveproductimag".
Did you mean:
moveproductimage
2006 May 14
1
Dragable element
...le.top;
oiY = $(''squ'').style.left;
iX = oiX.replace(''px'', '''');
iY = oiY.replace(''px'', '''');
//$(''ggggg'').innerHTML = ''X: ''+iX+'' Y: ''+iY;
}
function moveProductImage(x, y, prod){
var nX = x.replace(''px'', '''');
var nY = y.replace(''px'', '''');
//var nxpos=0, nypos=0;
if(nY < iY){
nypos = nY - iY;
// 25 -
} else if(nY > iY){
nypos = iY - nY;
}
if(nX < iX){...