This works fine for the drag event, but not for the *click* event as mentioned in the question.
On Jul 29, 3:53 pm, "Mauricio \(Maujor\) Samy Silva" <[email protected]> wrote: > Use the stack and zIndex draggable options in order to bring always in front > the object being draggable. > $(document).ready(function() { > var dragOpts = { > cursor: 'move', > stack: {group: '#drag, #drag2, #drag3', min: 1}, > zIndex: 5000 }; > $('#drag, #drag2, #drag3').draggable(dragOpts);}) > > Maurício-----Mensagem Original----- > De: WR > Para: jQuery UI > Enviada em: quarta-feira, 29 de julho de 2009 11:15 > Assunto: [jquery-ui] Re: Bring draggable to the top on click > > I overcame this by binding to the click event for my draggable. I then > set the z-index of the draggable to the maximum z-index of the other > draggables plus 1. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
