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>