<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Left.aspx.cs" Inherits="BackCenter_Home_Left" %>


<!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 id="Head1" runat="server">
    <meta charset="utf-8" content="text/html;" http-equiv="Content-Type" />
    <title>警情分析平台</title>
    <link href="/App_Themes/BackCenter/css/core.css" rel="stylesheet" type="text/css" />
    <link href="/App_Themes/BackCenter/css/base.css" rel="stylesheet" type="text/css" />
</head>
<body bgcolor="#e6f4fa">
    <form id="form1" runat="server">
     <div style="background: #198bc9;">
        <div class="left" id="contentHighSet" style="height: 740px" >
            <h2>
                菜单管理</h2>
            <div class="menu_show" id="IndexHighSet" style="overflow:auto;">
                <asp:TreeView ID="TreeView1" runat="server"  Style="padding-left: 10px; padding-top: 10px;"
                CollapseImageUrl="~/App_Themes/BackCenter/images/open.gif"
                ExpandImageUrl="~/App_Themes/BackCenter/images/closed.gif" 
                NoExpandImageUrl="~/App_Themes/BackCenter/images/files.gif">
                </asp:TreeView>
            </div>
        </div>
    </div>
    </form>
    <!--自适应高度-->
    <script type="text/javascript" language="javascript">
        var MS = "IE";
        if (navigator.userAgent.indexOf("Firefox") > 0) {
            MS = "FF";
        }
        if (document.getElementById("IndexHighSet") != null) {
            if (document.documentElement.clientHeight > 200) {
                document.getElementById("IndexHighSet").style.height = document.documentElement.clientHeight - 6 + "px";
            }
        }

        var t = 0;

        window.onresize = function() {
            var now = new Date();
            now = now.getTime();
            if (now - t > 30) {
                if (document.getElementById("IndexHighSet") != null) {
                    if (document.documentElement.clientHeight > 200) {
                        document.getElementById("IndexHighSet").style.height = document.documentElement.clientHeight - 6 + "px";
                    }
                    t = now;
                }
            }
        }
    </script>
</body>
</html>

