Displaying 20 results from an estimated 3000 matches similar to: "1.7.1 beta 3: dragdrop.js Internet Explorer Issue"
2006 Apr 24
1
dragdrop.js problems - workaround here
Hello, I am not sure how many people are using the shiny new tree
version of dragdrop.js - well it seems that someone arbitrarily
changed part of my implementation and has broken the functionality
with rails:
864 serialize: function(element) {
865 element = $(element);
866 var options = Object.extend(Sortable.options(element),
arguments[1] || {});
867 var name =
2005 Jul 18
2
scriptaculous dragdrop.js empty list problem
Hi,
I''ve just been having a look at the scriptaculous drag-n-drop library, which
looks exceedingly good. I''m running across a show-stopper here, though -
something that''s cropping up in both the online demos and my own test scripts. If
I set up two lists so that I can drag items between them, then if either list
becomes empty, I can''t drag elements back into
2005 Jul 25
5
dragdrop.js: drop from sortable
I have a Sortable that''s working like a charm, but now I would like to
be able to drop objects from that Sortable onto a Droppable that''s not
part of my Sortable.
I just did a small test page where it didn''t work, so my first question
has to be "is this supposed to work?", before I dig too deep into it.
"accept" for the droppable is set to the
2005 Jul 18
1
fix for scriptaculous dragdrop.js empty list problem
Hi Thomas,
Here''s a fix for the problem that I raised this morning, turned out to be fairly
simple in the end (after many false starts and thrashing about - thank goodness
for Venkman!)
First, in Sortable.create(), I register the parent element (the UL tag or
whatever), and add an extra property to it to mark it as the parent of the list
in question:
for (var i = 0; i <
2005 Aug 02
3
Scriptaculous: Sortable (dragdrop.js) onUpdate
Hi all,
In the following code, it doesn''t look like the onUpdate() event is firing.
Am I doing something wrong?
<ul id="testSort">
<li id="item1">item 1</li>
<li id="item2">item 2</li>
<li id="item3">item 3</li>
<li id="item4">item 4</li>
<li id="item5">item
2006 Feb 09
2
_marker in dragdrop.js
Hi,
I''ve been confused about the purpose of _marker in dragdrop.js for
quite a while. It doesn''t really look like it does anything with
ghosting on or off. I removed the mark method and didn''t discover any
problems. Is all the mark business a relic from some past idea?
Thanks,
Peter
2005 Aug 18
0
Possible bug with scriptaculous dragdrop.js
Hi all.
I think the following code in dragdrop.js
fire: function(event, element) {
if(!this.last_active) return;
Position.prepare();
if (this.isAffected(Event.pointerX(event), Event.pointerY(event),
element, this.last_active))
if (this.last_active.onDrop)
this.last_active.onDrop(element, this.last_active);
}
should be changed to
fire: function(event,
2005 Jul 26
0
Ghosting features for dragdrop.js preview
To have a look at the new "ghosting" option in dragdrop.js, get
yourself the latest SVN trunk and play around with the
dragdrop_functional_4.html and sortable_function_ghosting.html test
files.
Hope you like it. Some things are broken, and it''s not well tested,
*hint*, but it''s cool stuff. :)
Thanks to xal for suggesting this.
Thomas
2005 Aug 08
0
Sortable or dragdrop to move items from one collection to another?
I need to present the user with a collection of players and one to many
teams. The user can drag a player to a team or from one team to another.
I started out using plain drag-drop, but was having trouble updating both
the from list and the to list. E.g. if a player goes from team1 to team2 I
need to update both of those divs. I can do the team2 div easy enough, but
the player record still
2005 Jul 19
0
quick dragdrop question
Hi,
I want to do some custom logic on items being dragged and dropped - I need an
event callback that has a reference to both the element being dropped (the LI),
and the target element that it''s being dropped onto (the UL). I''ve found the
Sortables.create option for creating an onUpdate and onChange handler, and done
the following:
function selectItem(target){
2006 Feb 03
3
overloading dragdrop.js
Hi everybody-
First time poster, please be gentle.
I have written a little rails app where you can create
divs and move them around via Thomas'' wonderful
dragdrop.js. I would like to be able to fire an AJAX
event to update the top and left of the dragged object
upon release. I see many AJAX link_to_remote and
observe_field.
What is the proper way to observe that the position
(not
2005 Jul 19
4
a frightfully newbish question about dragdrop.js
Hi folks,
I''m in the process of updating a mostly-server-side web app to 21st century functionality, using the prototype.js etc packages.
I''m mostly a server-side PHP guy, so please pardon the level of ignorance about Javascript.
I''m having some strange problems, and right now, I''m trying to localize whether the problems are generic browser-things or whether
2005 Jul 20
3
examples of drag n drop
Sorry if this sounds cynical, ( i do love script.aculo.us scripts ) ,
but I am wondering if people know of some good real world
examples of uses of drag n drop and sortable lists.
such a cute script will likely be *ab*used as much as it is used.
obviously the point here is to use script.aculo.us to improve
the user interface rather than just have some k00l eFX.
e.g. the drag n drop instantly
2006 Jan 28
4
Unspecified error in prototype.js
Hi,
1. I have 2 panes, each having approximately 45-50 slides, all the
slide images are 110x82 pixels in size, enclosed in their respective div''s.
2. These divs are further enclosed in a parent div, which is defined as
a Sortable on page load.
3. There is a destination div on the RHS also.
Sortable.create("div_leftDiv", {ghosting:true, revert: true,
dropOnEmpty:true,
2008 Feb 15
1
Sortable limit number of elements
Hello,
Well, i need to limit the number of elements in a sortable. I new to
scriptaculo but i have lots of experiencie with javascript.
Since limit the number of elements is not supported by Sortable i
would like to implement, i already took a look at the Sortable class
in dragdrop.js and it looks like that onHover and onEmptyHover deal
with the update of the UI, however I''m not unable
2006 Jun 29
4
new idea for dragdrop library
Hi,
I''ve been working on new ideas for a JavaScript drag and drop library.
I haven''t found a drag and drop library flexible enough for my needs
and I think I have come up with something that is generally
worthwhile. I use the DOM and Event utilities from Yahoo! UI and no
Prototype.js. I''m interested in any ideas or suggestions people might
have.
Blog
2006 Jun 24
0
Sortable with sortables? this.destroy not a function O_o
Hi all
I am creating sortable list with the builder. Now i want these sortables to
be a sortable aswell. So i wrap a div around them and run sortable create on
the main-container.
I have it like so (simplified):
var myLists = new Array(); // start a empty array for push
var mainDiv = ''main''; // some already present div to carry all stuff.
function newList() {
var sortlist
2006 Mar 30
4
possible scriptaculous bug
I have two sortable lists, one after the other. I can drag from the first
to the second but not from the second to the first. The behavior is
consistent if n > 2. For example, I can drag from 1 to 2, 3 or 4 from 2 to
3 or 4 and from 3 to 4, but not in the reverse order: I can''t drag from the
4th list to anything (besides itself). From the third list I can drag only
to itself and 4.
2006 Feb 07
2
Thomas Fuchs? Helping with Scriptaculous
Hi,
I''ve been doing a lot of rewriting of dragdrop.js. I''ve covered at
least eight open tickets, made multiple selection of draggables,
droppables can accept multiple items at a time, added 21
consistently-named callbacks and have reorganized the code. I''m
working on adding more things to Sortable now. I''m no JavaScript
expert, this is my first project, and I
2006 Apr 14
1
Problems using Sortable with an onUpdate callback
Hi all:
I''m using sortable (very cool stuff!) on a series of divs with an
onUpdate callback. Everything appears to work alright until I try to
pass a parameter to my callback function like this:
Sortable.create( ''page_33'',
{
tag: ''div'',
onUpdate: updateOrder(''page_33'')
}
);
When I pass that parameter to the