1 |
- <!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Slide Animation - jQuery EasyUI Mobile Demo</title>
<link rel="stylesheet" type="text/css" href="../../themes/metro/easyui.css">
<link rel="stylesheet" type="text/css" href="../../themes/mobile.css">
<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
<script type="text/javascript" src="../../jquery.min.js"></script>
<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
<script type="text/javascript" src="../../jquery.easyui.mobile.js"></script>
</head>
<body>
<div class="easyui-navpanel">
<header>
<div class="m-toolbar">
<span class="m-title">Slide Animation</span>
</div>
</header>
<ul class="m-list">
<li><a href="#p2" data-options="animation:'slide',direction:'left'">Slide Left</a></li>
<li><a href="#p2" data-options="animation:'slide',direction:'right'">Slide Right</a></li>
<li><a href="#p2" data-options="animation:'slide',direction:'up'">Slide Up</a></li>
<li><a href="#p2" data-options="animation:'slide',direction:'down'">Slide Down</a></li>
</ul>
</div>
<div id="p2" class="easyui-navpanel">
<header>
<div class="m-toolbar">
<div class="m-left">
<a href="#" class="easyui-linkbutton m-back" data-options="plain:true,outline:true,back:true">Back</a>
</div>
<div class="m-title">Panel2</div>
</div>
</header>
<div style="padding:10px">
<p>Panel2 Content.</p>
</div>
</div>
</body>
</html>
|