Displaying 20 results from an estimated 4000 matches similar to: "Ghosting features for dragdrop.js preview"
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 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 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
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 Dec 03
0
dragdrop patch that enables dragging from and to divs with overflow:scroll
Hi all, this is a patch for 1.5_rc5
I noticed that I was not able to drag stuff out of scrolling divs. When I tried to drag it out, the draggable would remain in that div and the scrollbars would adapt to the bigger content of the div.
This patch extends draggable with an option :tofront. When it is set to true, the draggable will be moved to the document body while keeping its position on the
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,
2007 Jul 05
0
1.7.1 beta 3: dragdrop.js Internet Explorer Issue
Hi group
I''ve used the beta 3 for a simple sortable list, which works
perfectely fine in Firefox (2.0.0.4). When I checked my sortable in
Internet Explorer 7, the following error occurs every time:
dragdrop.js, line 491, "Invalid argument" (translated, error message
might be not 100% accurate)
The "bad" line:
style.top = p[1] + "px";
Best regards
Markus
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 =
2006 Feb 04
3
helping with scriptaculous/Thomas Fuchs MIA?
Hi,
In the last few days I''ve been working a lot on rewriting the
dragdrop.js code. I''ve made changes for what I think is stronger
object-oriented design and made more parallels between how Droppbables
and Draggables are coded and instantiated. I have multiple selection
and dragging of draggables working and droppables can accept multiple
draggables in one drop. There are some
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 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 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
2005 Sep 29
14
Draggables and overflow div''s revisited
I have two scrollable div''s (overflow:auto), one with
a list of elements (the source) and the other is the
drop target (dest).
I''ve enabled ghosting so that the drag element gets
out of the scrollable box (good).
Interesting, at least on Firefox, the ghosted drag
ends up going ''under'' the destination div when I drag
it. No amount of z-order fidding seems to
2005 Jun 28
3
dragdrop straaange behavior
hi there
first thanks for thoose neeto things :)
got a question couse i cant figure it out: i made a supersimple demo
for the drag event: http://noomik.net/test/drag.html
works so far, but:
if i remove the code between line 20 and line 27 (in the drag.html)
it won''t work any more and i get an javascript error in the
dragdrop.js in line 311 saying drag has no properties.
any
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,
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 Dec 06
0
IE7 Sortable Ghosting = true issue
I have a bunch of Sortables that can be dragged and dropped. When I
set ghosting to true, the ghosted image is all garbled on the first
drag in IE7. Every drag thereafter works completely fine. I have
turned off all of our styling to try to isolate the issue, and it
persists no matter what I do. I have also made it so Scriptaculous
only includes the drag and drop and Effects libraries to try
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.
2009 May 25
0
Draggable ghosting
can anyone tell me how to make a Draggable element, which after drop
doesn''t disappear.
draggable_element "item_#{item.id}", :revert => true, :ghosting => true
- don''t work, adding element disappears.
--
Posted via http://www.ruby-forum.com/.