You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.0 KiB
43 lines
1.0 KiB
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TopUc.ascx.cs" Inherits="UC_TopUc" %>
|
|
<div class="TopBar">
|
|
<div class="Logo">
|
|
</div>
|
|
<div class="Menu">
|
|
<asp:Literal ID="litMenu" runat="server"></asp:Literal>
|
|
</div>
|
|
</div>
|
|
<div class="NavBar">
|
|
<asp:Panel ID="panNav" runat="server">
|
|
<div class="Title">
|
|
<asp:LinkButton ID="lbtnManager" runat="server" ></asp:LinkButton>
|
|
</div>
|
|
<div class="Exit">
|
|
<asp:LinkButton ID="lbtnExit" runat="server" Text="退出本系统" OnClick="lbtnExit_Click"></asp:LinkButton>
|
|
</div>
|
|
</asp:Panel>
|
|
<asp:HiddenField ID="hfNonLogin" runat="server" />
|
|
</div>
|
|
|
|
<script language="javascript" type="text/javascript">
|
|
var clicked_mainMenu = "";
|
|
var clkedId = "";
|
|
function init()
|
|
{
|
|
i=0;
|
|
while(i<document.all.length)
|
|
{
|
|
if (document.all[i].className == "menu_off")
|
|
{
|
|
if (document.all[i].href == document.location)
|
|
{
|
|
clkedId = document.all[i];
|
|
clkedId.className="menu_on";
|
|
break;
|
|
}
|
|
}
|
|
i++;
|
|
}
|
|
return;
|
|
}
|
|
init();
|
|
</script>
|