File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Resizing page sections with mouse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Resizing page sections with mouse" Watch "Resizing page sections with mouse" New topic

Resizing page sections with mouse

Marc Luzietti
Ranch Hand

Joined: Feb 02, 2006
Posts: 84
I've got a code I found on the net many moons back (and I can't seem to find it now). It's a little buggy and I was wondering how to improve it. It works, but it's jerky, doesn't always resize, doesn't always follow the mouse, etc. If I switch from px to % (and change the appropriate numbers) it gets even weirder in action, sliding quite far on much less mouse movement.

Got any ideas how I could make this work better?

Support Kathy Sierra
jQuery in Action, 3rd edition
subject: Resizing page sections with mouse
It's not a secret anymore!