案例: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" id="pageone">
11
  <div data-role="header">
12
    <a href="#" data-role="button" data-icon="home" data-theme="b">首页</a>
13
    <h1>欢迎来到我的主页</h1>
14
    <a href="#" data-role="button" data-icon="search" data-theme="e">搜索</a>
15
  </div>
16
17
  <div data-role="content">
18
   <p>此处是内容...</p>
19
  </div>
20
21
  <div data-role="footer">
22
    <a href="#" data-role="button" data-theme="b" data-icon="plus">转播到新浪微博</a>
23
    <a href="#" data-role="button" data-theme="c" data-icon="plus">转播到腾讯微博</a>
24
    <a href="#" data-role="button" data-theme="e" data-icon="plus">转播到 QQ 空间</a>
25
  </div>
26
</div> 
27
28
</body>
29
</html>
30