Hi,

I have a group of items that I make sortable when my document is
"ready"

                $('div.listGroup1').Sortable(
                        {
                                accept :        'sortList',
                                helperclass :   'sortHelper',
                                activeclass :   'sortableactive',
                                hoverclass :    'sortablehover',
                                opacity:        0.8,
                                tolerance:      'intersect',
                                onStart : function()
                                {
                                        $.iAutoscroller.start(this,
document.getElementsByTagName('body'));
                                },
                                onStop : function()
                                {
                                        $.iAutoscroller.stop();
                                        saveDivPositions();
                                }
                        }
                )


What I want to do is when I start dragging a particular item of class
"sidebarText", I want that to become part of the existing Sortable
family.  So what code do I need to insert into the "/* Put Sortable
statement */" here block?

                        $('.sidebarText').Draggable(
                        {
                                zIndex:         1000,
                                revert:         true,
                                ghosting:       true,
                                onDrag: function (drag)
                                {
                                        /* Put Sortable statement here
*/
                                },
                                opacity:        0.7
                                }
                        );

Thanks, - Dave

Reply via email to