CommWEB/admin/Main.aspx

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Title="" Language="C#" MasterPageFile="~/share/Site1.Master" AutoEventWireup="true"
    CodeBehind="Main.aspx.cs" Inherits="CommLeiWeb.admin.Main" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../inc/Script/accordion.js" type="text/javascript"></script>
    <script type="text/javascript">
        
        //左侧工具栏切换
        function on_tool() {
            var leftdiv = document.getElementById("leftdiv");
            var splitdiv = document.getElementById("splitdiv");
            var rightdiv = document.getElementById("rightdiv");
            var frameshow = document.getElementById("frameshow");
            //判断菜单是否隐藏
            if (leftdiv.style.display == "none") {
                leftdiv.style.display = "block";
                frameshow.src = "../inc/images/splitter_horCol.gif";
            }
            else {
                leftdiv.style.display = "none";
                frameshow.src = "../inc/images/splitter_horExp.gif";
            }
        }

        //自动适应内容大小
        function changewin() {
            var modulePanel = $("#modulePanel");
            var th = $(".topbg");
            var wi = $(window);
            var ld = $("#leftdiv");
            var sd = $("#splitdiv");
            var ft = $(".copyright");
            var width = wi.width() - ld.width() - sd.width() - 1;
           
            var height = $(window).height() - th.height() - ft.height()-20;
                modulePanel.height(height);
            modulePanel.width(width-10);
            $(".mainpartout").width(width);
        }

        window.onresize = function () {
            changewin();
           
        };
        window.onload = function() {
            changewin();
        };
    </script>
<style type="text/css">
		* {margin: 0; padding: 0;}
		
		a, a:link, a:visited {color: #ccc; text-decoration: none;}

		
	</style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentMain" runat="server">
    <div class="mainframe">
        <div id="leftdiv">
后面还有 49 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。