案例: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
<button data-icon="arrow-l">左箭头</button>
16
<button data-icon="arrow-r">右箭头</button>
17
<button data-icon="arrow-u">上箭头</button>
18
<button data-icon="arrow-d">下箭头</button>
19
<button data-icon="plus"></button>
20
<button data-icon="minus"></button>
21
<button data-icon="delete">删除</button>
22
<button data-icon="check">检查</button>
23
<button data-icon="home">首页</button>
24
<button data-icon="info">信息</button>
25
<button data-icon="grid">网格</button>
26
<button data-icon="gear">齿轮</button>
27
<button data-icon="back">后退</button>
28
<button data-icon="forward">向前</button>
29
<button data-icon="refresh">刷新</button>
30
<button data-icon="star"></button>
31
<button data-icon="alert">提醒</button>
32
</div>
33
</div>
34
35
</body>
36
</html>