Sign in to follow this  
rick_appleton

[web] Dragging a border

Recommended Posts

rick_appleton    864
I'm looking for a way to make a draggable, skinnable border. Basically something like a div or table border which I can style however I want, but that I can move around like a frame border. Think Windows Explorer and you'll get my drift.

As far as I can tell this should be possible using JavaScript. Is this correct?

Thanks for any help.

Share this post


Link to post
Share on other sites
benryves    1999
Yes, this is possible with JavaScript. [url=http://mootools.net/]MooTools[/url] can make this pretty easy with its [url=http://mootools.net/docs/more/Drag/Drag.Move]Drag.Move[/url] class.

Share this post


Link to post
Share on other sites
touch_the_sky    179
Or if you prefer jQuery like me, you may have a look at [url="http://jqueryui.com/demos/draggable/"]UI Draggable[/url] (check examples on the right)

There is probably bazillions of other third party jQuery plugins, same with other frameworks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this