HTML5 经量级框架 jQuery Mobile (多视图页面 ,视图切换动画,dialog 对话框,页面主题) - 7.3
2013-05-24 10:43
525 查看
1.多视图页面 <section data-role="page" id="firstview" data-title="第一个视图">
2.视图切换动画 <a href="#secondview" data-rel="dialog" data-transition="pop"> pop slide slideup slidedown fade flip
3.dialog 对话框 <a href="#secondview" data-rel="dialog" data-transition="pop">
4.页面主题 <section data-role="page" id="firstview" data-title="第一个视图" data-theme="a">
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>PhoneGap</title>
<link rel="stylesheet" href="jquery.mobile-1.3.1.css">
<script type="text/javascript" charset="utf-8" src="jquery-1.9.0.min.js"></script>
<script type="text/javascript" charset="utf-8" src="jquery.mobile-1.3.1.js"></script>
</head>
<body>
<section data-role="page" id="firstview" data-title="第一个视图" data-theme="a">
<header data-role="header" data-theme="b"><h1>第一个视图</h1></header>
<article data-role="content"><a href="#secondview" data-rel="dialog" data-transition="pop">切换到第二个View</a></article>
<footer data-role="footer" data-theme="c"><h1>页脚</h1></footer>
</section>
<section data-role="page" id="secondview" data-title="第二个视图">
<header data-role="header">第二个视图</header>
<article data-role="content"><a href="#firstview" data-transition="flip">切换到第一个View</a></article>
<footer data-role="footer">页脚</footer>
</section>
</body>
</html>
相关文章推荐
- HTML5 经量级框架 jQuery Mobile 视图与页面 - 7.2
- HTML5 经量级框架 jQuery Mobile 视图与页面 - 7.2
- HTML5 经量级框架 jQuery Mobile (配置选项,Enent 事件,主题系统) - 7.9
- iOS 视图控制器转场动画/页面切换效果/跳转动画 学习
- html5各种页面切换效果和模态对话框
- html5各种页面切换效果和模态对话框
- HTML5 经量级框架 jQuery Mobile 内容格式布局,折叠块内容 - 7.6
- HTML5 经量级框架 jQuery Mobile Form 表单 - 7.7
- html5各种页面切换效果和模态对话框
- html5各种页面切换效果和模态对话框
- 小强的HTML5移动开发之路(47)——jquery mobile基本的页面框架
- 小强的HTML5移动开发之路(47)——jquery mobile基本的页面框架
- MUI框架开发HTML5手机APP(二)--页面跳转传值&底部选项卡切换
- HTML5 经量级框架 jQuery Mobile - 7.1
- 角色功能HTML5 经量级框架 jQuery Mobile - 7.1
- HTML5+CSS3构建同页面表单间的动画切换
- 使用 jQuery Mobile 与 HTML5 开发 Web App(九) —— jQuery Mobile 页面与对话框
- HTML5 经量级框架 jQuery Mobile (Button,Icon,分组功能button,具有内联样式的button) - 7.4
- jQuery Mobile 页面切换动画的使用(data-transition)
- jQuery Mobile 页面切换动画的使用(data-transition)