SubMenu hide on mouseout

  1. #1

    [1.0] SubMenu hide on mouseout

    Hi,

    Is there a way to hide the menu after a mouseout on a submen?
    I can show the menu when a user mouseover's on the Menu1, but when the user mouseout's on the submen the menu is still visible. I know that everytime I think it's going to be impossible, the coolite tools just make it way to easy to do.

     
                <North>
                    <ext:Toolbar ID="tlbNorth" runat="server" Width=".5" >
                        <Items>
     
                            <ext:MenuItem id="mHome" runat="server" Text="Home" Handler="onItemClick" HrefTarget="~/index.aspx" Icon="ApplicationHome" />
                            <ext:Button ID="mbMortgage" runat="server" Text="Mortgage" Icon="Folder">
                                <Menu>
                                    <ext:Menu ID="Menu1" runat="server">
                                        <Items>
                                            <ext:MenuItem ID="MenuItem1" runat="server" text="This Rocks" Handler="onItemClick" HrefTarget="http://www.ext.net" />
                                            <ext:MenuItem ID="MenuItem2" runat="server" Text="Google" Handler="onItemClick" HrefTarget="http://www.google.com" />
                                            <ext:MenuItem ID="MenuItem3" runat="server" Text="Base Component" Handler="onItemClick" HrefTarget=http://www.sencha.com>
                                            </ext:MenuItem>
                                        </Items>
                                    </ext:Menu>
                                </Menu>
                                <Listeners>
                                    <MouseOver Handler="if(!this.menu.isVisible()){this.showMenu();}" />
                                </Listeners>
                            </ext:Button> 
                            <ext:Button ID="mbDispositions" runat="server" Text="Dispostions" Icon="Folder">
                                <Menu>
                                    <ext:Menu ID="Menu2" runat="server">
                                        <Items>
                                            <ext:MenuItem ID="mCMDPendingDispositions" runat="server" Text="CMD Pending Dispositions" Handler="onItemClick" HrefTarget="./CMD/RSContainer.aspx?rn=%2fCMDAdhocs%2fCMDPendingDispositions" />
                                        </Items>
                                    </ext:Menu>
                                </Menu>
                            </ext:Button>
                        </Items>
                    </ext:Toolbar>                
                </North>
    Last edited by geoffrey.mcgill; Feb 22, 2011 at 5:24 AM.

Similar Threads

  1. [CLOSED] Button menu is not hiding while mouseout.
    By rnachman in forum 1.x Premium Help
    Replies: 6
    Last Post: Jul 30, 2012, 5:50 PM
  2. Adding Submenu on header menu from GridPanel
    By douglas in forum 1.x Help
    Replies: 0
    Last Post: Mar 06, 2012, 1:47 PM
  3. Toolbox Menu doesn't show submenu in iPad
    By sky73rx3 in forum 1.x Help
    Replies: 3
    Last Post: Dec 12, 2011, 3:46 AM
  4. Replies: 1
    Last Post: Nov 30, 2011, 4:10 PM
  5. Replies: 2
    Last Post: Jul 06, 2011, 6:54 PM

Tags for this Thread

Posting Permissions