案例:jquery Mobile案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<link rel="stylesheet" href="/js/jquery.mobile-1.3.2.min.css">
5
<script src="/js/jquery-1.8.3.min.js"></script>
6
<script src="/js/jquery.mobile-1.3.2.min.js"></script>
7
</head>
8
<body>
9
10
<div data-role="page">
11
  <div data-role="header">
12
    <a href="#" data-role="button" data-icon="home">首页</a>
13
    <h1>欢迎访问我的主页</h1>
14
    <a href="#" data-role="button" data-icon="search">搜索</a>
15
  </div>
16
17
  <div data-role="content">
18
    <p>这些按钮仅供演示,无任何效果。</p>
19
  </div>
20
21
  <div data-role="footer" class="ui-btn">
22
    <div data-role="controlgroup" data-type="horizontal">
23
      <a href="#" data-role="button" data-icon="plus">转播到新浪微博</a>
24
      <a href="#" data-role="button" data-icon="plus">转播到腾讯微博</a>
25
      <a href="#" data-role="button" data-icon="plus">转播到QQ空间</a>
26
    </div>
27
  </div>
28
</div>
29
30
</body>
31
</html>
32