<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/12/11/011
 * Time: 19:37
 */
?>
<!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" />
    <title>显示/隐藏菜单</title>
    <script src="<?= STATIC_URL ?>/static/cp/js/jquery-1.7.2.min.js"></script>
    <link href="<?= STATIC_URL ?>/static/cp/css/base.css" rel="stylesheet" type="text/css" />
    <link href="<?= STATIC_URL ?>/static/cp/css/admin.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $().ready(function() {

            var $main = $("#main");

            $main.click( function() {
                var mainFrameset = window.parent.window.document.getElementById("mainFrameset");
                if(mainFrameset.cols == "130,6,*") {
                    mainFrameset.cols = "0,6,*";
                    $main.removeClass("leftArrow");
                    $main.addClass("rightArrow");
                } else {
                    mainFrameset.cols = "130,6,*";
                    $main.removeClass("rightArrow");
                    $main.addClass("leftArrow");
                }
            })

        })
    </script>
    <style type="text/css">
        <!--
        html, body {
            height: 100%;
            overflow:hidden;
        }
        -->
    </style>
</head>
<body class="middle">
<div id="main" class="main leftArrow"></div>
</body>
</html>
