html5 - javascript drag and drop: detect if dropped outside of window -
i have 2 lists of items - each list in separate browser window. have drag n drop working between them - lets me move items between windows. move items within same window.
when moving item window window b want both windows refresh reflect change. uses drop event , b uses dragend event. when dragging within same window don't want fire 2 refresh events on same page.
it nifty detect drop happened outside of own browser window. how do that?
ps. i've seen how detect dragleave event in firefox when dragging outside window i'd rather see more simple approach.
Comments
Post a Comment