<%
@ Control Language="C#" AutoEventWireup="true" CodeBehind="TopNavigation.ascx.cs" Inherits="EquagenComAdmin.admin.TopNavigation" %>
<%
@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<
script language="javascript" type="text/javascript">
function
OnMouseOverItem(menu,args)
{
var item=args.get_item();
var items=menu.get_items();
for(var i=0;i<items.get_count();i++)
{
if(items.getItem(i).get_text() == document.title && items.getItem(i).get_text() != item.get_text())
{
items.getItem(i).set_cssClass(
"");
break;
}
}
}
function
OnMouseOutItem(menu,args)
{
var item=args.get_item();
var items=menu.get_items();
for(var i=0;i<items.get_count();i++)
{
if(items.getItem(i).get_text() == document.title && items.getItem(i).get_text() != item.get_text())
{
items.getItem(i).set_cssClass(
"rmFocused");
break;
}
}
}
</
script>
<
asp:Label ID="MenuResult" runat="server" />
<
telerik:RadMenu ID="TopNavigationMenu" runat="server" Flow="Horizontal" OnClientMouseOver="OnMouseOverItem" OnClientMouseOut="OnMouseOutItem" Width="100%" Skin="EQN" EnableEmbeddedSkins="false">
</
telerik:RadMenu>