Browse Source

new example of a interactive ordered list

master
T. Meissner 11 years ago
parent
commit
5c20f1b36e
1 changed files with 30 additions and 0 deletions
  1. +30
    -0
      ch03_21.html

+ 30
- 0
ch03_21.html View File

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>My first jQuery Mobile code</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css">
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div data-role="page" id="home">
<div data-role="header">
<h1>interactive (ordered) list</h1>
</div>
<div data-role="content">
<ol data-role="listview">
<li><a href="#page2">Internal page link</a></li>
<li data-icon="info"><a href="other.html">External page link</a></li>
<li data-icon="help"><a href="http://mobilexweb.com">Absolute external link</a></li>
<li><a href="tel:+123456789">Call to a phone number using a link</a></li>
<li data-icon="false"><a href="javascript:alert('Hi!')">JavaScript link</a></li>
</ol>
</div>
<div data-role="footer">
<h1>www.goodcleanfun.de</h1>
</div>
</div>
</body>
</html>

Loading…
Cancel
Save