Displaying 20 results from an estimated 700 matches similar to: "Another draggable/droppable performance booster"
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
2006 Jan 30
0
Draggable with auto-scroll
Thomas, I''m mostly writing this to you. A couple weeks ago I grabbed the
latest SVN version of dragdrop.js because I needed the auto-scroll
functionality. I just fixed something in that script that wasn''t working
correctly and thought you might want to hear about it. You may have
already caught it since I grabbed the script but here it is anyway.
In the updateDrag() function
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
Note that this does not fix gettext for app,
that will be done separately in another patch
as F10/F11 require different setups for that.
In the meantime gettext works if manually changed
in environment.rb to gettext_rails instead of
gettext/rails
Signed-off-by: Jason Guiditta <jason.guiditt at gmail.com>
---
src/app/controllers/application.rb | 200 --------
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 Nov 24
1
sortable - after complete dropping element want to send ajax reqeust with id of elements: draggable and droppable
Hi all. I have specific situations - I use sortable on html list, and
after I move elements I want to do ajax reqeust to serwer with the id
of dragging element and id of the element that was droppable. How to do
it? which function in Sortable class i have to overrider or modify? i
try to modife onhover method in sortable and put a ajaxRequest call
before methods
dropon.parentNode.insertBefore
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
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
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});
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
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.
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
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
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
2006 Aug 07
8
Dropables problem on scroll bars
I have a droppable and draggable implementation. works pretty much well
except when my droppables are on a scrollbar (created via overflow:auto)
since my droppables are on a list.
seems that the droppables aren''t working well with scrollbars and overflow.
please help!
thanks!
_______________________________________________
Rails-spinoffs mailing list
2006 Feb 24
2
declaring draggable object that holds it position
Hi i posted this question earlier on how to create a droppable div(New to
Ajax), and i have just realised that my code does work, however the function
doesn''t work the way I expected it to, I would like my draggable to remain
where it was dropped, currently I have a draggable div and a droppable div.
I would like to try create a puzzle type game which has a set amount of
droppables and an
2007 Jun 28
5
Droppable onHover fires on page load, not on hover
Hi all, first post. I have a simple set of drag/drops that I''m trying
to use in FF. Unfortunately on page load all of the droppables on the
page fire simultaneously and then won''t respond to any futher attempts
to drop anything on them. Firebug isn''t showing any errors and I''m
completely stumped... Any ideas of where to look?
using:
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
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
2009 May 05
0
Developement speex; harmonic booster
An idea would be like for WMA 9 lower bitrates (32-42-48Kbps) to use a 'crystallizer'; which is basically a harmonics booster focussed at transposing sharp tones some octaves higher.
Eg:
A file has been recorded @ 20khz computer (or 10khz real life) to preserve space.
While playing back the file sounds a bit mushy, almost as if someone was speaking through a cardboard wall. The higher
2006 May 30
0
Droppables.remove and IE - bug?
http://www.commoner.com/~lsimon/scriptaculous/test/functional/dragdrop7_test.html
In IE, if you click on the "Reload cart droppable via ajax", and then
try to move the draggable, it goes kablaam.
Notice too that if you reload and try to click Remove Droppable that the
# of droppables stays at 1 or whatever, instead of going back to 0.
The DOM comparison in Droppables.remove