> event.pageX = event.clientX + > document.body.scrollLeft; > event.pageY = event.clientY + document.body.scrollTop;
document.body.scrollLeft is always 0 (unless there is no DTD), so this is what it should be: event.pageX = event.clientX + document.documentElement.scrollLeft; event.pageY = event.clientY + document.documentElement.scrollTop; However, this illustrates the the drag/drop code should work when there is no doctype set (maybe low priority as most developers do use one), i.e. IE is in Quirks Mode. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/