Hello Karol,
thanks for helping, your solution works perfectly. But i'm still interested in the jqueryui draggable() solution. I simply do not understand why it does not work. I included the library, I have written the function. It simply does not work. Curios.
Many thanks.
Regards, Emil