Hi there,

I am using MochiKit to develop a web-based frontend for a
Twisted/Python Servers.  Coming from the Twisted/Python/OjbC world, I
am really enjoying MochiKit.  I have a question about Sortables.

Is it possible to nest sortables?  I have a layout that consists of
nested divs:

        <div id='dnd1'>
            <div id='dnd2'>
                <div>stuff</div>
                <div>morestufff</div>
            </div>
            <div id='dnd3'>
                <div>stuff</div>
                <div>morestufff</div>
            </div>
        </div>

        <script type="text/javascript">
            MochiKit.Sortable.Sortable.create('dnd1',{ 'tag':'div'});
            MochiKit.Sortable.Sortable.create('dnd2',{ 'tag':'div'});
            MochiKit.Sortable.Sortable.create('dnd3',{'tag':'div'});
        </script>

I would like to be able have the inner most div's be sortable _and_ the
outer divs to be sortable as well.  Is this possible?  I did see that
in Sortable.js, there was an unimplemented tree option.  Does this mean
that this type of thing might be possible.  Any thoughts on how to go
about this?

Cheers,

Brian Granger


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to