jQuery Mobile 弹出-创建按扭

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="http://apps.bdimg.com/libs/jquerymobile/1.4.2/jquery.mobile.min.css">
<script src="http://apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="http://apps.bdimg.com/libs/jquerymobile/1.4.2/jquery.mobile.min.js"></script>
</head>
<body>
<div data-role="page" id="pageone">
<div data-role="header">
<h1>按钮</h1>
</div>
<div data-role="content">
<a href="#home" data-role="button" data-inline="true" data-rel="dialog">主页</a>
<a href="#options" data-role="button" data-inline="true" data-rel="dialog">选项</a>
<a href="#search" data-role="button" data-inline="true" data-rel="dialog">搜索</a>
<a href="#pagetwo" data-role="button">下一页面</a>
<a href="#info" data-role="button" data-rel="dialog">信息</a>
</div>
<div data-role="footer">
<h1>底部文本</h1>
</div>
</div>
<div data-role="page" id="pagetwo">
<div data-role="header">
<h1>按钮</h1>
</div>
<div data-role="content">
<a href="#pageone" data-role="button" data-inline="true">返回</a>
<a href="#pageone" data-role="button">上一页</a>
<a href="#info" data-role="button" data-rel="dialog">信息</a>
</div>
<div data-role="footer">
<h1>底部文本</h1>
</div>
</div>
<div data-role="page" id="home">
<div data-role="header">
<h1>主页</h1>
</div>
<div data-role="content">
<p>家是心之所在!</p>
<a href="#pageone" data-role="button" data-inline="true">返回</a>
</div>
<div data-role="footer">
<h1>底部文本</h1>
</div>
</div>
<div data-role="page" id="options">
<div data-role="header">
<h1>选项</h1>
</div>
<div data-role="content">
<p>你点击了选项按钮!</p>
<a href="#pageone" data-role="button" data-inline="true">返回</a>
</div>
<div data-role="footer">
<h1>底部文本</h1>
</div>
</div>
<div data-role="page" id="search">
<div data-role="header">
<h1>Search</h1>
</div>
<div data-role="content">
<p>没有搜索内容!</p>
<a href="#pageone" data-role="button" data-inline="true">返回</a>
</div>
<div data-role="footer">
<h1>底部文本</h1>
</div>
</div>
<div data-role="page" id="info">
<div data-role="header">
<h1>信息</h1>
</div>
<div data-role="content">
<p>jQuery Mobile 很有意思!</p>
</div>
<div data-role="footer">
<h1>底部文本</h1>
</div>
</div>




</body>
</html>

你可能感兴趣的:(jquery,搜索,mobile,stylesheet)