appcan.ready(function() {
var titHeight = $('#header').offset().height;
//appcan.frame.open("content", "2.html", 0, titHeight);
appcan.window.openPopover({
name:'content',
dataType:0,
url:'http://mov.xiaomeng.mobi',
top:titHeight,
left:0,
type:512,
});
window.onorientationchange = window.onresize = function() {
appcan.frame.resize("content", 0, titHeight);
}
});
appcan.ready(function() {
uexWindow.onKeyPressed = function(keyCode) {
if (keyCode == 0) {
appcan.window.close(-1);
}
}
uexWindow.setReportKey('0', '1');
})