<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="courseclassheighttree.aspx.cs"
    Inherits="Us.Web.admin.course.courseclassheighttree" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8,chrome=1" />
    <title>班级课程设置</title>

     <link href="../style/default/style.css" rel="stylesheet" type="text/css" />
<%=ImportScriptStr %>
    <script type="text/javascript" language="javascript" src="js/0451skyMyDocument.js"></script>

    <link rel="stylesheet" href="../mtree/css/zTreeStyle/zTreeStyle.css" type="text/css" />
    <script type="text/javascript" src="../mtree/js/jquery-1.4.4.min.js"></script>
    <script type="text/javascript" src="../mtree/js/jquery.ztree.core-3.5.js"></script>



    <script type="text/javascript">
		<!--
    var setting = {
        view: {
            dblClickExpand: false,
            showLine: true
        },
        data: {
            simpleData: {
                enable: true
            }
        },
        callback: {
            onClick: onClick
        }
    };
   <% =TreeHTML %>

        function onClick(e, treeId, treeNode) {

            if (treeNode.id != "1") {
                var zTree = $.fn.zTree.getZTreeObj("treeDemo");
                zTree.expandNode(treeNode);
            }
        }

        $(document).ready(function () {
            $.fn.zTree.init($("#treeDemo"), setting, zNodes);
        });
        //-->
    </script>

    <script language="javascript" type="text/javascript">
        function AutoHeight() {
            var h = $(window).height() - 380;
            $("#ScroLeft").height(h);
            $("#iframe1").height($(window).height() - 20);

        }
        $(window).resize(function () {
            AutoHeight();
        });

        $(document).ready(function () {
            AutoHeight();
        });
    </script>
       <style type="text/css">
.ztree li span.button.switch.level0 {visibility:hidden; width:1px;}
.ztree li ul.level0 {padding:0; background:none;}
	</style>
</head>
<body>
    <form id="Form1" method="post" runat="server">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" height="100%">
            <tr>
                <td width="220" valign="top">
                    <div class="divTbg">
                        <div class="divTbgL"></div>
                        <div class="divTbgInfo">
                            <div class="divTbgTitle">班级课程设置</div>
                        </div>
                    </div>
                    <div class="divTbgF"></div>
                    <div class="divSearchBoth">
                        <div class="divInfo careffdivheight" align="center">
                            点击班级名操作
                        </div>
                        <div class="divInfo divsquare" id="ScroLeft" style=" overflow:auto;">
                            <ul id="treeDemo" class="ztree"></ul>
                        </div>
                        <div class="divInfo">
                            <div class="divInfoContextN">
                                <p>班级课程设置功能：</p>
                                <p>1、点击相关的班级，在右侧即可看到本学期，本班级要开设的课程；</p>
                                <p>2、您需要设置开课的节数，教师，教室信息；</p>
                                <p>3、您可以点击底部的保存，保存数据到数据库，完成一个班级开课的设置；</p>
                                <p>4、您也可以点击修改进行高级的课程设置，包括课程的预排信息设置；</p>
                                <p>5、此处的课程功能=教学计划功能；</p>
                                </div>
                        </div>
                    </div>
                </td>
                <td valign="top">
                    <iframe  id="iframe1" src="" width="100%" height="100%" id="frameright" name="frameright" frameborder="0"
                        scrolling="auto"></iframe>
                    <div class="c2014ie10div">&nbsp;</div>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
