View Single Post
  #8 (permalink)  
Old April 29th, 2006, 07:02 PM
pepejeria pepejeria is offline
Authorized User
 
Join Date: Mar 2006
Location: Munich, , Germany.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I also see this issue, but only in Firefox.

I noticed that the issue is fixed by adding the following CSS:
Code:
body
{
    height:100%;
    width:100%;
}
But a better solution would be to update the zdragdroplib.js. Change the following lines:
Code:
// In the attachEventHandlers method
document.body.addEventListener("mousemove",this.tempMouseMove,false);

// In the detachEventHandlers method
document.body.removeEventListener("mousemove",this.tempMouseMove,false);
with:
Code:
// In the attachEventHandlers method
document.addEventListener("mousemove",this.tempMouseMove,false);

// In the detachEventHandlers method
document.removeEventListener("mousemove",this.tempMouseMove,false);
Note that the body height in standard compliance mode is equal to the content, so attaching the event to the document.body would fail on a page with no content and one draggable div (elements with position:absolute don't add height to the body). Adding height 100% to the body would do the trick, but its simply better to attach the event to the document instead.

/José Jeria
Reply With Quote