This is an easy means of adding drag and resize capability to elements on your webpage. It can drag elements around via a titlebar or the whole element, and dynamically apply fully direction resize handles to an element. You could use it as an in-browser windowing system if you wanted!
Script License Agreement
© 2005-2006 Angus Turnbull, TwinHelix Designs http://www.twinhelix.com
Licensed under the CC-GNU LGPL, version 2.1 or later.
This is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you find this useful, you're more than welcome to consider making a donation to support its development :). Also, if this license isn't suitable for your project, please contact me for alternative licensing terms.
If you want, you can view an online demonstration .
To download this permanently: dragresize.zip (9kb).
Fresh code may be available in the Git repository.
Compatibility - Testers Needed!
If you have a copy of a browser not listed as 'Tested and Works', please tell me if it works or not - thanks! Take these as a guide only, and be sure to test in all target environments.
- Tested and Works: IE6/Win, IE5.5/Win, IE5/Win, Mozilla/Win, Opera8/Win, Safari 1.3/Mac.
- Untested, Probably Works: IE5/Mac, Mozilla/Mac, Opera/Other, Konqueror/Linux.
- Definitely Won't Work in v4.x browsers and earlier. Make sure you account for older browsers or search engines in your site design!
This is the first public release of this script.