> JQuery UI中文在线手册 > 头部和尾部的主题按钮
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" href="Http://apps.bdimg.com/libs/jquerymobile/1.4.2/jquery.mobile.min.CSS">
<script src="//apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="//apps.bdimg.com/libs/jquerymobile/1.4.2/jquery.mobile.min.js"></script>
</head>
<body>

<div data-role="page" id="pageone">
  <div data-role="header">
    <a href="#" data-role="button" data-icon="home" data-theme="b">首页</a>
    <h1>欢迎来到我的主页</h1>
    <a href="#" data-role="button" data-icon="search" data-theme="e">搜索</a>
  </div>

  <div data-role="content">
   <p>此处是内容...</p>
  </div>

  <div data-role="footer">
    <a href="#" data-role="button" data-theme="b" data-icon="plus">在Facebook上关注我</a>
    <a href="#" data-role="button" data-theme="c" data-icon="plus">在Twitter上关注我</a>
    <a href="#" data-role="button" data-theme="e" data-icon="plus">在Instagram上关注我</a>
  </div>
</div> 

</body>
</html>
			
上一篇:
下一篇: