473,508 Members | 2,303 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Drag and Drop

I'm trying to create reusable drag and drop code. I've tried the
apparently popular script called "dom-drop.js" by Aaron Boodman, which
was recommended in the Sitepoint book, "DHTML Utopia: Modern Web Design
Using Javascript and DOM". However, there were a couple problems.
First, the example code that Sitepoint gave me (which used the
dom-drag.js script) didn't seem to really work with images. Second,
the script didn't work at all in Safari.

So, I did some googling and found this site:
http://www.walterzorn.com/dragdrop/dragdrop_e.htm
It looks pretty amazing, and it works well cross-browser. Can anyone
recommend the Javascript library this site offers for drag and drop?
Are there any know problems with it? Or, perhaps there are even better
libraries out there?

Preferably, I'd like an opinion from someone who knows what they're
talking about (e.g. Matt Kruse, Richard Cornford, etc.). Thanks in
advance.

Feb 27 '06 #1
4 1266
Joel Byrd wrote:
http://www.walterzorn.com/dragdrop/dragdrop_e.htm
It looks pretty amazing, and it works well cross-browser. Can anyone
recommend the Javascript library this site offers for drag and drop?
I've used it. Worked well in my specific case, although I can't say how good
the coding is.
Are there any know problems with it? Or, perhaps there are even
better libraries out there?
Check out http://developer.yahoo.net/yui/dragdrop/index.html also
Preferably, I'd like an opinion from someone who knows what they're
talking about (e.g. Matt Kruse, Richard Cornford, etc.).


heh, Richard might be amused by being grouped with me, and my name coming
first ;)

--
Matt Kruse
http://www.JavascriptToolbox.com
http://www.AjaxToolbox.com
Feb 27 '06 #2
Matt Kruse wrote:
Joel Byrd wrote:

<snip>
Preferably, I'd like an opinion from someone who knows what
they're talking about (e.g. Matt Kruse, Richard Cornford,
etc.).


heh, Richard might be amused by being grouped with me, and
my name coming first ;)


:) Well, I'm British so deriving humour from the ironic is part of the
culture.

Richard.

Mar 1 '06 #3
> I've used it. Worked well in my specific case, although I can't say how good
the coding is.
I've just downloaded the javascript file and started playing around
with implementing it. It is _incredibly_ easy to implement! Works
like magic so far. One thing I can't figure out is how to pass an
array of id's (or names) to the SET_DHTML() function. I emailed the
author about it but haven't heard from him yet. Maybe I'll just have
to tweak the code myself.
Check out http://developer.yahoo.net/yui/dragdrop/index.html also
I learned about the Yahoo user interface tools from sitepoint. I went
to the yahoo site and it looked like some really good, useful stuff.
But, I had trouble implementing it - it could be that it's not
idiot-proof, and I'm an idiot, but...

Thanks for your comments.
heh, Richard might be amused by being grouped with me, and my name
coming first ;)


lol

Mar 2 '06 #4
Joel Byrd wrote:
I learned about the Yahoo user interface tools from sitepoint. I went
to the yahoo site and it looked like some really good, useful stuff.
But, I had trouble implementing it - it could be that it's not
idiot-proof, and I'm an idiot, but...


Persevere with it. It's well written, and pretty bug free. Use the
provided examples as templates. There is a good, active mailing list
which provides help.

It's also excellently documented with a Javadoc type tool for javascript.

We've ditched Dojo for Yahoo UI, we think with the Yahoo development
team behind it, it's the one to back.
Mar 2 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
6250
by: hemant_mishal | last post by:
Hi All, I am writting a java script library which will provide inter frame drag and drop operation. The more precise will be OLE drag and drop, which means only data will be transfered from frame...
0
2588
by: Lauren Quantrell | last post by:
I'm trying to drop a file from Windows Explorer (or desktop, etc.) onto a field in Access2K and capture the full file path. I found an posting below that says this is possible but I cannot...
2
4300
by: SamSpade | last post by:
There seems to be two ways to put things on the clipboard ( I don't mean different formats): SetClipboardData and OleSetClipboard If I want to get data off the clipboard do I care how it was put...
3
10390
by: Ajay Krishnan Thampi | last post by:
I have a slight problem implementing 'drag and drop' from a datagrid to a tree-view. I have pasted my code below. Someone please advice me on what to do...pretty blur right now. ==code== ...
6
3528
by: jojobar | last post by:
Hello, I look at the asp.net 2.0 web parts tutorial on the asp.net web site. I tried to run it under firefox browser but it did not run. If I want to use this feature in a commercial product...
3
10561
by: VB Programmer | last post by:
In VB.NET 2005 (winform) any sample code to drag & drop items between 2 listboxes? Thanks!
0
482
by: ViRi | last post by:
I am currently experimenting a bit with AxMicrosoft.MediaPlayer.Intero­p.AxWindowsMediaPlayer and so far, most has gone well. Currently, i would like to add drag-and-drop functionality to the...
1
4686
by: Darren | last post by:
I'm trying to create a file using drag and drop. I want to be able to select a listview item drag it to the shell and create a file. Each icon in the listview represents a blob in a database. When...
0
2468
by: RHSFSS | last post by:
Hi, I have a Drag and Drop registration problem (See http://www.thescripts.com/forum/thread434707.html for similar problem post), can anyone out thereadvise on the best solution? I have a .NET 2.0 ...
5
13728
by: Romulo NF | last post by:
Greetings, I´m back here to show the new version of the drag & drop table columns (original script ). I´ve found some issues with the old script, specially when trying to use 2 tables with...
0
7225
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7123
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7042
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7495
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5627
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3193
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3181
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1556
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.