I\'m looking for someone to explain how to drag and drop in javascript, I want a horizontal line with some customizable images in it.
I\'ve had a look at the online
Find 2x of:
dragHelper.style.top = mousePos.y - mouseOffset.y; dragHelper.style.left = mousePos.x - mouseOffset.x;
change to:
dragHelper.style.top = mousePos.y - mouseOffset.y + 'px'; dragHelper.style.left = mousePos.x - mouseOffset.x + 'px';
Works on FF. 3.6