1,加载多窗口,及设置窗口遮盖关系

<script type="text/javascript">
    appcan.ready(function() {
            var titHeight = $('#header').offset().height;
            appcan.locStorage.setVal('SearchTextHeight', titHeight);
            appcan.frame.open("content", "index_content.html", 0, titHeight);            
            window.onorientationchange = window.onresize = function() {
                appcan.frame.resize("content", 0, titHeight);
            }
            appcan.window.openPopover({
                name : 'searchBtn',
                dataType : 0,
                url : 'index_content_popover.html',
                top : 50,
                left : 10,
                width : $(document.body).offset().width-20,
                height : 100,
            });
            appcan.window.bringPopoverToFront('searchBtn');
        });
</script>
作者 铁血 汉子 2016年7月26日
2024/04/20/07:38:18am 2016/7/26/17:00:17
0 2125