案例:jquery Mobile案例     状态:可编辑再运行    进入横版
x
  <a href="#" data-role="button" data-inline="true" data-shadow="false">按钮 1</a>
 
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
  <h1>data-shadow 实例</h1>
13
  </div>
14
15
  <div data-role="content">
16
  <h3>注释:默认地,按钮带有阴影。</h3>
17
  <p>带有和不带有阴影的按钮:</p>
18
  <a href="#" data-role="button">按钮 1</a>
19
  <a href="#" data-role="button" data-shadow="false">按钮 2</a>
20
  <br>
21
  
22
  <p>带有和不带有阴影的行内按钮:</p>
23
  <a href="#" data-role="button" data-inline="true">按钮 1</a>
24
  <a href="#" data-role="button" data-inline="true">按钮 2</a>

 运行结果 
 北美留学生论坛