Re: Menubar drop down over iframe
Alex Russell <[email protected]> Tue, 2 Mar 2004 07:02:26 -0800
| Newsgroups | gmane.comp.windows.devel.netwindows |
|---|---|
| Organization | netWindows.org |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 02 March 2004 12:00 am, Sebastian Werner wrote: > David Peterson schrieb: > > Hello, > > > > I have the menubar dropdown widget placed over a hideable iframe. > > When the iframe is hidden the dropdown displays just fine. When > > the iframe is visible, it appears over the dropdown. The > > dropdown has a z-index of 1000. The iframe has a z-index of 1. > > Both are absolutely positioned. What can I do to avoid this? Is > > it fixable? > > iframes are windowed elements in Internet Explorer. netwindows > should use an iframe behind the dropdown menu to fix this. (Lower > zIndex then the layer above) This also help for select boxes behind > menus, layers, windows, ... So there are a couple of issues here: 1.) many browsers don't correctly manage z-indexing of iframes. 2.) the menu system doesn't currently do anything to trump this As for the first point, what browser are you testing against? I know tha at least IE 6 and modern Mozilla's should handle z-indexing correctly for iframes and their content. On the second point, we don't use an iframe for menu items since iframes tend to be egregiously expensive in terms of memory resources. If your app doesn't _really_ need an iframe, you might look into the NW content loading mechanism. Otherwise, send me a link to the app and I'll see what I can do. Regards. - -- Alex Russell [email protected] BD10 7AFC 87F6 63F9 1691 83FA 9884 3A15 AFC9 61B7 [email protected] F687 1964 1EF6 453E 9BD0 5148 A15D 1D43 AB92 9A46 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD4DBQFARKICoV0dQ6uSmkYRAvr4AJQJJ2W2tawZH3x6T/Az/GkdX9QxAJwKuVWd /vPjDz8LJu+CmYVMllvRyA== =ZxfD -----END PGP SIGNATURE----- _______________________________________________ The netWindows developers list: [email protected] http://netwindows.org/mailman/listinfo/devel_netwindows.org