jonbadeen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jan-24 23:52 UTC
Sortables dragged element problem in IE
I have two sortable containers (divs with divs inside) on a page along with a couple other divs outside/between the sortable containers. In IE the element being dragged does not stay in front of the other containers (it will on the other sortable when the mouse pointer is actually above it). I''ve tried setting the z-index''s to 0 for everything and used alerted to find that the z-index of the dragged element and the things it is hiding behind are as they should be with the dragged element having a higher index than the other. Works fine in FF and Safari though. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
It''s not really a Prototype/Scriptaculous question. IE has some CSS rendering problems. There are workarounds--setting position:relative in the divs or their parents may fix it for you. A quick Google search turned up these: http://www.mail-archive.com/wsg-dtuAXkxsHUMQyu5mc3wuXy5qC8QIuHrW@public.gmane.org/msg26789.html http://www.aplus.co.yu/lab/z-pos/ TAG On Jan 24, 2007, at 4:52 PM, jonbadeen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> > I have two sortable containers (divs with divs inside) on a page along > with a couple other divs outside/between the sortable containers. In > IE the element being dragged does not stay in front of the other > containers (it will on the other sortable when the mouse pointer is > actually above it). I''ve tried setting the z-index''s to 0 for > everything and used alerted to find that the z-index of the dragged > element and the things it is hiding behind are as they should be with > the dragged element having a higher index than the other. Works fine > in FF and Safari though. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---