Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

drag drop snap

Status
Not open for further replies.

navosavo

Technical User
Jul 13, 2002
5
GB
While we're all familiar with drag 'n drop scripts, I've rarely seen a good straightforward drag, drop and snap script in action. Any one seen a good one?
 
Dunno, what's "drag, drop and snap"?

If you're talking about snapping to a grid, surely it's just a matter of rounding the dragged-to coordinates to the nearest n pixels when the mouse button is released.

Don't ask me how though - that's one for the Javascript Forum, forum216

-- Chris Hunt
Webmaster & Tragedian
Extra Connections Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top