Instead of including dragdrop-debug.js, include dragdrop.js in the
On Thu, 2007-03-29 at 11:34 +0000, iamthesinkingfish wrote:
Hi, I'm new to this AJAX stuff but I'm trying to develop a site for my
final year project.
I'm falling at the first hurdle, I'm want to have elements dragable
but the only way I've found is to include the logger.js file but it's
not listed as a dependency. I started without it and was having no
joy, so i turned to the example file and started stripping it.
Now I've a nice picture of a sun movable (playing havoc with the
scroll bars mind, but that's for another day) but as soon as i remove
the reference to logger.js nothing happens.
Can anyone help shine some light please?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>f***ing Drag & Drop</title>
var dd1 = new YAHOO.util.DD("element1");
<img src="sun.jpg" width="200" height="200"/>