|
</body>
</html>
<script type="text/javascript" src="script/api.js"></script>
<script type="text/javascript">
$(window).resize(function() {
var body_h = $(window).height();
var header_h = $('#header').outerHeight();
var rect_h = body_h - header_h - $('#footer').height();
api.setFrameGroupAttr({
name: 'Main',
rect: { x: 0, y: header_h, w: 'auto', h: rect_h,marginLeft:0,marginTop:0,marginRight:0,marginBottom:0 }
});
});
apiready = function () {
$api.fixStatusBar( $api.dom('header') );
api.setStatusBarStyle({
style: 'dark',
color: '#6ab494'
});
funIniGroup();
}
function funIniGroup(){
是这样吗,不行啊 |
|