|
Yea, I saw this around last year...is really neat
|
|
|
|
|
Well that was my old code Kenshin, this one i made a couple of days before i posted this thread, the idea was to do what the old one did, with a couple of changes: - Cross Browser - Easy adaption to any page element As for the 'e' within the catch(), it's the error object, the 'e' itself could be called any variable you like, you can get the error message like so: e.message (or e.description). Theres other attributes for the error object, none of which I would personally find useful though, the description/message however is handy for debugging - Zero Tolerance
|
|
|
|
|
Ah. I'll keep that in mind, very helpful little trick.
|
|
|
|
|
ah,didnt know...doesn't seem to much different.
|
|
|
|
|
|
Had to dig to find my own Drag and Drop class. Find this document.mouse_x = e.clientX document.mouse_y = e.clientY Change it to this document.mouse_x = e.clientX + document.body.scrollLeft - document.body.clientLeft document.mouse_y = e.clientY + document.body.scrollTop - document.body.clientTop That should do it.
|
|
|
|
|
Its not working at all now 0_0
|
|
|
|
|
Weird. =/ Here, bother me on MSN and I'll send you my drag and drop class.
|
|
|
|