0

問題は、メニューのボタンをクリックすると、「メインコンテンツ」の後ろに隠れているため、ウィンドウのポップアップが表示されないことです。これは、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。

4

1 に答える 1

1

これを追加して解決し、不思議に思いました{kind: "onyx.Menu", floating: true, components: [

于 2012-08-01T08:47:06.863 に答える