Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
revert after dropping a draggable, only if out of bounds
Jeremy Blah
10/15/2006 7:19:00 PM
Hi, I have a div tag as a â??containerâ? for all my draggable objectsâ?¦ My
goal is to be able to decide whether to revert these objects based on
where they are dropped. If they are â??out of boundsâ?, or not in the
container after theyâ??ve been dropped, I want them to revert, otherwise,
drop normally.
I currently have a few JS functions setup that calculate the boundries
of the container, and alert me on mouseupâ?¦ true if theyâ??ve been dropped
outside of the container, and false if theyâ??ve been dropped inside the
container.
By default, the droppable object is not set to revertâ?¦ How would I go
about making this object revert only if itâ??s been dropped outside of the
container?
Thanks ahead of time for any helpâ?¦
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
revert after dropping a draggable, only if out of bounds
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password