码迷,mamicode.com
首页 > 其他好文 > 详细

OA办公页面设计

时间:2018-02-23 19:13:09      阅读:223      评论:0      收藏:0      [点我收藏+]

标签:inner   img   分享   http   方案   ntb   导航栏   bubuko   info   

OA办公页面有一个公共的特点,就是菜单导航栏不刷新,只刷对应的其他内容。

如图:

  技术分享图片

百度上查到的决解方案通用的分三种:

js:

function load_home() {
 document.getElementById("viewDiv").innerHTML = ‘<object type="text/html" data="new.html" width="100%" height="100%"></object>‘;
//ie9不兼容,ie6-8可以使用 }

iframe:

<body>
        <form method="post" action="../index.html" > //post提交要使用到服务器,Hbuilder软件不能处理post请求
            <button>提交</button>
        </form>
        <iframe name="index"></iframe>
    </body>

 

OA办公页面设计

标签:inner   img   分享   http   方案   ntb   导航栏   bubuko   info   

原文地址:https://www.cnblogs.com/jack-xsh/p/8462749.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!