Displaying 20 results from an estimated 4000 matches similar to: "Restful droppable delete"
2006 Feb 28
0
Question abour Draggables & Droppables - my code example
hi i think my example is very simple and straightforward so i''m not sure if
it meets your needs (change revert:true to revert:false from a draggable
after I drop it on a droppable so it doesn''t return to its original place.)
i did this
# 2 divs created here
<script language="javascript">
new Draggable(''drag'', {revert: false});
2006 Mar 29
3
droppables
I am not sure how many of you are using draggables/droppables but I
thought I would do some experimentation and try and learn how to use
them on my own.
Well, I have draggables, and I have droppables.
I do have one question for now.
The droppable onDrop event seems to pass in 2 objects, the dropped
object, and the container the object was dropped on. My question is
this, can I figure
2010 May 03
0
Scriptaculous, snap draggable to droppable or revert
Hello community,
I am a fairly new RoR programmer and I need some help with Scriptaculous
Drag and Drop:
So I have
<%= draggable_element(@div_id, :revert => "failure", :snap => 5) -%>
and a droppable:
<%= drop_receiving_element(@team_div_id, :with => "''player='' +
(element.id)+ ''&position='' + #{draft_position}"
2005 Sep 02
0
altering revert effect based on if dropped on given droppable?
Hi All
Does any one know how to specify a different reverteffect on a
draggable if its successfully dropped on a given droppable?
What I need to do is when an image is dragged onto a droppable image I
want the drop image to be replaced with the drag image, the drag image
to fade out and then reappear where it was at the start of the drag, as
opposed to the draggable scrolling across the page
2005 Aug 09
1
Droppable refuse to react
Im having problems with Droppables, and read that there are some
attributes on the element that must be inline. What are those?
I''ve tried to copy some of the code from the shop-demo, and my code
seems to have the exact same attributes and more.
The problem is that the droppable refuse to react whenever I attempt to
drop a draggable on it, the onDrop does''nt seem to trigger.
2008 May 02
2
making an element draggable after it's been dropped in a drop zone
Hi,
I have this code which allows me to drop a draggable item in to a
droppable zone. It works fine but what i want to happen is once the
item ( droppable) has been dropped in to the drop zone (dropp) for the
item to be draggable again. At the moment once ive dropped the item in
the drop zone i can''t make it draggable again.....even if i repeat
this line:
new
2008 May 29
4
Drag/Drop finding droppable's properties?
Hi All,
I am trying to develop a dynamic form creator application, whereby we
can drag objects from a "palette" and drop them onto a "form" to build
the design of our form.
To achieve this, when I have dragged the object, and dropped it onto
the "form" area, I want to get the position of where the object was
dropped.
I have a droppable area:
2006 Feb 24
3
New to Ajax
Hello,
I''m very new to ajax and was looking for advice on scriptaculous at their
website and they suggested i join your mailing list, I hope that was the
right thing to do, I haven''t installed ROR yet but i have downloaded the
needed one-click installer which i will setup sometime soon, until such time
i would like to work with scriptaculous in its native form in php files, the
2006 Feb 09
3
Draggables and Droppable performance (tips)
Hi all. I have some performance tips to share. I had been having
problems with the overall performance of the drag/drop objects. This is
due largely to the fact that my project really pushes the limits
(potentially thousands of draggables and hundreds of droppables in the
document at a time, although that is the extreme case).
Something I discovered is that the performance of dragging goes WAY
2005 Dec 27
2
Drag and drop problem if Droppable zones overlap
Hello,
The question is related to Droppables and Draggable.
I''m creating a splitter component with a DIV that acts as the splitter
and 2 DIV zones that are the splitted zone. To do so I use the
Droppables and Draggable in conjunction.
The splitter DIV is a Draggable component and I define 2 Droppable zones
for
the splitter DIV (Zone A and B on each side of the splitter)
It works fine
2005 Jun 23
0
dragdrop library
Thomas,
Special thanks for the dragdrop library. I consider your javascript
abilities quite superior to my own, in fact I''m just setting out on a quest
to master javascript, I found your library the other night and started
hacking away on my app. I replaced a dom-drag.js library I was using before
with yours since it integrated with prototype better, and appears to be
better coded.
2008 May 30
1
Drag and Drop with scriptaculous
Hello,
I''m making my first steps with prototype and scriptaculous.
I''m playing around with drag and drop.
What I try to do:
I have some Draggables and some Droppables. You can drag each
Draggables to each Droppables.
When I drop a Draggables I want to center the Draggables inside the
Droppable.
And here I get my first problems:-(
I use this code:
Droppables.add(
2006 Feb 20
0
element.remove when element being dragged
Hi
I''ve a class which creates a lot of droppable icons (folders) and
another class that creates some draggable file icons.
When I drop one of the files in the folders I want to remove the file
icon from the screen. However, doing
Element.remove(droppedElement); results in a repeated js error "element
has no properties" in protoype line 1588. This continues to occur until
I
2007 Jul 05
1
onDrop don't fires
Hi!
As in http://groups.google.es/group/rubyonrails-spinoffs/browse_thread/thread/bbd975bac3be748a?hl=es
I have some problems with onDrop on a Droppable
Instead of he I have only a sortable list with draggable elements (I
make the list sortable and every element draggable)
I try two forms:
onDrop: Borrar
where Borrar is something like:
Borrar = function () { my code here }
an onDrop:
2006 Feb 14
0
Another draggable/droppable performance booster
This one is as much for Thomas as for the rest of the list (might be a
good one for the official build)... I made a change to the dragdrop.js
file that significantly improves overall performance of dragging when
there are more than one (or many more) droppables on the page.
I modified the Draggables.updateDrag method, and added another method
below it, and then in Draggable.updateDrag I
2007 Dec 05
0
difficulty with onDrop in the ruby helper method
I need to return both the draggable element id and the dropped on
element id to a ruby method. I''m using the helper method
drop_receiving_element, and it''s all good and well until the onDrop
part. I really want to pass both id''s to the ruby method that I''m
calling. Really. However, it seems like onDrop only accepts a
javascript function. :url => {:action
2008 Jul 15
0
Drag/Drop with Image Maps
Hi all,
Is it possible to use HTML area objects from an image map as
droppables for a drag/drop interface? I want to get a different
response depending on which part of an image I drop a draggable div
object on. The context is creating an incident report form where
injuries can be dragged onto a body sketch. I''ve tried this using the
code below. However, the droppable is always
2006 Feb 26
14
Question abour Draggables & Droppables
Hi,
What I need to know is how to change revert:true to revert:false from a draggable after I drop it on a droppable so it doesn''t return to its original place.
Something like:
[CODE]
<!-- Draggable image -->
<img alt="Product" id="item" src="icon.png">
<script type="text/javascript"> new
2005 Oct 14
0
droping element and effect "of comming from nowhere"
Hello everyone.
I''m using drag and drop on my site, I''v notice strange effect about droping. When I hold element over the droppable area, and drop on it, i see that element not exacly drop on the droppable area, I see something like element coming from outside of the screen, or coming from diffrent position, it''s look like element slide and then is dropped on the
2005 Dec 28
1
Problem with IE
Hi there, let me introduce myself, i am a web developer from venezuela, my
english is not the best, sorry by that...
i am developing a form builder, is simple, just dragging form elements to a
droppable container, all works well but im showing to my friends and...
surprise!!! doesn''t work in Internet Exploiter, i am a linux user with
firefox, im looking in internet how fix it but i dont