RE: Menubar drop down over iframe
"David Peterson" <[email protected]> Wed, 3 Mar 2004 12:32:11 +1000
| Newsgroups | gmane.comp.windows.devel.netwindows |
|---|---|
| Message-ID | <[email protected]> |
Currently using Firefox, should have said that in the original email. I have also tested in IE 6 and I get the same behaviour, the menu items show up behind the iframe. Instead of going down this route, the window widget and the content loading mechanism, as you stated, sounds promising. I have used these in the past with some other bits. I am using an iframe to dynamically call up content in a floating window. But this content is all stored on my site so I can use the JavaScript call back function and the window widget. When I create the window widget, how can I affix it to a certain creation point? For example, a user clicks a hyperlink which will pop-up the window. I want the window to show up right under that hyperlink. Can I also fix the window to that spot and not allow users to move it? Can I also allow them to just resize the window? Sorry for the rush of questions, but I think this might suit my development well and I am keen on getting it in place as soon as possible. Thanks for your help. Cheers, David -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Alex Russell Sent: Wednesday, 3 March 2004 1:02 AM To: netWindows development discussion list Subject: Re: [NW-Devel] Menubar drop down over iframe -----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 _______________________________________________ The netWindows developers list: [email protected] http://netwindows.org/mailman/listinfo/devel_netwindows.org