【发布时间】:2012-07-31 13:30:07
【问题描述】:
问题是我单击菜单按钮时看不到弹出窗口,因为它隐藏在“主要内容”后面。我可以使用 Firebugs 检查元素工具看到这一点。
我尝试使用 z-index 样式,但似乎没有帮助..
是否有任何其他选择或创造性的解决方案来解决这个问题?
{kind:"FittableColumns", style:"z-index:1;", fit:true, components:[
{kind:"FittableRows", style:"z-index:1;", fit:true, components:[
{content:"Main Content",style:"z-index:1;", fit:true},
{kind: "onyx.Toolbar", style: "height:40px; padding:0px;", components: [
{kind: "onyx.MenuDecorator", onSelect: "itemSelected", components: [
{kind: "onyx.IconButton", src: "assets/menu-icon-bookmark.png"},
{kind: "onyx.Menu",style:"z-index:99999;",components: [
{components: [
{kind: "onyx.IconButton", src: "assets/menu-icon-bookmark.png"},
{content: "Bookmarks"}
]},
{content: "Favorites"},
{classes: "onyx-menu-divider"},
{content: "Recents"},
]}
]},
]}
代码继续,但菜单附近没有重叠。
提前Tkx寻求解决方案。
【问题讨论】: