View Single Post
Old 10-14-2008, 06:40 PM   PM User | #2
ohgod
Regular Coder

 
ohgod's Avatar
 
Join Date: Jun 2008
Location: Ohio
Posts: 579
Thanks: 6
Thanked 69 Times in 69 Posts
ohgod is on a distinguished road
so you're trying to figure out which draggable hit your droppable, right?

onDrop will automatically get the element that was dropped on it... then it's just a matter of getting the id. see below. identify() is part of prototype.


Code:
onDrop:function(element){
		Effect.Puff($(element).identify());
	}
that is untested, but based off my own working code. if it doesn't get you closer try dropping an alert in there to see what is being passed.
ohgod is offline   Reply With Quote
Users who have thanked ohgod for this post:
RadGH (10-15-2008)