Here''s my problem. Unfortunately I have the need to load up fully qualified html documents into my page. (think tens of thousands of mini sites). I also have the need to be as handicap accessible as possible. (So ajax is essentially out, screen readers aren''t up to snuff yet). Thus I''m using an iframe. The unfortunate part is that I have navigation menus that appear over the iframe.. but when the mouse hits an element over the iframe firefox believes this to be a mouseout and hides the navigation. (IE6 , 7 and Safari seem to respect the z-index of my navigation.) Has anyone here run into this? and or used Prototype to solve this issue? Is there a way to get a Div to act like an Iframe yet not use Ajax? Much thanks to anyone with advice. -P --~--~---------~--~----~------------~-------~--~----~ 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 due to how IE6 (and earlier versions) draws IFRAMES and SELECT elements. You need to use a shim technique to take care of this problem: http://www.google.com/search?q=iframe+shim+technique -justin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Maybe I didn''t explain well enough.. I have a dropdown menu, it''s got the iframe shim under it so that it can hover over form elements correctly in IE (I don''t generate it for FF because it treats the div appropriately in regards to form elements etc) ... this dropdown menu, drops down over another iframe.. (this one contains basically a mini site). it visually hovers correctly over this mini site containing iframe no problem. but as the mouse travels down the items in the menu,.. once the mouse is over the portion of the dropdown that is over the mini site containing iframe.. the onmouseout apparently fires.. and the menu goes away. I can only surmise that this is because FF treats the iframe''s z-index differently? I dunno. Unless you are saying that I should leave the shim in for FF too and it will eliminate the issue I''m having? -P On Jun 3, 10:43 am, "Justin Perkins" <justinperk...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> It''s due to how IE6 (and earlier versions) draws IFRAMES and SELECT elements. > > You need to use a shim technique to take care of this problem:http://www.google.com/search?q=iframe+shim+technique > > -justin--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Sorry, I didn''t realize that you were already shimming. Have you tried playing with the z-index of your menu and iframe, to make the menu z-index larger than the iframe''s? I haven''t seen behavior like that in Firefox, and I''ve done quite a bit with DOM-content being overlaid on top of an iframe, using the mouseout event to hide the content. Do you have an example page? -justin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
The z-index of the menu is at 600 and I''ve set the z-index of the mini site containing iframe to 0 . It''s terribly odd. Especially considering that I only see this behavior in FF. As for an example.. I don''t think I''m allowed to show what I''ve built yet to the world. Think big company NDA type of stuff. -P On Jun 3, 11:13 am, "Justin Perkins" <justinperk...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Sorry, I didn''t realize that you were already shimming. Have you tried > playing with the z-index of your menu and iframe, to make the menu > z-index larger than the iframe''s? > > I haven''t seen behavior like that in Firefox, and I''ve done quite a > bit with DOM-content being overlaid on top of an iframe, using the > mouseout event to hide the content. > > Do you have an example page? > > -justin--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Tue, Jun 3, 2008 at 12:22 PM, Paul R. <paul.ramos-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> As for an example.. I don''t think I''m allowed to show what I''ve built > yet to the world. Think big company NDA > type of stuff.If you could make a simple page that illustrates this issue, it would be easier to help solve it. -justin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Paul R. wrote:> The z-index of the menu is at 600 and I''ve set the z-index of the mini > site containing iframe to 0 . > It''s terribly odd. Especially considering that I only see this > behavior in FF. > As for an example.. I don''t think I''m allowed to show what I''ve built > yet to the world. Think big company NDA > type of stuff. > > -P >Does the mini nav happen to be a child of the node you are observing for mouseover? Any time you mouseover a child node, a mouseout event will be fired. Also, you might try making a minimal example so the inconsistency will become obvious. - Ken Snyder --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thanks.. if I get a chance I''ll definitely try to make a stripped down version for you guys. (you can just call me the overloaded front end guy) My worry though is that there is a lot going on on my page.. and if I make a stripped down version.. it won''t accurately show what''s going on. regardless.. I''ve found that adding the shim fix to the dropdowns in firefox seems to work. However, it seems to slow down the highlighting I have on the navigation elements. (done with css) . I''m going to go through all my .js and through the html and see if my i''s are dotted. Hopefully I''ll have a chance to put an example up tomorrow. -P On Jun 3, 1:59 pm, Ken Snyder <kendsny...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Paul R. wrote: > > The z-index of the menu is at 600 and I''ve set the z-index of the mini > > site containing iframe to 0 . > > It''s terribly odd. Especially considering that I only see this > > behavior in FF. > > As for an example.. I don''t think I''m allowed to show what I''ve built > > yet to the world. Think big company NDA > > type of stuff. > > > -P > > Does the mini nav happen to be a child of the node you are observing for > mouseover? Any time you mouseover a child node, a mouseout event will > be fired. Also, you might try making a minimal example so the > inconsistency will become obvious. > > - Ken Snyder--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---