jquery-mobile/_events.html
scottjehl f9f236fb8b Big update:
In starting markup, pages should now be identified with the attribute data-role="page".  This allows us to then add ui-page programatically, hiding all non-active pages, and apply ui-page-active to one page at a time to show it.

mobile.js is updated to find pages by this attribute now, instead of ui-page class.

fixes issue 32
2010-09-18 12:20:35 -04:00

30 lines
No EOL
632 B
HTML

<?php /*gzip page*/ ob_start("ob_gzhandler"); ?>
<!DOCTYPE html>
<html>
<head>
<title>jQuery Mobile Framework - Event tests</title>
<link rel="stylesheet" type="text/css" href="css/all" />
<script type="text/javascript" src="js/all"></script>
</head>
<body>
<div data-role="page" >
<div class="ui-header">
<h1>Event tests</h1>
</div>
<div class="ui-content ui-body ui-body-c" style="height:2000px;">
<p>The following events will log out below when they fire: scrollstart scrollstop swipe swipeleft swiperight tap taphold turn.</p>
<div id="eventlogger"></div>
</div>
</div>
</body>
</html>