mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-17 06:20:26 +00:00
This version supports simulated scrolling via the CSS3 transform property by default, but also supports an option for positioning the old-fashioned way with top and left properties. Still some code clean-up to do, but folks can start playing with it. Some items/issues left to look into: - Experiment with event delegation so we can implement nested scrollviews. - Implement scroll direction locking. - Decide whether to conditionally inject clip/view markup. - Decide on final ui class names. - Decide on how scrolling behavior is actually invoked. (data-* attribute or class) - Decide on final set of notifications we'll need to fire off. - Add an API so that scroll position can be adjusted after a resize/orientation change. - Documentation that describes potential problems with performance, memory usage, etc, and workarounds.
57 lines
2.1 KiB
HTML
57 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>jQuery Mobile: Demos and Documentation</title>
|
|
<link rel="stylesheet" href="../../themes/default" />
|
|
<link rel="stylesheet" href="jquery.mobile.scrollview.css" />
|
|
<link rel="stylesheet" href="../../docs/_assets/css/jqm-docs.css" />
|
|
<style type="text/css">
|
|
.ui-content.ui-scrollview-clip {
|
|
padding: 0;
|
|
}
|
|
.ui-content.ui-scrollview-clip > div.ui-scrollview-view {
|
|
margin: 0;
|
|
padding: 15px;
|
|
}
|
|
.ui-content.ui-scrollview-clip > .ui-listview.ui-scrollview-view {
|
|
margin: 0;
|
|
}
|
|
</style>
|
|
<script src="../../js"></script>
|
|
<script src="jquery.easing.1.3.js"></script>
|
|
<script src="jquery.mobile.scrollview.js"></script>
|
|
<script src="scrollview.js"></script>
|
|
<script src="../themeswitcher/jquery.mobile.themeswitcher.js"></script>
|
|
<script src="../../docs/_assets/js/jqm-docs.js"></script>
|
|
</head>
|
|
<body>
|
|
<div data-role="page" data-theme="b" id="jqm-home">
|
|
<div id="jqm-homeheader">
|
|
<h1 id="jqm-logo"><img src="../../docs/_assets/images/jquery-logo.png" alt="jQuery Mobile Framework" width="235" height="61" /></h1>
|
|
<p>A few examples tweaked to make use of the scrollview component.</p>
|
|
<p id="jqm-version">Alpha Release</p>
|
|
</div>
|
|
|
|
<div data-role="content">
|
|
|
|
<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b">
|
|
<li data-role="list-divider">Toolbars</li>
|
|
<li><a href="../../docs/toolbars/footer-persist-a.html">Persistent footer nav bar (a)</a></li>
|
|
<li><a href="../../docs/toolbars/footer-persist-b.html">Persistent footer nav bar (b)</a></li>
|
|
<li><a href="../../docs/toolbars/footer-persist-c.html">Persistent footer nav bar (c)</a></li>
|
|
</ul>
|
|
|
|
<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b">
|
|
<li data-role="list-divider">List Views</li>
|
|
<li><a href="lists-divider.html">Sticky list dividers</a></li>
|
|
</ul>
|
|
|
|
<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b">
|
|
<li data-role="list-divider">Forms</li>
|
|
<li><a href="../../docs/forms/forms-all.html">Form element gallery</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|