> onStop : function() { > $(this).css("z-index","10000"); > } > > > > On 1/9/07, *Su* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > I've got something I'm building wherein several boxes will be > draggable. What I'd like to do is have a function that can be > called when dragging stops(Interface onStop), or just when a box > is clicked that would bring it to the top of the stack via the > z-index. > > Of course, the writers of the CSS spec didn't think to just > provide a "top" value, so this isn't directly possible. > I tried something like just: > > onStop : function() { > $('.dragbox').css("z-index","1"); > $(this).css("z-index","10000"); > } > I believe you have to use zIndex. You have to search the previous threads. It's been discussed before.
-- David Duymelinck ________________ [EMAIL PROTECTED] _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/