On Mar 10, 12:15 pm, Wouter Immerzeel <[email protected]> wrote:
> hey hi....
>
> I have an element which I wat to be on top (zIndex) after drag.
>
> but if I try f.i
>
> new Draggable(mydiv,{onEnd: function() {
>                                         $(mydiv).addClassName('whatever');
>                                         $(mydiv).setStyle({ zIndex:'52' });
>                                 }
>                         });
>
> The classname gets set, but the Z-index gets returned to the original  
> value it has in my stylesheet. (50 in my case)
>
> Why doesn't this work?
>
Just a guess, but I wonder if there's anything in there that's going
to convert '52' to the number 52?

Colin

> Tia
> Wouter
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to