2.0_beta sync to rsa
[framework/web/web-ui-fw.git] / libs / js / jquery-mobile-1.1.0 / tests / functional / addrbar.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4         <meta charset="utf-8">
5         <meta name="viewport" content="width=device-width, initial-scale=1">
6         <title>jQuery Mobile: Event Logger</title>
7         <link rel="stylesheet"  href="../../css/themes/default/jquery.mobile.css" />
8         <link rel="stylesheet" href="../../docs/_assets/css/jqm-docs.css" />
9         <script src="../../js/jquery.tag.inserter.js"></script>
10         <script src="../../js/jquery.js"></script>
11         <script src="../../docs/_assets/js/jqm-docs.js"></script>
12         <script src="../../js/"></script>
13
14         <script>
15         $(function(){
16         $( "a" ).bind("tap click",function( e ){
17                         $("#log")
18                                 .prepend("<li>"+ e.type +" event; target: "+ e.target.nodeName +"</li>")
19                                 .listview("refresh");
20                         return false;
21                 })
22                 .bind("tap click", false);
23         });
24         </script>
25
26         <style>
27                 #jqm-home {
28                         height: 500px;
29                 }
30         </style>
31 </head>
32 <body>
33 <div  data-role="page"  data-theme="b" id="jqm-home">
34         <div  data-role="header">
35                 <h1>Event Logger</h1>
36         </div>
37
38         <div  data-role="content">
39                 <p>Touch events on this page will log out below, prepending to the top as they arrive.</p>
40
41                 <a href="foo.html"  data-role="button">Click me</a>
42
43                 <ul  data-role="listview" id="log">
44
45                 </ul>
46
47         </div>
48 </div>
49 </body>
50 </html>