mmlbrenda
2007-Sep-13 17:36 UTC
Help with show div positioning over windowed elements (Flash and select) in IE 5 & 6
Is there an easy and elegant way to use prototype/scriptaculous to over come the issue below? I have a series of divs that I am showing and hiding on mouseover and mouseout events. Occasionally a div might need to appear over a flash object or a select drop-down. It is know that in Internet Explorer (version<7), there are some elements like SELECT that always appear in front of all other elements no matter what z-index you apply to them. Other elements that present the same problem are ActiveX controls (including Flash movies), OBJECT tags, plug-ins and iFrames. That''s because these elements are implemented as windows whereas other elements are just drawn on the existing background window. I do not want to hide the windowed elements as that is a horrible user experience. I have used i-frames in the past, but positioning can be tricky since the div size that I am showing can vary in size and I would also need to toggle visibility on the iframe at the same time as the div. Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Diodeus
2007-Sep-13 20:11 UTC
Re: Help with show div positioning over windowed elements (Flash and select) in IE 5 & 6
The current consensus is to place an IFRAME in a div and position the div over the element. On Sep 13, 1:36 pm, mmlbrenda <bstr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Is there an easy and elegant way to use prototype/scriptaculous to > over come the issue below? > > I have a series of divs that I am showing and hiding on mouseover and > mouseout events. Occasionally a div might need to appear over a flash > object or a select drop-down. It is know that in Internet Explorer > (version<7), there are some elements like SELECT that always appear in > front of all other elements no matter what z-index you apply to them. > Other elements that present the same problem are ActiveX controls > (including Flash movies), OBJECT tags, plug-ins and iFrames. That''s > because these elements are implemented as windows whereas other > elements are just drawn on the existing background window. > I do not want to hide the windowed elements as that is a horrible user > experience. I have used i-frames in the past, but positioning can be > tricky since the div size that I am showing can vary in size and I > would also need to toggle visibility on the iframe at the same time as > the div. > > Thanks--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
mmlbrenda
2007-Sep-14 05:14 UTC
Re: Help with show div positioning over windowed elements (Flash and select) in IE 5 & 6
I have used that approach in the past, but was hoping for something a little more flexible. I am using this on a dynamic page and didn''t want to have to fetch the size of the div element to set the size of the iframe. *sigh* Internet Explorer workarounds are such a drag. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---