Draggable Stack : add an event to bring to front
Hi everybody,
It's my first post here
. I am a 25yo european electronics engineer who does a little web dev at work.
I am developping an app with draggables/stackables div markups. It works great except for one single feature : when you click on a box without dragging it the "dragstart" event isn't fired and the box does not come to front.
I tried to add my own event, and succeeded, but as I was having a look at the code I fell that the method on line 765 of jquery.ui.draggable.js (1.8.4) was much more pleasant.
Have anybody thought about an elegant way to port this method ? I tried a few but I am not pleased.
By the way shouldn't "click-gives-the-higher-z-index" be the correct default behavior?
Thanks in advance if anybody can help 