javascript - Draggable nested inside Draggable drags both when dragging child in IE -


I am applying a sit-up using jQuery. There are tables with chairs around me, which can be sitting on chairs, guests have a wrapper div in each table that is dragable. The chair inside the table is the number of devils. A guest can be sitting inside any chair. The guest is also a diva located inside the chair devel. Here is a sample for the markup of such a table. This table has 8 cheeses with two guests sitting in the first two chairs.

draggable ">
gt; div class =" seating-table-name "& gt; table 1 & lt; / div & gt; & lt; / div & gt; & lt; div id = "chair-1-0" class = "chair chair-pos-0 table-chair-1" & gt; & lt ; Div title = "Elaine Benis" id = "guest-2-5-2" class = "guest guest-2 UI-draggable" & gt; & lt; / div & gt; & lt; / div & gt; Lt; div id = "chair-1-1" class = "chair chair-pos-1 table-chair-1" & gt; div title = "Elaine Benis" id = "guest-2-5-2 "Class =" guest guest-2 UI-draggable "& gt; & gt; / div> & lt; / div & gt; div id =" chair-1-2 "class =" chair chair- Pos-2 table-chair-1 "& gt; & lt; / div & gt; & lt; div id =" chair-1-3 "class =" chair chair-pos-3 table-chair-1 "& gt; ; & Lt; / div & gt; & lt; div id = "chair-1-4" Class = "chair chair-pos-4 table-chair-1" & gt; & lt; / div & gt; & lt; div id = "chair-1-5" class = "chair chair-pos-5 table- Chair-1 "& gt; & lt; / div & gt; & lt; div id =" chair-1-6 "class =" chair chair-pos-6 table-chair-1 "& gt; & Lt; / Div & gt; & Lt; Div id = "chair-1-7" class = "chair chair-pos-7 table-chair-1" & gt; & Lt; / Div & gt; & Lt; / Div & gt;

div.table-wrapper is a draggable and therefore div.guest. The idea is that you can pull a guest from one chair to another, or drag the entire table to a different place. The problem I have is in IE, where you click and drag a guest, drag both guests and tables at the same time. Does anyone know how I can fix it?

Thank you, ~ Matt

After a lot of excavation, I think now Got a solution for It contains hacking ui.draggable.js, but currently it is not any other way.

To see my complete answer, see my post on the jQuery forum:

Hope this helps someone with any such issue.

Thanks, ~ Matt


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -