开发者

Tell jquery draggable is being dragged dynamically

开发者 https://www.devze.com 2023-04-05 12:53 出处:网络
So this is a dependenc开发者_高级运维y of a current objective.If we can figure this out then this and my other question will be done.

So this is a dependenc开发者_高级运维y of a current objective. If we can figure this out then this and my other question will be done.

Here is the original objective: drag marker outside map to html element

Here is the almost complete fiddle i have created: http://jsfiddle.net/y3YTS/26/

All we need to do is make it so when the "fake" marker is moving with the real marker on google maps... we tell jquery it is being dragged so the droppable zone will act properly.

1: change color since its the target

2: fire the drop event when you let go over the dropzone

my only next option is to dig through jquery source and see where I can hook in but hopefully somebody will have a bright idea!


It sounds like you're looking for something like draggable's "drag" event...

http://jqueryui.com/demos/draggable/events.html

0

精彩评论

暂无评论...
验证码 换一张
取 消