zoukankan      html  css  js  c++  java
  • JQERY EasyUI Tabs 选项卡 自适应浏览器宽度高度 解决方案

    <script type="text/javascript">
    $(window).resize(function () {
    $('#tt').tabs({
    $("#tt").parent().width(),
    height: "auto"
    });
    })
    $(function() {
    $('#tt').tabs({
    $("#tt").parent().width(),
       height: "auto"
    });
    });
    </script>


    <div id="tt">
    <div title="标题1" style="padding:10px;" cache="false">
    test11111111111111111111111111111111111111111111111111111111111111111111111111

    </div>

    <div title="标题2" style="padding:10px;" cache="false" href="/EMS01/IMG_List"></div>
    <div title="标题3" style="padding:10px;" cache="false" href="/EMS01/EXG_List"></div>
    </div>

    待验证 动态数据加载的时候

  • 相关阅读:
    2019.8.8 python day03
    2019.8.7 python进阶day02
    2019.8.6(python day01)
    2019.8.5
    2019.8.2
    2019.8.1
    2019.7.31
    2019.7.30
    面向对象进阶
    访问可见性问题和@property装饰器
  • 原文地址:https://www.cnblogs.com/snowhite/p/10106593.html
Copyright © 2011-2022 走看看