Displaying 1 result from an estimated 1 matches for "borlum".
Did you mean:
borkum
2005 Nov 14
1
Snap to grid for Draggables
Heya,
Following an idea from Saimon (http://dev.rubyonrails.org/ticket/
2826) and
Borlum (http://dev.rubyonrails.org/ticket/2583) and possibly others,
script.aculo.us Draggables now sport a new "snap" option that works
like this:
snap:25
snap to a 25x25 grid (0,0 is at the elements 0,0 coordinate)
snap:[10,25]
same as above but with different x/y grid size
snap:function(...