i have following code

for jquery drag and drop

#var $albumcover = $('#albumcover');

#$albumcover.droppable({
#accept: '#trash2 li',
#activeClass: 'ui-state-highlight',
#drop: function(ev, ui) {
#$(this).append($(ui.draggable).clone().attr('alt', 'nat'));
# $(this).find('img').css('width','100px');
#$(this).find('img').css('height','100px');
#}
#});


only problem is: when i drag item to albumcover DIV its dragged with
clone

but i can't drag it again, i want this item to be dragable again.

my question is how to add events to it when it's created? so i can
drag it again.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to