|
本帖最后由 chyercc 于 2014-12-11 22:44 编辑
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
<title>Hello APP</title>
<link rel="stylesheet" type="text/css" href="./css/api.css" />
<link rel="stylesheet" type="text/css" href="./css/common.css" />
</head>
<body>
this is home.
<li tapmode="ui-hov"><span>界面</span></li>
</body>
</html>
<script>
function openFrame(){
api.openFrame({
name: 'ui',
url: './ui.html',
pageParam: {name: 'ui'},
bounces: true,
opaque: false,
bgColor: 'rgba(88,0,0,0)',
vScrollBarEnabled:true,
hScrollBarEnabled:true,
animation: {
type: 'flip',
subType: 'from_bottom',
duration: 500
}
});
}
</script>
|
|