<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="col_ClassControlPanel.ascx.cs" Inherits="MTCUN.Mobile.User_Col.col_ClassControlPanel" %>
<script type="text/javascript">


    //选择菜单代码:::::::::::::
    var lastSelected = null;

    function Selected(the, gotoUrl) {
        window.location = gotoUrl;
    }

    function mouseover(the) {
        currentClass = the.className;
        if (currentClass == 'Nav_td') the.className = 'Nav_td tagMoveBg';
    }

    function mouseout(the) {
        if (the != lastSelected)
            the.className = currentClass;
    }

</script>
<style type="text/css">
    .Nav_td {
        width: 65px;
        border-style: solid;
        border-width: 0px 0px 2px 0px;
        border-color: #F8FCFF;
        cursor: pointer;
        height: 25px;
        text-align: center;
    }

    .TdSelected {
        width: 65px;
        border-style: solid;
        border-width: 1px 1px 2px 1px;
        border-color: #F8FCFF;
        background-repeat: repeat-x;
        text-align: center;
        height: 25px;
    }

    .control_panel td div {
        height: 1px;
        font-size: 1px;
        line-height: 1px;
    }

    .control_panel ul li {
        display: inline-block;
        text-align: center;
        line-height: 25px;
        padding: 4px;
        vertical-align: middle;
        margin: 0px;
        margin-bottom: 2px;
        margin-right: -4px;
        width: 50px;
        border-style: solid;
        border-width: 0px 0px 2px 0px;
        border-color: #F8FCFF;
        cursor: pointer;
        height: 25px;
        text-align: center;
    }
</style>
<div style="width: 100%">
    <div class="control_panel">
        <ul style="text-align: right; margin:0px; padding:0px; list-style:none">
            <li id="tdShow1" class="Nav_td" onclick="Selected(this,'Class.aspx?ClassID='+__ControlPanel_ClassID)"
                onmouseover="mouseover(this)" onmouseout="mouseout(this)">基本
            </li>
            <li id="tdShow2" class="Nav_td" onclick="Selected(this,'ClassStudents.aspx?ClassID='+__ControlPanel_ClassID)"
                onmouseover="mouseover(this)" onmouseout="mouseout(this)">学员
            </li>
            <li id="tdShow3" class="Nav_td" onclick="Selected(this,'LessonDegree.aspx?ClassID='+__ControlPanel_ClassID)"
                onmouseover="mouseover(this)" onmouseout="mouseout(this)">排课
            </li>
<%--            <li id="tdShow4" class="Nav_td" onclick="Selected(this,'../MSChart/ClassInfo.aspx?type=1&ClassID='+__ControlPanel_ClassID)"
                onmouseover="mouseover(this)" onmouseout="mouseout(this)">分析
            </li>--%>
            <li style="border-width: 0px 0px 0px 0px;" class="Nav_td" onmouseover="mouseover(this)" onmouseout="mouseout(this)">
                <asp:HyperLink ID="hlkUp" runat="server" CssClass="hlkup" Text="X" NavigateUrl='<%#string.Format("javascript:parent.location = url;void(0)") %>' />
            </li>
        </ul>
    </div>
</div>

<script type="text/javascript">
    document.getElementById("tdShow" + __ControlPanel_SelectIndex).className = "tagSelectedBg TdSelected";
</script>
