Oct 01, 2010, 3:31 PM
[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.
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.