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?

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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to