draggable, feature missing?

draggable, feature missing?


Hello,
I'm playing with various JQuery UI widgets (UI 1.7.1 with conjunction
JQuery 1.3.2).
I reached a problem I cannot solve by myself. Maybe Im missing
something. Maybe I need a feature which is not implemented, dont know.
I hope someone will have a clue how to deal with it.
Problem example is placed at: http://flatforma.appspot.com
(should work in Gecko and Webkit powered browsers)
There are basically 3 panels:
-Accordion at the left
-Main panel (splitters attached on each side)
-Accordion at the right (hidden by default, click to show)
Both panels with accordions have minimal width set (changed
dynamically as 'containment' in splitters.draggable).
There is toggle (show/hide) possibility splitter on click. Click works
fine.
I'd like to toggle on dragging below 1/4 of panel width.
I have implemented it, but it seems that when draggable has
containment set, element is being dragged, there is no way to snap or
even change css.left (it returns to previous position instantly - it
can be observed in Firebug). Changing containment during drag also
seems not to work. Anyone knows what might be the right solution?
Best Regards,
Marcin