您的位置:首页 > 移动开发

手机端网页界面, 这么写.. look :-)

2013-07-25 16:19 169 查看
<!doctype html>
<html>
<head>
<script type="text/javascript">
(function(){
var onBridgeReady =  function () {
// 隐藏右上角的选项菜单入口;
WeixinJSBridge.call('hideOptionMenu');
};
if(document.addEventListener){
document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false);
} else if(document.attachEvent){
document.attachEvent('WeixinJSBridgeReady'   , onBridgeReady);
document.attachEvent('onWeixinJSBridgeReady' , onBridgeReady);
}
})();
</script>
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<title></title>
<style></style>
<script></script>
</head>
<body>

<div style='background:#ccc'>
<a href='http://www.qq.com'>hello worldhello worldhello worldhello worldhello worldhello worldhello world</a><br />
<a href='http://www.qq.com'>hello world</a><br />
<a href='http://www.qq.com'>hello world</a><br />
<a href='http://www.qq.com'>hello world</a><br />
<a href='http://www.qq.com'>hello world</a><br />
<a href='http://www.qq.com'>hello world</a><br />
</div>

</body>
</html>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: