I am building an application interface with variable width menus and panels. The menus and panels are resized by dragging a scriptaculous draggable - there are two on the screen - they resemble the resize bars that you might see in Outlook for example. When the drag is complete a javascript function recalculates the width and height of all the items on the screen based on the finish position of the dragged bar and then the screen adjusts itself accordingly. One of the draggable bars works perfectly. The other draggable bar will work fine when used alone, but when the other bar is also moved, the bar disappears and will momentarily reappear when the other bar is moved again. As well as being invisible, it''s functionality is also lost. I have checked the mathematics of the ''resize'' extensively and the faulty bar is indicating that it is in the correct location. I''m sure this is a simple oversight or a known issue with a simple fix. I have included a small fragment of my code below - simply the ui initialisation. Needless to say, I have 2 simple divs that are the slide bars, with ids appropriate to the functions below. The bar divs are empty and their styling is provided by css. The ''sacms_toolbox_slider'' is the one that works fine. The ''sacms_rail_slider'' is faulty. I will happily provide a more complete example if someone has the time to assist me. Position.includeScrollOffsets = false; function uiInit(){ toolboxSliderInit(); railSliderInit(); } function toolboxSliderInit(){ new Draggable(''sacms_toolbox_slider'',{ ghosting: true, constraint: ''horizontal'', onEnd: application.toolboxslider.moved, starteffect:function(){ new Effect.Fade(''sacms_toolbox_slider'',{ duration:.4, queue:''end'' }); } }); } function railSliderInit(){ new Draggable(''sacms_rail_slider'',{ ghosting: true, constraint: ''vertical'', onEnd: application.railslider.moved, starteffect:function(){ new Effect.Fade(''sacms_rail_slider'',{ duration:.4, queue:''end'' }); } }); } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---