I'm using Draggagle on a couple of divs and when I drop the first one, it'll
always drop behind (in terms of z-index) the second one. I even added a
revert function to add a CSS class to the div that should raise it up, but I
think the style.zIndex is "winning."
Looking at the code, it seems like the zIndex stuff is set *after*
the revert function is called... is there any way to do what I'm
trying to do?
Here's my call to Draggable just in case it's obviously stupid:
new Draggable('g-' +
G.cg,{handle:'dragbutton',revert:function(el){setCurrent(el)},zIndex:false});
Thanks!
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs