15. 탭바
페이지 정보
작성자 관리자 댓글 0건 조회 1,061회 작성일 22-01-12 18:37본문
15. 탭바
실습 : jMobile35.html
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>제이쿼리 모바일 연습</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css" />
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
<script type="text/javascript">
</script>
</head>
<body>
<div data-role="page" id="page1">
<div data-role="header" data-position="fixed" id="header">
<h3>Page1</h3>
<div data-role="navbar" class="tabbar">
<ul>
<li><a href="#page1" class="ui-btn-active ui-state-persist">1page</a></li>
<li><a href="#page2">2page</a></li>
<li><a href="#page3">3page</a></li>
</ul>
</div>
</div>
<div role="main" class="ui-content">
<p>첫번째 페이지 입니다....</p>
</div>
<div data-role="footer" data-position="fixed">
<h3>jQuery</h3>
</div>
</div><!-- page1 -->
<div data-role="page" id="page2">
<div data-role="header" data-position="fixed" id="header">
<h3>Page2</h3>
<div data-role="navbar" class="tabbar">
<ul>
<li><a href="#page1">1page</a></li>
<li><a href="#page2" class="ui-btn-active ui-state-persist">2page</a></li>
<li><a href="#page3">3page</a></li>
</ul>
</div>
</div>
<div role="main" class="ui-content">
<p>두번째 페이지 입니다....</p>
</div>
<div data-role="footer" data-position="fixed">
<h3>jQuery</h3>
</div>
</div><!-- page2 -->
<div data-role="page" id="page3">
<div data-role="header" data-position="fixed" id="header">
<h3>Page3</h3>
<div data-role="navbar" class="tabbar">
<ul>
<li><a href="#page1">1page</a></li>
<li><a href="#page2">2page</a></li>
<li><a href="#page3" class="ui-btn-active ui-state-persist">3page</a></li>
</ul>
</div>
</div>
<div role="main" class="ui-content">
<p>세번째 페이지 입니다....</p>
</div>
<div data-role="footer" data-position="fixed">
<h3>jQuery</h3>
</div>
</div><!-- page3 -->
</body>
</html>
댓글목록
등록된 댓글이 없습니다.