Displaying 20 results from an estimated 500 matches similar to: "sortable - after complete dropping element want to send ajax reqeust with id of elements: draggable and droppable"
2006 Feb 16
4
cancelling droppable if draggable dropped on different droppable
I''m writing a web app in which I have several ''windows'' in which the
user can perform given functionality.
So for example I have one window which manages images on a server (drag
an image into a folder and the file physically moved on the server via
ajax ) These images can also be dragged into another window to create a
slideshow.
My problem
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}"
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
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 Nov 04
0
Highlight of the droppable zone
Hello everyone. I have interesting problem I want to Highlight the droppable zone, the simplest solution is: give the droppable area a hover class. But there is a problem, in this case the droppable arrea is the png image and I don''t want to cover image by hover class. The best way will be transparent or half transparent hover class, but i don''t know is it possible?
Is it
2006 Jan 05
0
Droppable div with overflow: auto
I have a Droppable div with overflow set to ''auto''. When there are enough items
in the droppable to create a scrollbar, dragging Draggables out of the Droppable
causes firefox (1.0.7) to act crazy with all kinds of flickering and ghosting of
the Droppable div. Is this a known problem? Any work arounds?
--
Michael Peters
Developer
Plus Three, LP
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.
2007 Apr 13
2
Sortable - Droppable interaction
Hi there,
I''m started to use scriptaculous yesterday and it''s really great.
Hovever, there is one problem that I cannot solve:
I have a page with a sortable list and a droppable "trash can". I
would like to drag and drop items between the list and the trash can,
but it don''t work. Which options should I set to make it works
correctly?
Thanks!
2007 Nov 23
0
Restful droppable delete
I have a list of pages from which I want to delete one. This I want to
do with draggable/droppable(trash can like). Which, strange enough,
does not work.
This does work:
{{{
link_to_remote("delete", :url => project_wiki_page_path(@project,
page), :method => :delete, :title =>project_wiki_page_path(@project,
page))
}}}
But this doesn''t:
{{{
<script
2005 Nov 09
0
droppable and pop-up effect from overlib library
Hi everyone. I hava situation that i have drag and drop on my site, and I wonder is it possible to connect this to very good pop-up javascript library, i mean: at the moment when I drag element over the dropping area that area is highlited (using hoverclass: Css_class) but i want to add pop-up effect on the droppable area. Does anyone know how to do it?
It must work like this:
When the dragged
2008 May 15
0
Droppable with overflowing elements in scrolling DIV
I have a DIV containing a TABLE whose TR elements are Droppable. The
DIV has a fixed height and overflow set to auto. The onDrop callback
works fine when you drop onto the rows that are initially visible, but
if you scroll down and try it with a newly visible row, you get the
right behavior with the wrong row. At least, wrong from my point of
view (-: It''s like "it" (the
2008 Jul 03
0
Droppable focus? problem
Hi!
I have a div called Div1
I have a style #Div1:hover that changes the background color to Div1
(want to see if the hover event is fired)
I make Div1 Droppable with a hoverclass that adds a border (to see the
hover event too)
Then if I put the mouse above the div''s background color changes as
expected (I could deduce that the z-index is not a problem)
If I put a draggable above it,
2006 Jun 09
0
Not droppable after first drop in FF
Hi all,
I have a couple of droppables in my page. Each of them
looks like a list and is a <div> containing other
<div> for the lines, each line formed by <span>s for
different fields. Each line is declared draggable
(right after each line, since ithey''re created inside
a loop). I have both of them inside a <div> since I
need to refresh both at the same time and
2005 Oct 03
0
Question about Droppable
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1027 bytes
Desc: image001.gif
Url : http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20051003/b23e1821/attachment-0001.gif
2007 Aug 07
0
Droppable to create new parent container automatically?
I''m modifying the GragPhoto implementation of nested draggables:
http://www.gregphoto.net/sortable/advanced/
I''m uising it to allow the dragging of draggables from a column into
one of the ''groups'' as shown on teh GregPhoto demo.
It works well.
The catch is that if I have 15 objects I want to drag onto 15 groups,
I first need to create those 15 groups. This
2008 Mar 23
3
Nested Droppable divs -- drag & drop
I am having trouble with scriptaculous'' drag & drop here. I have a div
that''s droppable, and two divs contained within that first div, each
of which are also droppable. The containing (outer) div seems to grab
all drops. Even though I defined the inner ones as "greedy" which is
supposed to mean that draggables don''t propagate through.
I read elsewhere that
2007 Jul 29
2
How to make Draggable Widgets with Placeholders
Hello. I''m trying to do some drag-droppable widgets like
Netvibes.com ...
I''m completely looking for a code like Netvibes. How can I do that
with Prototype or Script.aculo.us?
I want to make them droppable on placeholders like netvibes.
Any ideas or links? Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
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