Have tried everything to get this working. Basically within each
portlet there are 2 sections and users should be able to drag items
from one section to the other (within the same portlet). As the
sortables are generated dynamically, have tried to do something
similar by creating a variable for connectWith, but keep getting
javascript error when I include the connectWith line.

See: http://www.nimr.mrc.ac.uk/ttest/090209/nimri_c.html

I don't want the user to be able to move list items from list1 to
list2, etc. list1 items should be able to go to list1-hide (and vice
versa, etc).

The line of code that's the issue is within the .each function -

// here, we allow the user to sort the items
        $(setSelector).sortable({

                //connectWith:['?'], // connect with connectMe
                update: function() {
                                $.cookie(setCookieName, $
(setSelector).sortable("toArray"), { expires: 7, path:
"/" });
                }

        });


Any pointers much appreciated. :)

--~--~---------~--~----~------------~-------~--~----~
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