Hi Jon,

Great, this was the solution. Thank you so much for the help. Its the
first time that I am using jQuery and I surley have to learn a lot
more about it.
I now only have one small issue left, where I am not 100% sure. I want
that the Element I dropped dissapears when its dropped on a folder.

I have actually taken the example from this page as the base:

http://jqueryui.com/demos/droppable/#photo-manager


So I suppose I have to add something in this area:

// let the trash be droppable, accepting the gallery items

$trash.droppable({
        accept: '#gallery > li',
        activeClass: 'ui-state-highlight',

       drop: function(ev, ui) {
            deleteImage(ui.draggable);
        }
});


But I am really not sure, what would make the dropped element
dissapear. Any hint on this aswell maybe? I have tried out different
solutions, but never got anywhere. Do I have to somehow overwrite the
class?

Luke




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to