Displaying 20 results from an estimated 156 matches for "dragdrop".
Did you mean:
drag&drop
2005 Jul 19
4
a frightfully newbish question about dragdrop.js
...browser-things or whether it''s
my machine (called "the haunted voodoo laptop" by my coworkers, so I''m betting that it''s not REALLY a code problem)
First: using FireFox 1.0.4/win2k (and previously 1.0.3 - I reinstalled it yesterday to see if that helped..) the dragdrop demo page on script.aculo.us doesnt drag/drop. and returns these errors - the demo page works well in IE6
on load :
Error: Event.observe is not a function
Source File: http://script.aculo.us/scripts/dragdrop.js
Line: 266
Error: Element.cleanWhitespace is not a function
Source File: http://script.a...
2006 Jun 29
4
new idea for dragdrop library
...y 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
http://peter.michaux.ca/articles/2006/06/16/donut-dragdrop
Examples
http://peter.michaux.ca/examples/donut-dragdrop/donut-dragdrop.html
http://peter.michaux.ca/examples/donut-dragdrop/scrollable.html
http://peter.michaux.ca/examples/donut-dragdrop/slider.html
Initial docs
http://peter.michaux.ca/examples/donut-dragdrop/js_docs_out/index.html
This is res...
2005 Jun 28
3
dragdrop straaange behavior
...to 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 ideas?
thanx an have a sunny day, daniel .)
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 content) of a div has changed?
I can think of 2 manners, but both seem antiqu...
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
2006 Jun 21
7
sortable tree problem
Hello,
I''m having a problem when I set the tree option to true on Sortable.
If I set the option to false my remote call works fine, but once I set
it to true, I get some weird log errors from Webrick...
undefined method `update'' for "11":String
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/cgi_ext/cgi_methods.rb:214:in
`build_deep_hash''
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....
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 Stauffiger (www.4eyes.ch)
--~--~---------~--~----~------------~-------~--~----~
You received this message because...
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);...
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...
2006 Jun 23
16
Help please-draggable
...ent="text/html; charset=iso-8859-1" />
<script src="/javascripts/prototype.js" type="text/javascript"></script>
<script src="/javascripts/scriptaculous.js" type="text/javascript"></script>
<script src="/javascripts/dragdrop.js" type="text/javascript"></script>
<script type="text/javascript">new Draggable(''ele123'')</script>
.....................
<body>
<div id="palette">
<select name="select1" size="5" id=&qu...
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 integra...
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 Mar 29
4
Why doesn''t Rails 1.1 have all the Script.aculo.us 1.6 files?
...avascripts?
rab:javascripts $ pwd
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.0/html/javascripts
rab:javascripts $ ls -l
total 288
-rw-r--r-- 1 root wheel 148 Mar 28 08:56 application.js
-rw-r--r-- 1 root wheel 28036 Mar 28 08:56 controls.js
-rw-r--r-- 1 root wheel 23613 Mar 28 08:56 dragdrop.js
-rw-r--r-- 1 root wheel 32740 Mar 28 08:56 effects.js
-rw-r--r-- 1 root wheel 54330 Mar 28 08:56 prototype.js
rab:javascripts $ cd ~/src/scriptaculous-js-1.6.0/src
rab:src $ ls -l
total 240
-rw-r--r-- 1 rab rab 3361 Mar 28 03:27 builder.js
-rw-r--r-- 1 rab rab 28036 Mar 28 03:27...
2005 Jul 18
2
scriptaculous dragdrop.js empty list problem
...unning 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 it.
Looking under the hood in dragdrop.js, the Sortable class appears to set the
LI elements as drop targets, so that when an element drops onto them, they work out
how to add it as a sibling (I''m looking at options_for_droppable:onHover here,
lines 46-80 ish). The behaviour that I''m seeing makes sense from this code -...
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
e...
2007 May 11
1
Using the hoverclass option with DragDrop
Hi everyone,
I''m making a shop website for a class I''m doing and I''m trying to
implement drag and drop capability. I''ve got the dragging part
sorted, but I''m struggling with the dropping.
When I hover the item over the droppable area, I want the area to
change colour, and if I hover away from it, have it change back. Do I
do this with the hoverclass
2006 May 02
0
IE DragDrop Oppacity Error
This is going to be tough to describe, so bear with me.
I am using the latest scriptaculous and prototype 1.5.rc0
This error only happens in IE, FireFox handles everything just fine.
The error I get is: "Error: Object doesn''t support this property"
Code Section that it breaks on (actual lines has comment at the end):
Effect.Opacity = Class.create();
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 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