Setup slideup data-transition
Description
The following code shows how to setup slideup data-transition.
Example
<!--from w w w .j av a 2 s.c om-->
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.6.js'></script>
<script type='text/javascript'
src="http://code.jquery.com/mobile/latest/jquery.mobile.min.js"></script>
<link rel="stylesheet" type="text/css"
href="http://code.jquery.com/mobile/latest/jquery.mobile.min.css">
</head>
<body>
<div data-role="page" id="p1">
<div data-role="header">
<h1>Header Page 1</h1>
</div>
<div data-role="content">
If you click this button, this page will be hidden and the next page
will slide up. <a href="#p2" data-role="button"
data-transition="slideup">Go To Page 2</a>
</div>
</div>
<div data-role="page" id="p2">
<div data-role="header" data-rel="back">
<h1>Header Page 2</h1>
</div>
<div data-role="content">
<p>This is page2</p>
<a href="#p3" data-role="button" data-transition="slideup">Go To
Page 3</a>
</div>
</div>
<div data-role="page" id="p3">
<div data-role="header" data-rel="back">
<h1>Header Page 3</h1>
</div>
<div data-role="content">
<p>This is page3</p>
</div>
</div>
</body>
</html>