zoukankan      html  css  js  c++  java
  • 页面跳转

    <script>ca.init(false);
    var oB =  ca.tagName('button');
    ca.click(oB[1],function(){
    ca.newInterface({
    url:'register.html',
    id:'register'
        })
    })
    </script>
    /**
    * 打开新界面
    *
    * 参数为JSON格式
    * url : 打开新页面的url
    * id  : 打开新页面的id
    * styles :  打开新页面的css 样式  (top bottom width height)  可不设置或者设置为空
    * showType : 打开新页面的方式  zoom-fade-out 中心放大
    * showTime : 打开新页面所用时间(毫秒) 通常 200 - 400 毫秒之间
    *
    */    
     
    castapp.newInterface({
            url:'child.html',
            id:'child',
            styles:{
                    top:'0px',
                    bottom:'',
                    '',
                    height:''
            },
            showType:'zoom-fade-out',
            showTime:200
    });
    
    
    /**
    * 关闭当前界面
    */
    castapp.closeCurrentInterface();
  • 相关阅读:
    solr 的全量更新与增量更新
    solr 服务器的搭建
    Mysql 问题
    App 微信支付
    App 支付宝支付
    Linux 常见命令
    [备注] 钉钉使用教程
    PARAMETER和ARGUMENT的区别
    无界面浏览器
    URLs ...
  • 原文地址:https://www.cnblogs.com/tian-sun/p/7404295.html
Copyright © 2011-2022 走看看