<HTML>
<head>
<Title>9宫格</Title>
<Meta name="vIEwport" content="wIDth=device-wIDth,initial-scale=1,user-scalable=0" />
<script type="text/JavaScript" src="http://code.jquery.com/jquery⑴.5.min.Js"></script>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a3/jquery.mobile⑴.0a3.min.CSS" />
<script type="text/JavaScript" src="http://code.jquery.com/mobile/1.0a3/jquery.mobile⑴.0a3.min.Js"></script>
</head>
<body>
<div data-role="page" ID="homepage">
<div data-role="header" data-position="fixed">
<a href="#" data-role="button" data-theme="a" data-icon="back">返回</a>
<h1>9宫格</h1>
<a href="#" data-role="button" data-theme="a" data-icon="forward">前进</a>
</div>
<div data-role="content">
<div class="ui-grID-b">
<div class="ui-block-a">
<a href="#" data-role="button" data-theme="a" data-icon="home" data-iconpos="top">首页</a>
</div>
<div class="ui-block-b">
<a href="#" data-role="button" data-theme="a" data-icon="grID" data-iconpos="top">列表</a>
</div>
<div class="ui-block-c">
<a href="#" data-role="button" data-theme="a" data-icon="star" data-iconpos="top">加星</a>
</div>
<div class="ui-block-a">
<a href="#" data-role="button" data-theme="a" data-icon="info" data-iconpos="top">信息</a>
</div>
<div class="ui-block-b">
<a href="#" data-role="button" data-theme="a" data-icon="search" data-iconpos="top">查找</a>
</div>
<div class="ui-block-c">
<a href="#" data-role="button" data-theme="a" data-icon="gear" data-iconpos="top">设置</a>
</div>
<div class="ui-block-a">
<a href="#" data-role="button" data-theme="a" data-icon="check" data-iconpos="top">已选</a>
</div>
<div class="ui-block-b">
<a href="#" data-role="button" data-theme="a" data-icon="alert" data-iconpos="top">提示</a>
</div>
<div class="ui-block-c">
<a href="#" data-role="button" data-theme="a" data-icon="plus" data-iconpos="top">添加</a>
</div>
</div>
</div>
</div>
</body>
</HTML>
效果:
以上是内存溢出为你收集整理的jquerymobile创建9宫格事例全部内容,希望文章能够帮你解决jquerymobile创建9宫格事例所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)