Silly_TomcaT
09-16-2005, 10:56 AM
Hi,
Just a report for the script "The JavaScript Source: CSS: Drag and Drop". I've been looking for quite half a day and found it.
It's about the "parseInt" function wich causes problems with "8" and "9" values.
The correct way to write it should be (find it in the script) :
tx = parseInt(dobj.style.left+0,10);
ty = parseInt(dobj.style.top +0,10);
Almost drove me crazy !!! :p
sTom
Just a report for the script "The JavaScript Source: CSS: Drag and Drop". I've been looking for quite half a day and found it.
It's about the "parseInt" function wich causes problems with "8" and "9" values.
The correct way to write it should be (find it in the script) :
tx = parseInt(dobj.style.left+0,10);
ty = parseInt(dobj.style.top +0,10);
Almost drove me crazy !!! :p
sTom