jquerymobile按钮事例

<!DOCTYPE html>
<html>
    <head>
        <title>button</title>
        <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0" /> 
        <script type="text/javascript" src="
http://code.jquery.com/jquery-1.5.min.js"></script>
        <link rel="stylesheet" href="
http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css" />
        <script type="text/javascript" src="
http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.js"></script>
    </head>
    <body>
        <div data-role="page" id="homepage" data-position="fixed">
            <div data-role="header">
                <h1>button按钮</h1>
            </div>
            <div data-role="content">
                <a data-role="button" data-icon="home" data-theme="a" href="#">首页</a>
                <a data-role="button" data-icon="arrow-l" data-theme="a" href="#">左箭头</a>
                <a data-role="button" data-icon="arrow-r" data-theme="a" href="#">右箭头</a>
                <a data-role="button" data-icon="arrow-u" data-theme="a" href="#">上箭头</a>
                <a data-role="button" data-icon="arrow-d" data-theme="a" href="#">下箭头</a>
                <a data-role="button" data-icon="delete" data-theme="a" href="#">删除</a>
                <a data-role="button" data-icon="plus" data-theme="a" href="#">加号</a>
                <a data-role="button" data-icon="minus" data-theme="a" href="#">减号</a>
                <a data-role="button" data-icon="check" data-theme="a" href="#">对号</a>
                <a data-role="button" data-icon="gear" data-theme="a" href="#">齿轮</a>
                <a data-role="button" data-icon="refresh" data-theme="a" href="#">刷新</a>
                <a data-role="button" data-icon="forward" data-theme="a" href="#">前进</a>
                <a data-role="button" data-icon="back" data-theme="a" href="#">返回</a>
                <a data-role="button" data-icon="grid" data-theme="a" href="#">网格</a>
                <a data-role="button" data-icon="star" data-theme="a" href="#">星星</a>
                <a data-role="button" data-icon="alert" data-theme="a" href="#">提示</a>
                <a data-role="button" data-icon="info" data-theme="a" href="#">信息</a>
                <a data-role="button" data-icon="search" data-theme="a" href="#">查找</a>
            </div>
            <div data-role="footer" data-position="fixed">
                <h4>jQuery Mobile按钮事例</h4>
            </div>
         </div>
    </body>
</html>

效果:

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值