aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes How to do not miss onmouseup? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to do not miss onmouseup?" Watch "How to do not miss onmouseup?" New topic
Author

How to do not miss onmouseup?

dema rogatkin
Ranch Hand

Joined: Oct 09, 2002
Posts: 294
I'm trying to implement something like JSplitPane in JavaScript. Generally it works fine besides one thing. If a user moves divider too fast, browser takes onmousemove control from a divider element and tries to drag and drop it on its own. So if a user released mouse button, then onmouseup event is missed as well and my control stays in drag mode. Is any way to get full control of mouse? Should I call setCapture? In which context?


Tough in space?, <a href="http://tjws.sf.net" target="_blank" rel="nofollow">Get J2EE servlet container under 150Kbytes here</a><br />Love your iPod and want it anywhere?<a href="http://mediachest.sf.net" target="_blank" rel="nofollow">Check it here.</a><br /><a href="http://7bee.j2ee.us/book/Generics%20in%20JDK%201.5.html" target="_blank" rel="nofollow">Curious about generic in Java?</a><br /><a href="http://7bee.j2ee.us/bee/index-bee.html" target="_blank" rel="nofollow">Hate ant? Use bee.</a><br /><a href="http://7bee.j2ee.us/addressbook/" target="_blank" rel="nofollow">Need contacts anywhere?</a><br /><a href="http://searchdir.sourceforge.net/" target="_blank" rel="nofollow">How to promote your business with a search engine</a>
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
try playing with the Yahoo Drag and Drop api here: http://developer.yahoo.com/yui/dragdrop/index.html

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to do not miss onmouseup?