- ak_9992000 --
Since you are moving it before DragDrop can do anything with it, you might try this approach:
After you move the element:
var dd = new YAHOO.util.DD(id); //Unless you already have this info..
dd.handleMouseDown(ev); //Pass the mousedown DOM event to the handleMouseDown method of the dd instance
Does that help?
+ Windows: n. - The most successful computer virus, ever. +
+ A computer without a Microsoft operating system is like a dog
without bricks tied to its head +
+ A Microsoft Certified Systems Engineer is to computing what a
McDonalds Certified Food Specialist is to fine cuisine +
----- Original Message ----
From: ak_9992000 <andrew@...>
Sent: Monday, June 30, 2008 6:01:58 AM
What I'm trying to do
User gives mousedown event on a large div (with agenda layout).
A drapdrop element jumps to the location of the mousedown event.
User drags the dragdrop element to precisely locate the beginning time
for an appointment.
User releases mouse, dragdrop 'helper' element disappears and
appointment create window opens with information including precisely
located start time.
Having moved the dragdrop element to where the mousedown event occurred
(using Dom.setXY), how can I get it to start dragging without the user
having to reclick.
Thanks for any help.
Yahoo! Groups Links