Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
eee613d
Increase y axis threshold on swiping from 20 to 75
davepenfold Oct 31, 2010
3d92420
fixed is() selector
hochi Oct 22, 2010
bd8f838
used indexOf instead of match.
Oct 22, 2010
6d122f2
moved the base tag check call to within the support extend.
Oct 22, 2010
576676f
e vs event. Fixed.
Oct 22, 2010
3335bc6
used click in place of tap
Oct 22, 2010
e29df93
click instead of tap
Oct 22, 2010
c2e8f31
fixed icon positioning.
Oct 22, 2010
4e6fe74
Used triggerHandler instead of trigger to allow collapsibles to be em…
Oct 23, 2010
893115a
fixed css references in markup
Oct 23, 2010
f7fe113
added support for grouped collapsibles that make accordions. Parent e…
Oct 23, 2010
8264f91
typo
Oct 23, 2010
e7a1f3d
Removed the ajaxClick function and moved its logic into the live clic…
Oct 23, 2010
5e7fb69
whitespace
Oct 24, 2010
57bf804
made default breakpoints non-overrideable and exposed function $.mobi…
Oct 24, 2010
13add4c
made sure empty min/max breakpoint classes aren't added
Oct 24, 2010
db99385
fixed typo in where the blank space was added.
Oct 25, 2010
1a614ca
added px suffix to all media-min/max classes. Updated CSS usage to ma…
Oct 25, 2010
8668a50
duplicate id
Oct 25, 2010
4dcf97b
add/remove active class on clicked link.
Oct 25, 2010
c0dbbea
removed a console.log
Oct 25, 2010
46267a2
fixed path to google compiler in Makefile
Oct 25, 2010
a4d09a7
fixed up the demo so it works with our current events anyway
Oct 26, 2010
b9960e3
Add missing commas in button styles.
beausmith Oct 26, 2010
efdd82f
Removing un-necessary specificity from .ui-checkbox and .ui-radio sty…
beausmith Oct 26, 2010
968e7a2
fixed aside elements being displayed multiple times per list item
karanbhangui Oct 25, 2010
19b8a54
this keyword gets overwritten by jQuery.each
Oct 25, 2010
dcece3e
removed title attr, as aria role handling seems to be descriptive enough
Oct 27, 2010
210ee2b
moved append to before the buttonMarkup call, to make theming work as…
Oct 27, 2010
3a92e07
commented-out the call to _numberItems, as it doesn't yet exist in th…
Oct 27, 2010
915a8a3
Fixed broken <code> element.
littke Oct 27, 2010
efe7ef1
simplified attr get/check
Oct 27, 2010
d625168
updated regexp to test for protocol or # at beginning of url.
Oct 27, 2010
7b5730c
removed nullLink var
Oct 27, 2010
baf9969
used cached version of $this
Oct 27, 2010
d87aa6b
removed a few chars from condition. Thx @jeffreyway for suggestions o…
Oct 27, 2010
0e6eb3a
made sure local # urls go through the regular page nav path, and only…
Oct 27, 2010
c983bea
moved active class removal code into function - now called after ajax…
Oct 27, 2010
9db9de2
moved line where # is removed to prevent base url prefixing on local …
Oct 27, 2010
664730e
converted customButton plugin to widget factory (note: this is just t…
Oct 28, 2010
b1d03c6
added check to make sure active link isn't in the new activepage (suc…
Oct 28, 2010
6fb1d2a
rewrote navbar with widget factory
Oct 28, 2010
79be25f
rewrote checkboxradio to use widget factory. renamed method checkboxr…
Oct 28, 2010
f32093c
changed disabled class to ui-disabled, dropping the "state" portion t…
Oct 28, 2010
ed09974
added support for enable and disable methods
Oct 28, 2010
0235bb9
Small improvement to keep from querying the DOM more than once for th…
JeffreyWay Oct 28, 2010
812568c
changed #fff to #ffffff in ui-body-b and ui-body-e because IE has iss…
Oct 28, 2010
0e8e2cf
Fixed #117
jblas Oct 29, 2010
72bc530
Fixed 138 - transition: fix flip (and cube?)
jblas Oct 29, 2010
df40dab
Narrowed down first-load transition issue to ui-loading class.
Oct 31, 2010
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ mobile:

min: mobile
@@head -8 js/jquery.mobile.js > ${MIN}
@@java -jar ../jquery/build/google-compiler-20100917.jar --js ${MAX} --warning_level QUIET --js_output_file ${MIN}.tmp
@@java -jar build/google-compiler-20100917.jar --js ${MAX} --warning_level QUIET --js_output_file ${MIN}.tmp
@@cat ${MIN}.tmp >> ${MIN}
@@rm -f ${MIN}.tmp

Expand Down
2 changes: 1 addition & 1 deletion docs/content/api-content.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>jQuery Mobile Docs - Content formatting</title>
<link rel="stylesheet" href="../../css/all" />
<link rel="stylesheet" href="../../themes/default" />
<script type="text/javascript" src="../../js/all"></script>
</head>
<body>
Expand Down
28 changes: 26 additions & 2 deletions docs/content/content-collapsible.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
<html>
<head>
<title>jQuery Mobile Docs - Content formatting</title>
<link rel="stylesheet" href="../../css/all" />
<link rel="stylesheet" href="../../themes/default" />
<script type="text/javascript" src="../../js/all"></script>
<script type="text/javascript" src="../docs/docs.js"></script>


</head>
Expand Down Expand Up @@ -102,8 +101,33 @@ <h3>Section 4: Collapsed list</h3>
</ul>
</div><!-- /section 4 -->

<h2>Nested Collapsibles</h2>
<div data-role="collapsible">
<h3>I'm a header</h3>
<p>I'm the collapsible content. By default I'm open and displayed on the page, but you can click the header to hide me.</p>
<div data-role="collapsible">
<h3>I'm a nested collapsible header</h3>
<p>I'm the collapsible content. By default I'm open and displayed on the page, but you can click the header to hide me.</p>
</div>
</div>

<h2>Collapsible sets</h2>
<p>By giving a parent element a data-role of collapsible-set, you can cause other collapsibles within that parent to close whenever a new one is opened, acting like an accordion widget:</p>

<div data-role="collapsible-set">
<div data-role="collapsible">
<h3>I'm a header in a set of collapsibles</h3>
<p>I'm the collapsible content. I'm hidden by default because I have the "collapsed" state; you need to expand the header to see me.</p>
</div>
<div data-role="collapsible" data-state="collapsed">
<h3>I'm a header in a set of collapsibles</h3>
<p>I'm the collapsible content. I'm hidden by default because I have the "collapsed" state; you need to expand the header to see me.</p>
</div>
<div data-role="collapsible" data-state="collapsed">
<h3>I'm a header in a set of collapsibles</h3>
<p>I'm the collapsible content. I'm hidden by default because I have the "collapsed" state; you need to expand the header to see me.</p>
</div>
</div>


</div><!-- /content -->
Expand Down
2 changes: 1 addition & 1 deletion docs/content/content-grids.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>jQuery Mobile Docs - Content formatting</title>
<link rel="stylesheet" href="../../css/all" />
<link rel="stylesheet" href="../../themes/default" />
<script type="text/javascript" src="../../js/all"></script>
<script type="text/javascript" src="../docs/docs.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion docs/content/content-html.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>jQuery Mobile Docs - Content formatting</title>
<link rel="stylesheet" href="../../css/all" />
<link rel="stylesheet" href="../../themes/default" />
<script type="text/javascript" src="../../js/all"></script>
<script type="text/javascript" src="../docs/docs.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion docs/content/content-themes.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>jQuery Mobile Docs - Content formatting</title>
<link rel="stylesheet" href="../../css/all" />
<link rel="stylesheet" href="../../themes/default" />
<script type="text/javascript" src="../../js/all"></script>
<script type="text/javascript" src="../docs/docs.js"></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion docs/content/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>jQuery Mobile Docs - Content formatting</title>
<link rel="stylesheet" href="../../css/all" />
<link rel="stylesheet" href="../../themes/default" />
<script type="text/javascript" src="../../js/all"></script>
<script type="text/javascript" src="../docs/docs.js"></script>
</head>
Expand Down
5 changes: 2 additions & 3 deletions docs/forms/forms-all.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<title>jQuery Mobile Docs - Forms</title>
<link rel="stylesheet" href="../../themes/default" />
<script type="text/javascript" src="../../js/all"></script>
<script type="text/javascript" src="../docs/docs.js"></script>
</head>
<body>

Expand All @@ -30,8 +29,8 @@ <h2>Form elements</h2>
</div>

<div data-role="fieldcontain">
<label for="name">Password:</label>
<input type="password" name="name" id="name" value="" />
<label for="password">Password:</label>
<input type="password" name="password" id="password" value="" />
</div>

<div data-role="fieldcontain">
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/dialog-alt.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>jQuery Mobile Framework - Dialog Example</title>
<link rel="stylesheet" href="../../css/all" />
<link rel="stylesheet" href="../../themes/default" />
<script type="text/javascript" src="../../js/all"></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/dialog-buttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>jQuery Mobile Framework - Dialog Example</title>
<link rel="stylesheet" href="../../css/all" />
<link rel="stylesheet" href="../../themes/default" />
<script type="text/javascript" src="../../js/all"></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/dialog-success.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>jQuery Mobile Framework - Dialog Example</title>
<link rel="stylesheet" href="../../css/all" />
<link rel="stylesheet" href="../../themes/default" />
<script type="text/javascript" src="../../js/all"></script>
</head>
<body>
Expand Down
40 changes: 40 additions & 0 deletions docs/pages/docs-link-scenarios.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<title>jQuery Mobile Docs - Pages</title>
<link rel="stylesheet" href="../../themes/default" />
<script type="text/javascript" src="../../js/all"></script>
</head>
<body>

<div data-role="page">

<div data-role="header">
<h1>Linking pages</h1>
</div><!-- /header -->

<div data-role="content">

<p>jQuery Mobile is designed to work with simple page linking conventions. The following list demonstrates how different types of links will be handled, either remotely or through an Ajax Request.</p>

<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b">
<li data-role="list-divider">Examples of links that work within a single-page (if the page exists)</li>
<li><a href="docs/pages/index.html">[href="docs/pages/index.html"]</a></li>
<li><a href="/docs/toolbars/index.html">[href="/docs/toolbars/index.html"]</a></li>
<li><a href="#somelocalID">[href="#somelocalID"]</a></li>
<li>Note: an full URL to the same-domain will also work</li>
<li data-role="list-divider">Examples of links that trigger a refresh</li>
<li><a href="docs/pages/index.html" rel="external">[rel="external"]</a></li>
<li><a href="docs/pages/index.html" target="_blank">[target="_blank"]</a></li>
<li><a href="mailto:john@doe.com">[href="mailto:john@doe.com"]</a></li>
<li><a href="tel:543-434-3454">[href="tel:543-434-3454"]</a></li>
<li><a href="http://google.com">[href="http://google.com"]</a></li>
<li data-role="list-divider">Links that return false</li>
<li><a href="#">[href="#"]</a></li>
</ul>

</div><!-- /content -->
</div><!-- /page -->

</body>
</html>
6 changes: 3 additions & 3 deletions docs/pages/transition-success.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>jQuery Mobile Framework - Dialog Example</title>
<link rel="stylesheet" href="../../css/all" />
<link rel="stylesheet" href="../../themes/default" />
<script type="text/javascript" src="../../js/all"></script>
</head>
<body>
Expand All @@ -14,7 +14,7 @@ <h1>Ta-da!</h1>
</div><!-- /header -->

<div data-role="content">
<p>That was an animated page transition effect that we added with a <class>code> data-transition</code> attribute on the link.</p>
<p>That was an animated page transition effect that we added with a <code>data-transition</code> attribute on the link.</p>
<p>Since it uses CSS transforms, this should be hardware accelerated on many mobile devices.</p>
<p>What do you think?</p>
<a href="docs-transitions.html" data-role="button" data-theme="b">I like it</a>
Expand All @@ -23,4 +23,4 @@ <h1>Ta-da!</h1>


</body>
</html>
</html>
16 changes: 7 additions & 9 deletions experiments/photos/_photo2.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,27 @@
<title>jQuery Mobile Framework - Photo 1</title>
<link rel="stylesheet" href="../../themes/default" />
<script type="text/javascript" src="../../js/all"></script>
<link rel="stylesheet" href="photos.css" />
<script type="text/javascript" src="photos.js"></script>
</head>
<body>

<div data-role="page" data-fullscreen="true">
<link rel="stylesheet" href="photos.css" />
<script type="text/javascript" src="photos.js"></script>
<div data-role="page" data-fullscreen="true" class="photoview">

<div data-role="header" id="">
<h1>A canoe</h1>

</div>

<div data-role="content" class="photoview">
<div data-role="content" >

<a href="_photo3.html">
<img src="images/photo-canoe.jpeg" alt="photo-canoe" />
</a>
<img src="images/photo-canoe.jpeg" alt="photo-canoe" />

</div>

<div class="ui-footer ui-bar-a">
<a href="_photo1.html">Prev</a>
<a href="_photo3.html">Next</a>
<a href="index.html" class="prev">Prev</a>
<a href="_photo3.html" class="next">Next</a>
</div>


Expand Down
16 changes: 7 additions & 9 deletions experiments/photos/_photo3.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,27 @@
<title>jQuery Mobile Framework - Photo 1</title>
<link rel="stylesheet" href="../../themes/default" />
<script type="text/javascript" src="../../js/all"></script>
<link rel="stylesheet" href="photos.css" />
<script type="text/javascript" src="photos.js"></script>
</head>
<body>

<div data-role="page" data-fullscreen="true">
<link rel="stylesheet" href="photos.css" />
<script type="text/javascript" src="photos.js"></script>
<div data-role="page" data-fullscreen="true" class="photoview">

<div data-role="header" id="photoview">
<h1>A dock</h1>

</div>

<div data-role="content" class="photoview">
<div data-role="content" >

<a href="_photo4.html">
<img src="images/photo-dock.jpeg" alt="photo-dock" />
</a>
<img src="images/photo-dock.jpeg" alt="photo-dock" />

</div>

<div class="ui-footer ui-bar-a">
<a href="_photo2.html">Prev</a>
<a href="_photo4.html">Next</a>
<a href="_photo2.html" class="prev">Prev</a>
<a href="_photo4.html" class="next">Next</a>
</div>


Expand Down
16 changes: 7 additions & 9 deletions experiments/photos/_photo4.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,27 @@
<title>jQuery Mobile Framework - Photo 1</title>
<link rel="stylesheet" href="../../themes/default" />
<script type="text/javascript" src="../../js/all"></script>
<link rel="stylesheet" href="photos.css" />
<script type="text/javascript" src="photos.js"></script>
</head>
<body>

<div data-role="page" data-fullscreen="true">
<link rel="stylesheet" href="photos.css" />
<script type="text/javascript" src="photos.js"></script>
<div data-role="page" data-fullscreen="true" class="photoview">

<div data-role="header">
<h1>A kayak</h1>

</div>

<div data-role="content" class="photoview">
<div data-role="content" >

<a href="_photo5.html">
<img src="images/photo-kayak.jpeg" alt="photo-kayak" />
</a>
<img src="images/photo-kayak.jpeg" alt="photo-kayak" />

</div>

<div class="ui-footer ui-bar-a">
<a href="_photo3.html">Prev</a>
<a href="_photo5.html">Next</a>
<a href="_photo3.html" class="prev">Prev</a>
<a href="_photo5.html" class="next">Next</a>
</div>


Expand Down
16 changes: 7 additions & 9 deletions experiments/photos/_photo5.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,26 @@
<title>jQuery Mobile Framework - Photo 1</title>
<link rel="stylesheet" href="../../themes/default" />
<script type="text/javascript" src="../../js/all"></script>
<link rel="stylesheet" href="photos.css" />
<script type="text/javascript" src="photos.js"></script>
</head>
<body>

<div data-role="page" data-fullscreen="true">
<link rel="stylesheet" href="photos.css" />
<script type="text/javascript" src="photos.js"></script>
<div data-role="page" data-fullscreen="true" class="photoview">
<div data-role="header">
<h1>Nathan running</h1>

</div>

<div data-role="content" class="photoview">
<div data-role="content" >

<a href="_photo6.html">
<img src="images/photo-run.jpeg" alt="photo-run" />
</a>
<img src="images/photo-run.jpeg" alt="photo-run" />

</div>

<div class="ui-footer ui-bar-a">
<a href="_photo4.html">Prev</a>
<a href="_photo6.html">Next</a>
<a href="_photo4.html" class="prev">Prev</a>
<a href="_photo6.html" class="next">Next</a>
</div>


Expand Down
15 changes: 7 additions & 8 deletions experiments/photos/_photo6.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,26 @@
<title>jQuery Mobile Framework - Photo 1</title>
<link rel="stylesheet" href="../../themes/default" />
<script type="text/javascript" src="../../js/all"></script>
<link rel="stylesheet" href="photos.css" />
<script type="text/javascript" src="photos.js"></script>
</head>
<body>

<div data-role="page" data-fullscreen="true">
<link rel="stylesheet" href="photos.css" />
<script type="text/javascript" src="photos.js"></script>
<div data-role="page" data-fullscreen="true" class="photoview">
<div data-role="header">
<h1>Sandy beach</h1>

</div>

<div data-role="content" class="photoview">
<div data-role="content" >

<a href="_photo7.html">
<img src="images/photo-sand.jpeg" alt="photo-sand" />
</a>
<img src="images/photo-sand.jpeg" alt="photo-sand" />

</div>

<div class="ui-footer ui-bar-a">
<a href="_photo5.html">Prev</a>
<a href="_photo5.html" class="prev">Prev</a>
<a href="index.html" class="next">First</a>
</div>


Expand Down
Loading