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


<!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 %>
 

<link rel="stylesheet" href="../mtree/css/zTreeStyle/zTreeStyle.css" type="text/css">

<script type="text/javascript" src="../mtree/js/jquery.ztree.core-3.5.js"></script>
<script type="text/javascript" src="../mtree/js/jquery.ztree.excheck-3.5.js"></script>
<script type="text/javascript" src="../mtree/js/jquery.ztree.exedit-3.5.js"></script>

    <SCRIPT type="text/javascript">
		<!--
    var setting = {

        view: {
            dblClickExpand: false,
            showLine: true
            , fontCss: getFontCss
        },
        data: {
            simpleData: {
                enable: true
            }
        }
    ,
        callback: {
            onClick: onClick
        }
    };

   <% =TreeHTML %>

        function onClick(e, treeId, treeNode) {
            var zTree = $.fn.zTree.getZTreeObj("treeDemo");
            zTree.expandNode(treeNode);
        }

        $(document).ready(function () {
            $.fn.zTree.init($("#treeDemo"), setting, zNodes);
            ztreeinitsearch("treeDemo", "txtUserName");
            //$("#callbackTrigger").bind("change", {}, setTrigger);
        });
        //-->
	</SCRIPT>
   

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

     $(document).ready(function () {
         AutoHeight();
     });
</script>

</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" align="center">
            <a href="menutreeeditmove.aspx" class="rptlink careffdivheight" target="_self">[菜单排序]</a>&nbsp;&nbsp;
            <a href="menumanager.aspx" class="rptlink careffdivheight" target="frameright">[增加菜单]</a>
          </div>
            <div class="divInfo">

                            <div class="divSearch">
                                <div id="searchBox" class="clearsearch">
                                    <p>
                                        &nbsp;<input type="text" id="txtUserName" placeholder="搜索的菜单名称" />
                                    </p>
                                </div>
                            </div>


                        </div>
          <div class="divInfo">
            <div class="divAutoHeight" id="ScroLeft" style="overflow:auto;"><ul id="treeDemo" class="ztree"></ul></div>
          </div>
        </div></td>
      <td valign="top">         
          <iframe src="<%=sOneURL %>" id="iframe1" width="100%" height="500" id="frameright" name="frameright" frameborder="0"
                    scrolling="auto"></iframe><div class="c2014ie10div">&nbsp;</div></td>
    </tr>
  </table>
</form>
</body>
</html>
