您的位置:首页 > 运维架构 > 网站架构

前端页面加载其他html(页面的三级架构)

2018-01-16 09:44 176 查看
//主页面框架

<body style="padding: 0;margin: 0;">

    <section class="top" style="width: 100%;height: 40px;background: #ab2727;color: #fff"></section>

    <section class="menu" style="width: 80px;height: 100%;background: #000;color: #fff""></section> 

   

    <script type="text/javascript" src="jquery.min.js"></script>

     <script>

          $(".top").load("page/3.html");

          $(".menu").load("page/2.html");

    </script>

</body>

//引入页面

<section>
<span>我是菜单模块</span>

</section>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息