DOM Snap


This is a modification of Younpup’s Dom-Drag which adds ‘snapping’ functionality to DOM objects. For example, if a user moves an object close to the edge of another object, it will ‘attach’ and remain connected until broken free. Anyone familiar with Winamp will recognize this functionality. I’m still in the process of cleaning up the code, and once it’s done, I’ll release a proper package for it.

Links

Posted: February 14th, 2005 ·

1 Comment (Show Comments)



Comments are closed.
Comments are automatically turned off two weeks after the original post. If you have a question concerning the content of this post, please feel free to contact me.


JavaScript Books

Secrets of the JavaScript Ninja

JavaScript Secrets

Secret techniques of top JavaScript programmers.

Pro JavaScript Techniques

Pro JavaScript

The best techniques for professional JavaScript. Published by Apress.

Micro Updates

John Resig Twitter Updates

@jeresig

Infrequent, short, updates and links.

JavaScript Jobs



via Ad Packs

Ukiyo-e: Japanese Woodblock Prints