Hi Chrigu,

> 1) I use 3 lists. I can drag and drop items from every list to the
> others or within the list. This ist just perfect for list 1 and 2. But
> list 3 sholud always stay the same. Even if i drag a item out of the
> list, the item should stay in the list and a copy of the item should
> be placed in one of the other lists. Is there a easy way for doing
> this?

I think yopu could try to clone the object depending if droppable was
activated (because then it is no more in the global list) and re-
insert it in those list.

> 2) I like to get a clicked event only when teh element is not draged.
> When i click to a list element i like to open another window or
> something like a lightbox with more informations. How can i detect the
> Click?

with the event.observe(), a simple exemple depending of your code:
$R(1,20).each(function(_n){$('po_'+_n).observe('click',function()
{alert('clicked on id po_'+_n);});});


>
> Thank you for your help
> Chrigu


Just one remark, go and see the template api ( 
http://www.prototypejs.org/api/template
), for generating the list inside the list3.


--
david

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to