zoukankan      html  css  js  c++  java
  • APICloud 实现 使用openFrameGroup引入页面后禁止上下滑动

    function funIniGroup(){
            var eHeaderLis = $api.domAll('header li'),
                frames = [];
            for (var i = 0,len = eHeaderLis.length; i < len; i++) {
                    frames.push( {
                        name: 'frame'+i,
                        url: './html/frame'+i+'.html',
                        bgColor : 'rgba(0,0,0,.2)',
                        bounces:false    //  这里修改为  false  即可
                    } )
            }
            api.openFrameGroup({
                name: 'group',
                scrollEnabled: true,
                rect: {
                    x: 0,
                    y: $api.dom('header').offsetHeight,
                    w: api.winWidth,
                    h: $api.dom('#main').offsetHeight
                },
                index: 0,
                frames: frames
            }, function (ret, err) {
    
            });
        }
    

      

    author:Lik
    Endeavoring to powerless, struggling to move yourself.
  • 相关阅读:
    windows平台下一款强大的免费代理获取工具
    彻底搞懂Git Rebase
    line-height
    text-indent
    text-decoration
    text-align
    color
    CSS属性汇总
    font
    font-style
  • 原文地址:https://www.cnblogs.com/likwin/p/7389099.html
Copyright © 2011-2022 走看看