mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-17 06:20:26 +00:00
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
32 lines
No EOL
651 B
HTML
32 lines
No EOL
651 B
HTML
<?php /*gzip page*/ ob_start("ob_gzhandler"); ?>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>jQuery Mobile Framework - Fixed Overlay Style Toolbars</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>Fixed Header</h1>
|
|
<a href="index.html" class="ui-back" data-icon="arrow-l">Home</a>
|
|
</div>
|
|
|
|
<div class="ui-content ui-fullscreen">
|
|
|
|
<img src="experiments/photos/images/photo-sand.jpeg" alt="photo-sand" />
|
|
|
|
</div>
|
|
|
|
<div class="ui-footer">
|
|
<h1>Fixed Footer</h1>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html> |