├── version.txt ├── experiments ├── converter │ ├── .htaccess │ ├── cache.manifest │ ├── converter.css │ └── storage.js ├── photos │ ├── photos.css │ ├── images │ │ ├── photo-run.jpeg │ │ ├── photo-canoe.jpeg │ │ ├── photo-dock.jpeg │ │ ├── photo-kayak.jpeg │ │ ├── photo-sand.jpeg │ │ └── photo-bridge.jpeg │ ├── photos.js │ ├── index.html │ ├── _photo5.html │ ├── _photo6.html │ ├── _photo4.html │ ├── _photo2.html │ └── _photo3.html ├── installedapp-assets │ ├── homeicon.png │ └── startscreen.png ├── navbar-glyphish │ └── glyphish-icons │ │ ├── 70-tv.png │ │ ├── 02-redo.png │ │ ├── 08-chat.png │ │ ├── 09-chat2.png │ │ ├── 102-walk.png │ │ ├── 103-map.png │ │ ├── 11-clock.png │ │ ├── 110-bug.png │ │ ├── 111-user.png │ │ ├── 117-todo.png │ │ ├── 12-eye.png │ │ ├── 125-food.png │ │ ├── 126-moon.png │ │ ├── 127-sock.png │ │ ├── 128-bone.png │ │ ├── 129-golf.png │ │ ├── 130-dice.png │ │ ├── 14-tag.png │ │ ├── 15-tags.png │ │ ├── 19-gear.png │ │ ├── 20-gear2.png │ │ ├── 21-skull.png │ │ ├── 23-bird.png │ │ ├── 24-gift.png │ │ ├── 28-star.png │ │ ├── 29-heart.png │ │ ├── 30-key.png │ │ ├── 31-ipod.png │ │ ├── 40-inbox.png │ │ ├── 47-fuel.png │ │ ├── 53-house.png │ │ ├── 54-lock.png │ │ ├── 56-cloud.png │ │ ├── 59-flag.png │ │ ├── 64-zap.png │ │ ├── 65-note.png │ │ ├── 72-pin.png │ │ ├── 73-radar.png │ │ ├── 75-phone.png │ │ ├── 76-baby.png │ │ ├── 77-ekg.png │ │ ├── 94-pill.png │ │ ├── 96-book.png │ │ ├── 01-refresh.png │ │ ├── 05-shuffle.png │ │ ├── 10-medical.png │ │ ├── 100-coffee.png │ │ ├── 105-piano.png │ │ ├── 108-badge.png │ │ ├── 112-group.png │ │ ├── 122-stats.png │ │ ├── 13-target.png │ │ ├── 25-weather.png │ │ ├── 26-bandaid.png │ │ ├── 27-planet.png │ │ ├── 32-iphone.png │ │ ├── 33-cabinet.png │ │ ├── 34-coffee.png │ │ ├── 36-toolbox.png │ │ ├── 42-photos.png │ │ ├── 44-shoebox.png │ │ ├── 45-movie1.png │ │ ├── 46-movie2.png │ │ ├── 49-battery.png │ │ ├── 50-beaker.png │ │ ├── 51-outlet.png │ │ ├── 55-network.png │ │ ├── 63-runner.png │ │ ├── 67-tshirt.png │ │ ├── 69-display.png │ │ ├── 71-compass.png │ │ ├── 82-dogpaw.png │ │ ├── 85-trophy.png │ │ ├── 86-camera.png │ │ ├── 88-beermug.png │ │ ├── 91-beaker2.png │ │ ├── 97-puzzle.png │ │ ├── 98-palette.png │ │ ├── 03-loopback.png │ │ ├── 04-squiggle.png │ │ ├── 07-map-marker.png │ │ ├── 101-gameplan.png │ │ ├── 106-sliders.png │ │ ├── 109-chicken.png │ │ ├── 114-balloon.png │ │ ├── 119-piggybank.png │ │ ├── 121-lanscape.png │ │ ├── 123-id-card.png │ │ ├── 124-bullhorn.png │ │ ├── 16-line-chart.png │ │ ├── 17-bar-chart.png │ │ ├── 18-envelope.png │ │ ├── 37-suitcase.png │ │ ├── 38-airplane.png │ │ ├── 39-spraycan.png │ │ ├── 43-film-roll.png │ │ ├── 52-pinetree.png │ │ ├── 57-download.png │ │ ├── 58-bookmark.png │ │ ├── 60-signpost.png │ │ ├── 61-brightness.png │ │ ├── 62-contrast.png │ │ ├── 66-microphone.png │ │ ├── 68-paperclip.png │ │ ├── 74-location.png │ │ ├── 78-stopwatch.png │ │ ├── 81-dashboard.png │ │ ├── 83-calendar.png │ │ ├── 84-lightbulb.png │ │ ├── 87-wineglass.png │ │ ├── 89-dumbbell.png │ │ ├── 90-lifebuoy.png │ │ ├── 92-testtube.png │ │ ├── 95-equalizer.png │ │ ├── 99-umbrella.png │ │ ├── 104-index-cards.png │ │ ├── 107-widescreen.png │ │ ├── 113-navigation.png │ │ ├── 116-controller.png │ │ ├── 118-coathanger.png │ │ ├── 120-headphones.png │ │ ├── 35-shopping-bag.png │ │ ├── 79-medical-bag.png │ │ ├── 93-thermometer.png │ │ ├── 115-bow-and-arrow.png │ │ ├── 41-picture-frame.png │ │ ├── 48-fork-and-knife.png │ │ ├── 80-shopping-cart.png │ │ ├── 06-magnifying-glass.png │ │ ├── 22-skull-n-crossbones.png │ │ └── Read me first - license.txt ├── progressbar │ └── _progressbar-static.html ├── api-viewer │ └── docs │ │ ├── jQuery.noop │ │ └── index.html │ │ ├── event.type │ │ └── index.html │ │ ├── event.data │ │ └── index.html │ │ ├── jQuery.error │ │ └── index.html │ │ ├── event.currentTarget │ │ └── index.html │ │ ├── event.isDefaultPrevented │ │ └── index.html │ │ ├── jQuery.isXMLDoc │ │ └── index.html │ │ ├── jQuery.isPlainObject │ │ └── index.html │ │ ├── event.relatedTarget │ │ └── index.html │ │ ├── jQuery.globalEval │ │ └── index.html │ │ ├── jQuery.contains │ │ └── index.html │ │ ├── jQuery.isEmptyObject │ │ └── index.html │ │ ├── header-selector │ │ └── index.html │ │ ├── last-selector │ │ └── index.html │ │ ├── event.result │ │ └── index.html │ │ ├── event.pageX │ │ └── index.html │ │ ├── event.pageY │ │ └── index.html │ │ ├── event.timeStamp │ │ └── index.html │ │ ├── has-selector │ │ └── index.html │ │ ├── attribute-ends-with-selector │ │ └── index.html │ │ ├── has-attribute-selector │ │ └── index.html │ │ ├── enabled-selector │ │ └── index.html │ │ ├── event.isPropagationStopped │ │ └── index.html │ │ ├── disabled-selector │ │ └── index.html │ │ ├── jQuery.isArray │ │ └── index.html │ │ ├── first-selector │ │ └── index.html │ │ ├── animated-selector │ │ └── index.html │ │ ├── contains-selector │ │ └── index.html │ │ ├── odd-selector │ │ └── index.html │ │ ├── even-selector │ │ └── index.html │ │ ├── multiple-attribute-selector │ │ └── index.html │ │ ├── jQuery.parseJSON │ │ └── index.html │ │ ├── attribute-starts-with-selector │ │ └── index.html │ │ ├── event.which │ │ └── index.html │ │ └── length │ │ └── index.html ├── ui-datepicker │ ├── jquery.ui.datepicker.css │ └── index.html └── themeswitcher │ └── jquery.mobile.themeswitcher.js ├── .gitignore ├── design ├── mobile-icons.ai └── mobile-logo.ai ├── docs ├── lists │ ├── images │ │ ├── de.png │ │ ├── fi.png │ │ ├── gb.png │ │ ├── gf.png │ │ ├── sj.png │ │ ├── us.png │ │ ├── album-af.jpg │ │ ├── album-ag.jpg │ │ ├── album-bb.jpg │ │ ├── album-bk.jpg │ │ ├── album-hc.jpg │ │ ├── album-k.jpg │ │ ├── album-mg.jpg │ │ ├── album-ok.jpg │ │ ├── album-p.jpg │ │ ├── album-rh.jpg │ │ ├── album-ws.jpg │ │ └── album-xx.jpg │ ├── api-lists.html │ ├── lists-split-purchase.html │ ├── lists-count.html │ ├── lists-readonly.html │ ├── lists-icons.html │ ├── lists-ul.html │ ├── lists-search.html │ ├── lists-ol.html │ └── index.html ├── _assets │ ├── images │ │ ├── version.png │ │ ├── ipad-palm.png │ │ ├── jqm-sitebg.png │ │ └── jquery-logo.png │ ├── js │ │ ├── jqm-docs.js │ │ └── _viewsource.js │ └── css │ │ └── jqm-docs.css ├── toolbars │ ├── images │ │ └── photo-run.jpeg │ ├── api-bars.html │ ├── index.html │ └── bars-fullscreen.html ├── about │ ├── index.html │ ├── accessibility.html │ ├── platforms.html │ └── intro.html ├── pages │ ├── dialog-success.html │ ├── page-template.html │ ├── api-pages.html │ ├── transition-success.html │ ├── dialog-buttons.html │ ├── dialog.html │ ├── dialog-alt.html │ ├── index.html │ ├── multipage-template.html │ ├── docs-link-scenarios.html │ └── docs-transitions.html ├── forms │ ├── forms-sample-response.php │ ├── api-forms.html │ ├── index.html │ └── forms-search.html ├── buttons │ ├── api-buttons.html │ ├── index.html │ └── buttons-inline.html ├── content │ ├── api-content.html │ └── index.html └── index.html ├── themes ├── default │ ├── images │ │ ├── ajax-loader.png │ │ ├── icon-delete.png │ │ ├── form-check-off.png │ │ ├── form-check-on.png │ │ ├── form-radio-off.png │ │ ├── form-radio-on.png │ │ ├── icons-18-black.png │ │ ├── icons-18-white.png │ │ ├── icons-36-black.png │ │ ├── icons-36-white.png │ │ ├── icon-minus-white.png │ │ ├── icon-plus-white.png │ │ ├── icon-arrow-white-up.png │ │ ├── icon-search-black.png │ │ ├── icon-arrow-white-down.png │ │ ├── icon-arrow-white-left.png │ │ └── icon-arrow-white-right.png │ ├── jquery.mobile.dialog.css │ ├── jquery.mobile.forms.fieldcontain.css │ ├── jquery.mobile.headerfooter.css │ ├── manifest.php │ ├── jquery.mobile.grids.css │ ├── jquery.mobile.forms.checkboxradio.css │ ├── jquery.mobile.collapsible.css │ ├── jquery.mobile.forms.select.css │ ├── jquery.mobile.forms.textinput.css │ ├── jquery.mobile.controlgroup.css │ ├── jquery.mobile.navbar.css │ └── jquery.mobile.forms.slider.css └── valencia │ ├── images │ ├── texture_05.png │ ├── ajax-loader.png │ ├── form-check-on.png │ ├── form-radio-on.png │ ├── icon-delete.png │ ├── texture_075.png │ ├── form-check-off.png │ ├── form-radio-off.png │ ├── icon-plus-white.png │ ├── icons-18-black.png │ ├── icons-18-white.png │ ├── icons-36-black.png │ ├── icons-36-white.png │ ├── icon-minus-white.png │ ├── icon-search-black.png │ ├── icon-arrow-white-up.png │ ├── icon-arrow-white-down.png │ ├── icon-arrow-white-left.png │ └── icon-arrow-white-right.png │ └── manifest.php ├── js ├── jquery.mobile.widget.js ├── jquery.mobile.fieldContain.js ├── manifest.php ├── jquery.mobile.grid.js ├── jquery.mobile.listview.filter.js ├── jquery.mobile.navbar.js ├── jquery.mobile.forms.button.js ├── jquery.mobile.dialog.js └── jquery.mobile.controlGroup.js ├── .htaccess └── README.md /version.txt: -------------------------------------------------------------------------------- 1 | 1.0a1 -------------------------------------------------------------------------------- /experiments/converter/.htaccess: -------------------------------------------------------------------------------- 1 | AddType text/cache-manifest .manifest -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .project 2 | *~ 3 | *.diff 4 | *.patch 5 | .DS_Store 6 | cache/ 7 | combined/ 8 | -------------------------------------------------------------------------------- /design/mobile-icons.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/design/mobile-icons.ai -------------------------------------------------------------------------------- /design/mobile-logo.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/design/mobile-logo.ai -------------------------------------------------------------------------------- /experiments/photos/photos.css: -------------------------------------------------------------------------------- 1 | .photoview .ui-content { padding: 0; } 2 | .photoview img { width: 100%; } -------------------------------------------------------------------------------- /docs/lists/images/de.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/lists/images/de.png -------------------------------------------------------------------------------- /docs/lists/images/fi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/lists/images/fi.png -------------------------------------------------------------------------------- /docs/lists/images/gb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/lists/images/gb.png -------------------------------------------------------------------------------- /docs/lists/images/gf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/lists/images/gf.png -------------------------------------------------------------------------------- /docs/lists/images/sj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/lists/images/sj.png -------------------------------------------------------------------------------- /docs/lists/images/us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/lists/images/us.png -------------------------------------------------------------------------------- /docs/lists/images/album-af.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/lists/images/album-af.jpg -------------------------------------------------------------------------------- /docs/lists/images/album-ag.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/lists/images/album-ag.jpg -------------------------------------------------------------------------------- /docs/lists/images/album-bb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/lists/images/album-bb.jpg -------------------------------------------------------------------------------- /docs/lists/images/album-bk.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/lists/images/album-bk.jpg -------------------------------------------------------------------------------- /docs/lists/images/album-hc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/lists/images/album-hc.jpg -------------------------------------------------------------------------------- /docs/lists/images/album-k.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/lists/images/album-k.jpg -------------------------------------------------------------------------------- /docs/lists/images/album-mg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/lists/images/album-mg.jpg -------------------------------------------------------------------------------- /docs/lists/images/album-ok.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/lists/images/album-ok.jpg -------------------------------------------------------------------------------- /docs/lists/images/album-p.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/lists/images/album-p.jpg -------------------------------------------------------------------------------- /docs/lists/images/album-rh.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/lists/images/album-rh.jpg -------------------------------------------------------------------------------- /docs/lists/images/album-ws.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/lists/images/album-ws.jpg -------------------------------------------------------------------------------- /docs/lists/images/album-xx.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/lists/images/album-xx.jpg -------------------------------------------------------------------------------- /docs/_assets/images/version.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/_assets/images/version.png -------------------------------------------------------------------------------- /docs/_assets/images/ipad-palm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/_assets/images/ipad-palm.png -------------------------------------------------------------------------------- /docs/_assets/images/jqm-sitebg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/_assets/images/jqm-sitebg.png -------------------------------------------------------------------------------- /docs/_assets/images/jquery-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/_assets/images/jquery-logo.png -------------------------------------------------------------------------------- /docs/toolbars/images/photo-run.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/docs/toolbars/images/photo-run.jpeg -------------------------------------------------------------------------------- /experiments/converter/cache.manifest: -------------------------------------------------------------------------------- 1 | CACHE MANIFEST 2 | index.html 3 | ../../themes/default 4 | ../../js/all 5 | jquery.tmpl.js -------------------------------------------------------------------------------- /themes/default/images/ajax-loader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/default/images/ajax-loader.png -------------------------------------------------------------------------------- /themes/default/images/icon-delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/default/images/icon-delete.png -------------------------------------------------------------------------------- /themes/valencia/images/texture_05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/valencia/images/texture_05.png -------------------------------------------------------------------------------- /experiments/photos/images/photo-run.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/photos/images/photo-run.jpeg -------------------------------------------------------------------------------- /themes/default/images/form-check-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/default/images/form-check-off.png -------------------------------------------------------------------------------- /themes/default/images/form-check-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/default/images/form-check-on.png -------------------------------------------------------------------------------- /themes/default/images/form-radio-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/default/images/form-radio-off.png -------------------------------------------------------------------------------- /themes/default/images/form-radio-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/default/images/form-radio-on.png -------------------------------------------------------------------------------- /themes/default/images/icons-18-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/default/images/icons-18-black.png -------------------------------------------------------------------------------- /themes/default/images/icons-18-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/default/images/icons-18-white.png -------------------------------------------------------------------------------- /themes/default/images/icons-36-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/default/images/icons-36-black.png -------------------------------------------------------------------------------- /themes/default/images/icons-36-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/default/images/icons-36-white.png -------------------------------------------------------------------------------- /themes/valencia/images/ajax-loader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/valencia/images/ajax-loader.png -------------------------------------------------------------------------------- /themes/valencia/images/form-check-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/valencia/images/form-check-on.png -------------------------------------------------------------------------------- /themes/valencia/images/form-radio-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/valencia/images/form-radio-on.png -------------------------------------------------------------------------------- /themes/valencia/images/icon-delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/valencia/images/icon-delete.png -------------------------------------------------------------------------------- /themes/valencia/images/texture_075.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/valencia/images/texture_075.png -------------------------------------------------------------------------------- /experiments/photos/images/photo-canoe.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/photos/images/photo-canoe.jpeg -------------------------------------------------------------------------------- /experiments/photos/images/photo-dock.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/photos/images/photo-dock.jpeg -------------------------------------------------------------------------------- /experiments/photos/images/photo-kayak.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/photos/images/photo-kayak.jpeg -------------------------------------------------------------------------------- /experiments/photos/images/photo-sand.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/photos/images/photo-sand.jpeg -------------------------------------------------------------------------------- /themes/default/images/icon-minus-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/default/images/icon-minus-white.png -------------------------------------------------------------------------------- /themes/default/images/icon-plus-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/default/images/icon-plus-white.png -------------------------------------------------------------------------------- /themes/valencia/images/form-check-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/valencia/images/form-check-off.png -------------------------------------------------------------------------------- /themes/valencia/images/form-radio-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/valencia/images/form-radio-off.png -------------------------------------------------------------------------------- /themes/valencia/images/icon-plus-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/valencia/images/icon-plus-white.png -------------------------------------------------------------------------------- /themes/valencia/images/icons-18-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/valencia/images/icons-18-black.png -------------------------------------------------------------------------------- /themes/valencia/images/icons-18-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/valencia/images/icons-18-white.png -------------------------------------------------------------------------------- /themes/valencia/images/icons-36-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/valencia/images/icons-36-black.png -------------------------------------------------------------------------------- /themes/valencia/images/icons-36-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/valencia/images/icons-36-white.png -------------------------------------------------------------------------------- /experiments/installedapp-assets/homeicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/installedapp-assets/homeicon.png -------------------------------------------------------------------------------- /experiments/photos/images/photo-bridge.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/photos/images/photo-bridge.jpeg -------------------------------------------------------------------------------- /themes/default/images/icon-arrow-white-up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/default/images/icon-arrow-white-up.png -------------------------------------------------------------------------------- /themes/default/images/icon-search-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/default/images/icon-search-black.png -------------------------------------------------------------------------------- /themes/valencia/images/icon-minus-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/valencia/images/icon-minus-white.png -------------------------------------------------------------------------------- /themes/valencia/images/icon-search-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/valencia/images/icon-search-black.png -------------------------------------------------------------------------------- /experiments/installedapp-assets/startscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/installedapp-assets/startscreen.png -------------------------------------------------------------------------------- /themes/default/images/icon-arrow-white-down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/default/images/icon-arrow-white-down.png -------------------------------------------------------------------------------- /themes/default/images/icon-arrow-white-left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/default/images/icon-arrow-white-left.png -------------------------------------------------------------------------------- /themes/valencia/images/icon-arrow-white-up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/valencia/images/icon-arrow-white-up.png -------------------------------------------------------------------------------- /themes/default/images/icon-arrow-white-right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/default/images/icon-arrow-white-right.png -------------------------------------------------------------------------------- /themes/valencia/images/icon-arrow-white-down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/valencia/images/icon-arrow-white-down.png -------------------------------------------------------------------------------- /themes/valencia/images/icon-arrow-white-left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/valencia/images/icon-arrow-white-left.png -------------------------------------------------------------------------------- /themes/valencia/images/icon-arrow-white-right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/themes/valencia/images/icon-arrow-white-right.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/70-tv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/70-tv.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/02-redo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/02-redo.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/08-chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/08-chat.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/09-chat2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/09-chat2.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/102-walk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/102-walk.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/103-map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/103-map.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/11-clock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/11-clock.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/110-bug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/110-bug.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/111-user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/111-user.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/117-todo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/117-todo.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/12-eye.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/12-eye.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/125-food.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/125-food.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/126-moon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/126-moon.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/127-sock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/127-sock.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/128-bone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/128-bone.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/129-golf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/129-golf.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/130-dice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/130-dice.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/14-tag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/14-tag.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/15-tags.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/15-tags.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/19-gear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/19-gear.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/20-gear2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/20-gear2.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/21-skull.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/21-skull.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/23-bird.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/23-bird.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/24-gift.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/24-gift.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/28-star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/28-star.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/29-heart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/29-heart.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/30-key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/30-key.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/31-ipod.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/31-ipod.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/40-inbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/40-inbox.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/47-fuel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/47-fuel.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/53-house.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/53-house.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/54-lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/54-lock.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/56-cloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/56-cloud.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/59-flag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/59-flag.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/64-zap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/64-zap.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/65-note.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/65-note.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/72-pin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/72-pin.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/73-radar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/73-radar.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/75-phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/75-phone.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/76-baby.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/76-baby.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/77-ekg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/77-ekg.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/94-pill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/94-pill.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/96-book.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/96-book.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/01-refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/01-refresh.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/05-shuffle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/05-shuffle.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/10-medical.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/10-medical.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/100-coffee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/100-coffee.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/105-piano.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/105-piano.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/108-badge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/108-badge.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/112-group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/112-group.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/122-stats.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/122-stats.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/13-target.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/13-target.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/25-weather.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/25-weather.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/26-bandaid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/26-bandaid.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/27-planet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/27-planet.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/32-iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/32-iphone.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/33-cabinet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/33-cabinet.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/34-coffee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/34-coffee.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/36-toolbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/36-toolbox.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/42-photos.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/42-photos.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/44-shoebox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/44-shoebox.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/45-movie1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/45-movie1.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/46-movie2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/46-movie2.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/49-battery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/49-battery.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/50-beaker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/50-beaker.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/51-outlet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/51-outlet.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/55-network.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/55-network.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/63-runner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/63-runner.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/67-tshirt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/67-tshirt.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/69-display.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/69-display.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/71-compass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/71-compass.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/82-dogpaw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/82-dogpaw.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/85-trophy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/85-trophy.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/86-camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/86-camera.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/88-beermug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/88-beermug.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/91-beaker2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/91-beaker2.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/97-puzzle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/97-puzzle.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/98-palette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/98-palette.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/03-loopback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/03-loopback.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/04-squiggle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/04-squiggle.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/07-map-marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/07-map-marker.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/101-gameplan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/101-gameplan.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/106-sliders.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/106-sliders.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/109-chicken.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/109-chicken.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/114-balloon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/114-balloon.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/119-piggybank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/119-piggybank.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/121-lanscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/121-lanscape.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/123-id-card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/123-id-card.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/124-bullhorn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/124-bullhorn.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/16-line-chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/16-line-chart.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/17-bar-chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/17-bar-chart.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/18-envelope.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/18-envelope.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/37-suitcase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/37-suitcase.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/38-airplane.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/38-airplane.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/39-spraycan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/39-spraycan.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/43-film-roll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/43-film-roll.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/52-pinetree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/52-pinetree.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/57-download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/57-download.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/58-bookmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/58-bookmark.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/60-signpost.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/60-signpost.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/61-brightness.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/61-brightness.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/62-contrast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/62-contrast.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/66-microphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/66-microphone.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/68-paperclip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/68-paperclip.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/74-location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/74-location.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/78-stopwatch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/78-stopwatch.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/81-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/81-dashboard.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/83-calendar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/83-calendar.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/84-lightbulb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/84-lightbulb.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/87-wineglass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/87-wineglass.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/89-dumbbell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/89-dumbbell.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/90-lifebuoy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/90-lifebuoy.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/92-testtube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/92-testtube.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/95-equalizer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/95-equalizer.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/99-umbrella.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/99-umbrella.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/104-index-cards.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/104-index-cards.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/107-widescreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/107-widescreen.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/113-navigation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/113-navigation.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/116-controller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/116-controller.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/118-coathanger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/118-coathanger.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/120-headphones.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/120-headphones.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/35-shopping-bag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/35-shopping-bag.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/79-medical-bag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/79-medical-bag.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/93-thermometer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/93-thermometer.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/115-bow-and-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/115-bow-and-arrow.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/41-picture-frame.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/41-picture-frame.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/48-fork-and-knife.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/48-fork-and-knife.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/80-shopping-cart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/80-shopping-cart.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/06-magnifying-glass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/06-magnifying-glass.png -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/22-skull-n-crossbones.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cowboy/jquery-mobile/master/experiments/navbar-glyphish/glyphish-icons/22-skull-n-crossbones.png -------------------------------------------------------------------------------- /themes/default/jquery.mobile.dialog.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Mobile Framework 3 | * Copyright (c) jQuery Project 4 | * Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. 5 | */ 6 | .ui-dialog .ui-header, .ui-dialog .ui-content, .ui-dialog .ui-footer { margin: 15px; position: relative; } 7 | .ui-dialog .ui-header, .ui-dialog .ui-footer { z-index: 10; width: auto; } 8 | .ui-dialog .ui-content, .ui-dialog .ui-footer { margin-top: -15px; } -------------------------------------------------------------------------------- /js/jquery.mobile.widget.js: -------------------------------------------------------------------------------- 1 | (function( $ ) { 2 | 3 | $.widget( "mobile.widget", { 4 | _getCreateOptions: function() { 5 | var elem = this.element, 6 | options = {}; 7 | $.each( this.options, function( option ) { 8 | var value = elem.data( option.replace( /[A-Z]/g, function( c ) { 9 | return "-" + c.toLowerCase(); 10 | } ) ); 11 | if ( value !== undefined ) { 12 | options[ option ] = value; 13 | } 14 | }); 15 | return options; 16 | } 17 | }); 18 | 19 | })( jQuery ); 20 | -------------------------------------------------------------------------------- /themes/default/jquery.mobile.forms.fieldcontain.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Mobile Framework 3 | * Copyright (c) jQuery Project 4 | * Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. 5 | */ 6 | .ui-field-contain { background: none; padding: 1.5em 0; margin: 0; border-bottom-width: 1px; overflow: visible; } 7 | .ui-field-contain:first-child { border-top-width: 0; } 8 | @media screen and (max-width: 480px){ 9 | .ui-field-contain { border-width: 0; padding: 0; margin: 1em 0; } 10 | } -------------------------------------------------------------------------------- /experiments/photos/photos.js: -------------------------------------------------------------------------------- 1 | 2 | $('.photoview') 3 | .live('pagebeforehide',function(){ 4 | $.fixedToolbars.hide(true); 5 | }) 6 | .live('pageshow',function(){ 7 | $.fixedToolbars.show(); 8 | }) 9 | .live('swipeleft',function(){ 10 | $(this).find('a.next').click(); 11 | }) 12 | .live('swiperight',function(){ 13 | $(this).next().find('a.prev').click(); 14 | }); 15 | 16 | $('.photoview img').live('mousedown touchstart',function(event){ 17 | event.preventDefault(); 18 | }) 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | # the rewrite engine requires the ability to follow sym links 2 | Options +FollowSymLinks 3 | 4 | RewriteEngine On 5 | RewriteRule ^themes/([a-zA-Z\-\_\0-9]+)\/$ combine.php?type=css&theme=$1 6 | RewriteRule ^js/all combine.php?type=javascript 7 | 8 | # Turn on Expires and set default to 0 9 | ExpiresActive On 10 | ExpiresDefault "access" 11 | 12 | 13 | # cache text, css, and javascript files for one week 14 | 15 | Header set Cache-Control "max-age=1" 16 | 17 | -------------------------------------------------------------------------------- /docs/about/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Mobile Framework - Documentation 6 | 7 | 8 | 9 | 10 |
11 | 12 |
13 |

Theme system

14 |
15 | 16 |
17 | 18 | 19 | 20 |
21 | 22 |
23 | 24 | -------------------------------------------------------------------------------- /docs/lists/api-lists.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Lists 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 |
14 |

List API

15 |
16 | 17 |
18 | 19 |
20 |
21 | 22 | 23 | -------------------------------------------------------------------------------- /js/jquery.mobile.fieldContain.js: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Mobile Framework : prototype for "fieldcontain" plugin - simple class additions to make form row separators 3 | * Copyright (c) jQuery Project 4 | * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. 5 | * Note: Code is in draft form and is subject to change 6 | */ 7 | (function($){ 8 | $.fn.fieldcontain = function(options){ 9 | var o = $.extend({ 10 | theme: 'c' 11 | },options); 12 | return $(this).addClass('ui-field-contain ui-body ui-br'); 13 | }; 14 | })(jQuery); -------------------------------------------------------------------------------- /docs/_assets/js/jqm-docs.js: -------------------------------------------------------------------------------- 1 | //set up the theme switcher on the homepage 2 | $('div').live('pagecreate',function(event){ 3 | if( !$(this).is('.ui-dialog')){ 4 | $('Switch theme') 5 | .buttonMarkup({ 6 | 'icon':'gear', 7 | 'inline': true, 8 | 'shadow': false, 9 | 'theme': 'd' 10 | }) 11 | .appendTo( $(this).find('.ui-content') ) 12 | .wrap('
') 13 | .click(function(){ 14 | $.themeswitcher(); 15 | return false; 16 | }); 17 | } 18 | event.stopPropagation(); 19 | }); -------------------------------------------------------------------------------- /docs/_assets/css/jqm-docs.css: -------------------------------------------------------------------------------- 1 | .ui-mobile #jqm-home { background: #e5e5e5 url(../images/jqm-sitebg.png) top center repeat-x; } 2 | .ui-mobile #jqm-homeheader { padding: 55px 25px 0; text-align: center } 3 | .ui-mobile #jqm-homeheader h1 { margin: 0 0 10px; } 4 | .ui-mobile #jqm-homeheader p { margin: 0; } 5 | .ui-mobile #jqm-version { text-indent: -99999px; background: url(../images/version.png) top right no-repeat; width: 119px; height: 122px; overflow: hidden; position: absolute; top: 0; right: 0; } 6 | .ui-mobile .jqm-themeswitcher { clear: both; margin: 20px 0 -15px; } -------------------------------------------------------------------------------- /experiments/converter/converter.css: -------------------------------------------------------------------------------- 1 | ul li { clear:both; } 2 | li p.currency-from { padding-top:23px; font-size: 180%; font-weight:bold; } 3 | li p.currency-from a:link, li p.units a:visited { padding-top:26px; font-size: 90%; } 4 | span.unit { opacity:0.5; } 5 | 6 | li p.subtext { margin-top:2px; } 7 | li p.ui-li-aside { font-size:190%; width:60%; } 8 | 9 | 10 | 11 | form#curr-form { border-width: 0; overflow: hidden; margin: 2px -15px 2px -15px } 12 | form#curr-form .ui-input-search { margin: 5px; width: auto; display: block; } 13 | 14 | .add-row { font-weight:bold; font-size:110%; } -------------------------------------------------------------------------------- /themes/default/jquery.mobile.headerfooter.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Mobile Framework 3 | * Copyright (c) jQuery Project 4 | * Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. 5 | */ 6 | /* fixed page header & footer configuration */ 7 | .ui-header, .ui-footer, .ui-page-fullscreen .ui-header, .ui-page-fullscreen .ui-footer { position: absolute; overflow: hidden; width: 100%; border-left-width: 0; border-right-width: 0; } 8 | .ui-header-fixed, .ui-footer-fixed { z-index: 1000; } 9 | .ui-footer-duplicate, .ui-page-fullscreen .ui-fixed-inline { display: none; } 10 | .ui-page-fullscreen .ui-header, .ui-page-fullscreen .ui-footer { opacity: .9; } 11 | -------------------------------------------------------------------------------- /themes/default/manifest.php: -------------------------------------------------------------------------------- 1 | 22 | -------------------------------------------------------------------------------- /themes/default/jquery.mobile.grids.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Mobile Framework 3 | * Copyright (c) jQuery Project 4 | * Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. 5 | */ 6 | /* content configurations. */ 7 | .ui-grid-a, .ui-grid-b, .ui-grid-c { overflow: hidden; } 8 | .ui-block-a, .ui-block-b, .ui-block-c, .ui-block-d { margin: 0; padding: 0; border: 0; float: left; } 9 | /* grid a: 50/50 */ 10 | .ui-grid-a .ui-block-a, .ui-grid-a .ui-block-b { width: 50%; } 11 | .ui-grid-a .ui-block-a { clear: left; } 12 | /* grid b: 33/33/33 */ 13 | .ui-grid-b .ui-block-a, .ui-grid-b .ui-block-b, .ui-grid-b .ui-block-c { width: 33.333%; } 14 | .ui-grid-b .ui-block-a { clear: left; } -------------------------------------------------------------------------------- /docs/pages/dialog-success.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Framework - Dialog Example 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 |
15 |

Flickr upload:

16 |

Photos posted successfully

17 | 18 | View photo page 19 | Done 20 |
21 |
22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /docs/pages/page-template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Page Title 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 |
15 |

Page Title

16 |
17 | 18 |
19 |

Page content goes here.

20 |
21 | 22 |
23 |

Page Footer

24 |
25 |
26 | 27 | 28 | -------------------------------------------------------------------------------- /docs/forms/forms-sample-response.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Forms 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 |
14 |

Sample form response

15 |
16 | 17 |
18 | 19 |
20 | 21 |

You Chose:

22 | 23 | 24 | 25 | " . $_REQUEST['shipping'] . "

"; 27 | ?> 28 | 29 | 30 |
31 | 32 |
33 |
34 | 35 | 36 | -------------------------------------------------------------------------------- /docs/toolbars/api-bars.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Toolbars 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 |
14 |

Toolbar API

15 |
16 | 17 |
18 | 19 |

Dependencies

20 |

To be documented

21 | 22 |

Options

23 |

To be documented

24 | 25 |

Methods

26 |

To be documented

27 | 28 |

Known Issues

29 |

To be documented

30 | 31 |
32 |
33 | 34 | 35 | -------------------------------------------------------------------------------- /themes/valencia/manifest.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/forms/api-forms.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Forms 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 |
14 |

Form API

15 |
16 | 17 |
18 | 19 |

Dependencies

20 |

To be documented

21 | 22 |

Options

23 |

To be documented

24 | 25 |

Methods

26 |

To be documented

27 | 28 |

Known Issues

29 |

To be documented

30 | 31 | 32 | 33 |
34 |
35 | 36 | 37 | -------------------------------------------------------------------------------- /docs/pages/api-pages.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Buttons 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 |
14 |

Pages API

15 |
16 | 17 |
18 | 19 |

Dependencies

20 |

To be documented

21 | 22 |

Options

23 |

To be documented

24 | 25 |

Methods

26 |

To be documented

27 | 28 |

Known Issues

29 |

To be documented

30 | 31 | 32 | 33 |
34 |
35 | 36 | 37 | -------------------------------------------------------------------------------- /docs/buttons/api-buttons.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Buttons 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 |
14 |

Button API

15 |
16 | 17 |
18 | 19 |

Dependencies

20 |

To be documented

21 | 22 |

Options

23 |

To be documented

24 | 25 |

Methods

26 |

To be documented

27 | 28 |

Known Issues

29 |

To be documented

30 | 31 | 32 | 33 |
34 |
35 | 36 | 37 | -------------------------------------------------------------------------------- /experiments/photos/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Framework - Photo 1 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 |
16 |

A bridge

17 | 18 |
19 | 20 |
21 | 22 | photo-bridge 23 | 24 |
25 | 26 |
27 | 28 |
29 | 30 | 31 |
32 | 33 | 34 | -------------------------------------------------------------------------------- /js/manifest.php: -------------------------------------------------------------------------------- 1 | 29 | -------------------------------------------------------------------------------- /docs/content/api-content.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Content formatting 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 |
14 |

Content formatting API

15 |
16 | 17 |
18 | 19 |

Dependencies

20 |

To be documented

21 | 22 |

Options

23 |

To be documented

24 | 25 |

Methods

26 |

To be documented

27 | 28 |

Known Issues

29 |

To be documented

30 | 31 | 32 | 33 |
34 |
35 | 36 | 37 | -------------------------------------------------------------------------------- /js/jquery.mobile.grid.js: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Mobile Framework : plugin for creating grids 3 | * Copyright (c) jQuery Project 4 | * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. 5 | * Note: Code is in draft form and is subject to change 6 | */ 7 | (function($){ 8 | $.fn.grid = function(options){ 9 | return $(this).each(function(){ 10 | var o = $.extend({ 11 | grid: 'a' 12 | },options); 13 | 14 | $(this).addClass('ui-grid-' + o.grid); 15 | 16 | var $kids = $(this).children(); 17 | iterator = o.grid == 'a' ? 2 : 3; 18 | 19 | $kids.filter(':nth-child(' + iterator + 'n+1)').addClass('ui-block-a'); 20 | $kids.filter(':nth-child(' + iterator + 'n+2)').addClass('ui-block-b'); 21 | 22 | if(iterator == 3){ 23 | $kids.filter(':nth-child(3n+3)').addClass('ui-block-c'); 24 | } 25 | }); 26 | }; 27 | })(jQuery); 28 | 29 | -------------------------------------------------------------------------------- /experiments/photos/_photo5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Framework - Photo 1 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 |
15 |

Nathan running

16 | 17 |
18 | 19 |
20 | 21 | photo-run 22 | 23 |
24 | 25 | 29 | 30 | 31 |
32 | 33 | 34 | -------------------------------------------------------------------------------- /experiments/photos/_photo6.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Framework - Photo 1 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 |
15 |

Sandy beach

16 | 17 |
18 | 19 |
20 | 21 | photo-sand 22 | 23 |
24 | 25 | 29 | 30 | 31 |
32 | 33 | 34 | -------------------------------------------------------------------------------- /experiments/photos/_photo4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Framework - Photo 1 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 |
16 |

A kayak

17 | 18 |
19 | 20 |
21 | 22 | photo-kayak 23 | 24 |
25 | 26 | 30 | 31 | 32 |
33 | 34 | 35 | -------------------------------------------------------------------------------- /docs/pages/transition-success.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Framework - Dialog Example 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 |
14 |

Ta-da!

15 |
16 | 17 |
18 |

That was an animated page transition effect that we added with a data-transition attribute on the link.

19 |

Since it uses CSS transforms, this should be hardware accelerated on many mobile devices.

20 |

What do you think?

21 | I like it 22 |
23 |
24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /experiments/photos/_photo2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Framework - Photo 1 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 |
16 |

A canoe

17 | 18 |
19 | 20 |
21 | 22 | photo-canoe 23 | 24 |
25 | 26 | 30 | 31 | 32 |
33 | 34 | 35 | -------------------------------------------------------------------------------- /experiments/photos/_photo3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Framework - Photo 1 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 |
16 |

A dock

17 | 18 |
19 | 20 |
21 | 22 | photo-dock 23 | 24 |
25 | 26 | 30 | 31 | 32 |
33 | 34 | 35 | -------------------------------------------------------------------------------- /docs/pages/dialog-buttons.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Framework - Dialog Example 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 |
15 |

Share Photos

16 | Email 17 | Upload to flickr 18 | Share on Facebook 19 | Tweet photo 20 | 21 | Cancel 22 |
23 |
24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /docs/pages/dialog.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Framework - Dialog Example 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 |
14 |

Dialog

15 | 16 |
17 | 18 |
19 |

Delete page?

20 |

This is a regular page, styled as a dialog. To create a dialog, just link to a normal page and include a transition and data-rel="dialog" attribute.

21 | Sounds good 22 | Cancel 23 |
24 |
25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /docs/pages/dialog-alt.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Framework - Dialog Example 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 |

Dialog

14 | 15 |
16 | 17 |
18 |

I'm colorful

19 |

This is a regular page, styled as a dialog. To create a dialog, just link to a normal page and include a transition and data-rel="dialog" attribute.

20 | Good for you 21 | Don't care, really 22 |
23 |
24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /experiments/progressbar/_progressbar-static.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Framework - Static Progressbar Example 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 |

Static Progressbar

14 | 15 |
16 | 17 |
18 | 19 |

Just a simple static progressbar, for future reference.

20 | 21 | 25 | 26 |
27 |
28 |
29 | 30 |
31 |
32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /themes/default/jquery.mobile.forms.checkboxradio.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Mobile Framework 3 | * Copyright (c) jQuery Project 4 | * Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. 5 | */ 6 | .ui-checkbox, .ui-radio { position:relative; margin: .2em 0 .5em; } 7 | .ui-checkbox .ui-btn, .ui-radio .ui-btn { margin: 0; text-align: left; } 8 | .ui-checkbox .ui-btn-icon-left .ui-btn-inner,.ui-radio .ui-btn-icon-left .ui-btn-inner { padding-left: 45px; } 9 | .ui-checkbox .ui-btn-icon-right .ui-btn-inner, .ui-radio .ui-btn-icon-right .ui-btn-inner { padding-right: 45px; } 10 | .ui-checkbox .ui-btn-icon-left .ui-icon, .ui-radio .ui-btn-icon-left .ui-icon {left: 15px; } 11 | .ui-checkbox .ui-btn-icon-right .ui-icon, .ui-radio .ui-btn-icon-right .ui-icon {right: 15px; } 12 | /* input, label positioning */ 13 | .ui-checkbox input,.ui-radio input { position:absolute; left:20px; top:50%; width: 10px; height: 10px; margin:-5px 0 0 0; outline: 0 !important; } -------------------------------------------------------------------------------- /docs/lists/lists-split-purchase.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Lists 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 |
16 |

Purchase album?

17 |
18 | 19 |
20 |

This album costs $10.99 and includes 9 tracks.

21 |

Your download will begin immediately on your mobile device and all tracks will by added your your library next time you sync.

22 | Purchase album 23 | No thanks 24 |
25 |
26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /js/jquery.mobile.listview.filter.js: -------------------------------------------------------------------------------- 1 | (function( $ ) { 2 | 3 | $.mobile.listview.prototype.options.filter = false; 4 | 5 | $( "[data-role='listview']" ).live( "listviewcreate", function() { 6 | var list = $( this ), 7 | listview = list.data( "listview" ); 8 | if ( !listview.options.filter ) { 9 | return; 10 | } 11 | 12 | var wrapper = $( "
", { "class": "ui-listview-filter ui-bar-c", "role": "search" } ), 13 | 14 | search = $( "", { 15 | placeholder: "Filter results...", 16 | "data-type": "search" 17 | }) 18 | .bind( "keyup change", function() { 19 | var val = this.value.toLowerCase();; 20 | list.children().show(); 21 | if ( val ) { 22 | list.children().filter(function() { 23 | return $( this ).text().toLowerCase().indexOf( val ) === -1; 24 | }).hide(); 25 | } 26 | 27 | //listview._numberItems(); 28 | }) 29 | .appendTo( wrapper ) 30 | .customTextInput(); 31 | 32 | wrapper.insertBefore( list ); 33 | }); 34 | 35 | })( jQuery ); 36 | -------------------------------------------------------------------------------- /docs/lists/lists-count.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Lists 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 |
15 |

Basic list

16 |
17 | 18 |
19 | 26 |
27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Mobile Framework - Documentation 6 | 7 | 8 | 9 | 10 |
11 | 12 |
13 |

jQuery Mobile Docs

14 |
15 | 16 |
17 | 18 | 28 | 29 |
30 | 31 |
32 | 33 | -------------------------------------------------------------------------------- /js/jquery.mobile.navbar.js: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Mobile Framework : prototype for "navbar" plugin 3 | * Copyright (c) jQuery Project 4 | * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. 5 | * Note: Code is in draft form and is subject to change 6 | */ 7 | (function ( $ ) { 8 | $.widget( "mobile.navbar", $.mobile.widget, { 9 | options: { 10 | iconpos: 'top' 11 | }, 12 | _create: function(){ 13 | var $navbar = this.element, 14 | $navbtns = $navbar.find("a"), 15 | iconpos = $navbtns.filter('icon').length ? this.options.iconpos : undefined; 16 | 17 | $navbar 18 | .addClass('ui-navbar') 19 | .attr("role","navigation") 20 | .find("ul") 21 | .grid({grid: $navbtns.length > 2 ? "b" : "a"}); 22 | 23 | if( !iconpos ){ 24 | $navbar.addClass("ui-navbar-noicons"); 25 | } 26 | 27 | $navbtns 28 | .buttonMarkup({ 29 | corners: false, 30 | shadow: false, 31 | iconpos: iconpos 32 | }); 33 | 34 | $navbar.delegate("a", "click",function(event){ 35 | $navbtns.removeClass("ui-btn-active"); 36 | }); 37 | } 38 | }); 39 | })( jQuery ); -------------------------------------------------------------------------------- /themes/default/jquery.mobile.collapsible.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Mobile Framework 3 | * Copyright (c) jQuery Project 4 | * Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. 5 | */ 6 | .ui-collapsible-contain { margin: .5em 0; } 7 | .ui-collapsible-heading { font-size: 16px; display: block; margin: 0 -8px; padding: 0; border-width: 0 0 1px 0; position: relative; } 8 | .ui-collapsible-heading a { text-align: left; margin: 0; } 9 | .ui-collapsible-heading a .ui-btn-inner { padding-left: 40px; } 10 | .ui-collapsible-heading a span.ui-btn { position: absolute; left: 6px; top: 50%; margin: -12px 0 0 0; width: 20px; height: 20px; padding: 1px 0px 1px 2px; text-indent: -9999px; } 11 | .ui-collapsible-heading a span.ui-btn .ui-btn-inner { padding: 0; } 12 | .ui-collapsible-heading a span.ui-btn .ui-icon { left: 0; margin-top: -10px; } 13 | .ui-collapsible-heading-status { position:absolute; left:-99999px; } 14 | .ui-collapsible-content { display: block; padding: 10px 0 10px 8px; } 15 | .ui-collapsible-content-collapsed { display: none; } 16 | 17 | .ui-collapsible-set { margin: .5em 0; } 18 | .ui-collapsible-set .ui-collapsible-contain { margin: -1px 0 0; } -------------------------------------------------------------------------------- /docs/buttons/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Buttons 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 |
15 |

Buttons

16 |
17 | 18 |
19 |

Buttons are core widgets in jQuery Mobile, and are used within a wide range of other plugins.

20 | 21 | 29 |
30 |
31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /docs/lists/lists-readonly.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Lists 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 |
15 |

Read-only list

16 |
17 | 18 |
19 |
    20 |
  • Acura
  • 21 |
  • Audi
  • 22 |
  • BMW
  • 23 |
  • Cadillac
  • 24 |
  • Chrysler
  • 25 |
  • Dodge
  • 26 |
  • Ferrari
  • 27 |
  • Ford
  • 28 |
  • GMC
  • 29 |
  • Honda
  • 30 |
  • Hyundai
  • 31 |
  • Infiniti
  • 32 |
  • Jeep
  • 33 |
  • Kia
  • 34 |
  • Lexus
  • 35 |
  • Mini
  • 36 |
  • Nissan
  • 37 |
  • Porsche
  • 38 |
  • Subaru
  • 39 |
  • Toyota
  • 40 |
  • Volkswagon
  • 41 |
  • Volvo
  • 42 |
43 |
44 |
45 | 46 | 47 | -------------------------------------------------------------------------------- /docs/pages/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Pages 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 |
14 |

Pages

15 |
16 | 17 |
18 |

jQuery Mobile includes automatic AJAX page loading of external pages with back button history support, a set of animated page transitions and simple tools for displaying pages as dialogs.

19 | 20 | 21 | 29 | 30 |
31 |
32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/jQuery.noop/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
6 |

jQuery.noop()

7 | 8 |
9 |
10 |

11 | jQuery.noop() Returns: Function 12 |

13 |
14 |

Description: An empty function.

15 |
  • 16 | version added: 1.4jQuery.noop()

17 |
18 |

You can use this empty function when you wish to pass around a function that will do nothing.

19 |

This is useful for plugin authors who offer optional callbacks; in the case that no callback is given, something like jQuery.noop could execute.

20 |
21 |
22 |
23 | 24 |
25 | 26 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/event.type/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
6 |

event.type

7 | 8 |
9 |
10 |

11 | event.type Returns: String 12 |

13 |
14 |

Description: Describes the nature of the event.

15 |
  • 16 | version added: 1.0event.type

17 |

Example:

18 |
19 |

On all anchor clicks, alert the event type.

20 |
$("a").click(function(event) {
21 |   alert(event.type); // "click"
22 | }); 
23 |
24 |
25 |
26 | 27 |
28 | 29 | -------------------------------------------------------------------------------- /js/jquery.mobile.forms.button.js: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Mobile Framework : sample plugin for making button links that proxy to native input/buttons 3 | * Copyright (c) jQuery Project 4 | * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. 5 | * Note: Code is in draft form and is subject to change 6 | */ 7 | (function ( $ ) { 8 | $.widget( "mobile.button", $.mobile.widget, { 9 | options: {}, 10 | _create: function(){ 11 | var $el = this.element, 12 | type = $el.attr('type'); 13 | $el 14 | .addClass('ui-btn-hidden') 15 | .attr('tabindex','-1'); 16 | 17 | //add ARIA role 18 | $( "", { 19 | "href": "#", 20 | "role": "button", 21 | "aria-label": $el.attr( "type" ) 22 | } ) 23 | .text( $el.text() || $el.val() ) 24 | .insertBefore( $el ) 25 | .click(function(){ 26 | if( type == "submit" ){ 27 | $(this).closest('form').submit(); 28 | } 29 | else{ 30 | $el.click(); 31 | } 32 | 33 | return false; 34 | }) 35 | .buttonMarkup({ 36 | theme: $el.data("theme"), 37 | icon: $el.data("icon"), 38 | iconpos: $el.data("iconpos"), 39 | inline: $el.data("inline"), 40 | corners: $el.data("corners"), 41 | shadow: $el.data("shadow"), 42 | iconshadow: $el.data("icon-shadow") 43 | }); 44 | } 45 | }); 46 | })( jQuery ); -------------------------------------------------------------------------------- /docs/pages/multipage-template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Page Title 6 | 7 | 8 | 9 | 10 | 11 | 12 | 28 | 29 | 30 | 31 |
32 | 33 |
34 |

Bar

35 |
36 | 37 |
38 |

Bar

39 |

I'm first in the source order so I'm shown as the page.

40 |

Back to foo

41 |
42 | 43 |
44 |

Page Footer

45 |
46 |
47 | 48 | 49 | -------------------------------------------------------------------------------- /themes/default/jquery.mobile.forms.select.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Mobile Framework 3 | * Copyright (c) jQuery Project 4 | * Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. 5 | */ 6 | .ui-select { display: block; } 7 | .ui-select select { position: absolute; left: -99999px; } 8 | .ui-select .ui-btn-icon-right .ui-btn-inner { padding-right: 45px; } 9 | .ui-select .ui-btn-icon-right .ui-icon { right: 15px; } 10 | 11 | /* labels */ 12 | label.ui-select { font-size: 16px; line-height: 1.4; font-weight: normal; margin: 0 0 .3em; display: block; } 13 | 14 | /*listbox*/ 15 | .ui-listbox { position: absolute; padding: 0; z-index: 100 !important; width: 80%; max-width: 350px; padding: 6px; } 16 | .ui-listbox .ui-listview { margin: 0; 17 | } 18 | .ui-listbox-hidden { top: -999999px; left: -99999px; } 19 | .ui-listbox-screen { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 99; } 20 | .ui-screen-hidden, .ui-listbox-list .ui-li .ui-icon { display: none; } 21 | .ui-listbox-list .ui-btn-active .ui-icon { display: block; } 22 | 23 | /*used in listbox - to be removed/replaced with page-style hiding*/ 24 | .ui-helper-hidden,.ui-mobile .ui-content-hidden { display: none; } 25 | 26 | .min-width-480px label.ui-select { display: inline-block; width: 20%; margin: 0 2% 0 0; } 27 | .min-width-480px .ui-select { width: 60%; display: inline-block; } -------------------------------------------------------------------------------- /docs/content/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Content formatting 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 |
15 |

Content formatting

16 |
17 | 18 |
19 |

The content of pages in jQuery Mobile is completely open-ended, but the jQuery Mobile framework provides a number of helpful tools and widgets — such as collapsible panels and multiple-column grid layouts — to make it easy to format your content for mobile devices.

20 | 21 | 22 | 29 |
30 |
31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /docs/toolbars/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Toolbars 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 |
14 |

Toolbars

15 |
16 | 17 |
18 | 19 |

Toolbars are used for headers, footers and utility bars throughout a mobile sites and applications, so jQuery Mobile provides a standard set of bars and navigation tools to cover most standard scenarios.

20 | 21 | 22 | 32 | 33 |
34 |
35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /docs/about/accessibility.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Intro 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 |
14 |

Accessibility

15 |
16 | 17 |
18 | 19 |

Accessibility

20 |

jQuery Mobile is built upon standard, semantic HTML, allowing pages to be accessible to the broadest range of devices possible. For A-Grade browsers, many of the components in jQuery Mobile leverage accessibility techniques such as those specified in the W3C's WAI-ARIA specification.

21 | 22 |

By utilizing these techniques, we do our best to ensure an accessible experience to users with disabilities such as blindness, who may use screen readers (like VoiceOver, on Apple's iPhone device) or other assistive technology to access the web.

23 | 24 |

While our accessibility implementation is currently a work in progress, we aim to provide a fully accessible suite of components for version 1.0.

25 | 26 | 27 | 28 | 29 | 30 |
31 | 32 |
33 | 34 | 35 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Early stage development for the jQuery Mobile UI Framework. 2 | Code is subject to change dramatically! 3 | 4 | Usage 5 | ===== 6 | 7 | Early documentation: https://github.com/jquery/jquery-mobile/wiki/_pages 8 | 9 | For now, I've set things up with a little combinator script to concat all the css and js files into one request and gzip. (js/all and themes/default) 10 | You'll need to point your local apache & php webserver at this root directory in order to preview things. 11 | 12 | If you don't currently have a webserver running locally, a quick way to get up and running is to download and install Mamp for Mac OSX. Once installed, just open Mamp, click preferences, go to the Apache tab, and select your local jQuery Mobile folder as the root. Then you can open a browser to http://localhost:8888 to preview the code. 13 | An alternative is XAMPP, which is also available for Windows, though you need to actually modify Apache's httpd.conf to point to your checkout: http://www.apachefriends.org/en/xampp.html 14 | You need the Rewrite (mod_rewrite.so), Expire (mod_expires.so) and Header (mod_headers.so) modules loaded. 15 | 16 | Whenever this configuration becomes inconvenient, we can remove it, obviously it's not meant to stay! 17 | 18 | - when adding a js or css file, add it to the manifest in its directory and it'll be included in the request 19 | - As far as JS files go, jQuery.mobile.js is the starting point. -------------------------------------------------------------------------------- /experiments/api-viewer/docs/event.data/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
6 |

event.data

7 | 8 |
9 |
10 |

11 | event.data Returns: Anything 12 |

13 |
14 |

Description: Contains the optional data passed to jQuery.fn.bind when the current executing handler was bound.

15 |
  • 16 | version added: 1.1event.data

17 |

Example:

18 |
19 |

The description of the example.

20 |
$("a").each(function(i) {
21 |   $(this).bind('click', {index:i}, function(e){
22 |      alert('my index is ' + e.data.index);
23 |   });
24 | });   
25 |
26 |
27 |
28 | 29 |
30 | 31 | -------------------------------------------------------------------------------- /experiments/navbar-glyphish/glyphish-icons/Read me first - license.txt: -------------------------------------------------------------------------------- 1 | Created by Joseph Wain (see http://penandthink.com) at and probably downloaded from http://glyphish.com 2 | 3 | This work is licensed under the Creative Commons Attribution 3.0 United States License. To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/us/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA. 4 | 5 | You are free to share it and to remix it remix under the following conditions: 6 | 7 | * You must attribute the work in the manner specified by the author (SEE BELOW). 8 | * For any reuse or distribution, you must make clear to others the license terms of this work. 9 | * The above conditions can be waived if you get permission from the copyright holder (send me an email!). 10 | 11 | ATTRIBUTION -- a note reading "icons by Joseph Wain / glyphish.com" or similar, plus a link back to glyphish.com from your app's website, is the preferred form of attribution. Also acceptable would be, like, a link from within your iPhone application, or from the iTunes store page, but those aren't as useful to other people. If none of these work for you, please contact hello@glyphish.com and we can work something out. 12 | 13 | USE WITHOUT ATTRIBUTION -- If attribution is not possible, workable or desirable for your application, contact hello@glyphish.com for commercial non-attributed licensing terms. -------------------------------------------------------------------------------- /js/jquery.mobile.dialog.js: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Mobile Framework : prototype for "dialog" plugin. 3 | * Copyright (c) jQuery Project 4 | * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. 5 | * Note: Code is in draft form and is subject to change 6 | */ 7 | (function ( $ ) { 8 | $.widget( "mobile.dialog", $.mobile.widget, { 9 | options: {}, 10 | _create: function(){ 11 | var self = this, 12 | $el = self.element, 13 | $closeBtn = $('Close'); 14 | 15 | $el.delegate("a, submit", "click submit", function(e){ 16 | if( e.type == "click" && ( $(e.target).closest('[data-back]') || $(e.target).closest($closeBtn) ) ){ 17 | self.close(); 18 | return false; 19 | } 20 | //otherwise, assume we're headed somewhere new. set activepage to dialog so the transition will work 21 | $.activePage = this.element; 22 | }); 23 | 24 | this.element 25 | .bind("pageshow",function(){ 26 | return false; 27 | }) 28 | //add ARIA role 29 | .attr("role","dialog") 30 | .addClass('ui-page ui-dialog ui-body-a') 31 | .find('[data-role=header]') 32 | .addClass('ui-corner-top ui-overlay-shadow') 33 | .prepend( $closeBtn ) 34 | .end() 35 | .find('.ui-content,[data-role=footer]') 36 | .last() 37 | .addClass('ui-corner-bottom ui-overlay-shadow'); 38 | 39 | }, 40 | close: function(){ 41 | $.changePage([this.element, $.activePage], undefined, true ); 42 | } 43 | }); 44 | })( jQuery ); -------------------------------------------------------------------------------- /experiments/api-viewer/docs/jQuery.error/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
6 |

jQuery.error

7 | 8 |
9 |
10 |

11 | jQuery.error( message ) 12 |

13 |
14 |

Description: Takes a string and throws an exception containing it.

15 |
  • 16 |

    17 | version added: 1.4.1jQuery.error( message )

    18 |

    messageThe message to send out.

    19 |
20 |

This method exists primarily for plugin developers who wish to override it and provide a better display (or more information) for the error messages.

21 |

Example:

22 |
23 |

Override jQuery.error for display in Firebug.

24 |
jQuery.error = console.error;
25 |
26 |
27 |
28 | 29 |
30 | 31 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/event.currentTarget/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
6 |

event.currentTarget

7 | 8 |
9 |
10 |

11 | event.currentTarget Returns: Element 12 |

13 |
14 |

Description: The current DOM element within the event bubbling phase.

15 |
  • 16 | version added: 1.3event.currentTarget

17 |

This property will always be equal to the this of the function.

18 |

Example:

19 |
20 |

Alert that currentTarget matches the `this` keyword.

21 |
$("p").click(function(event) {
22 |   alert( event.currentTarget === this ); // true
23 | });  
24 |
25 |
26 |
27 | 28 |
29 | 30 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/event.isDefaultPrevented/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
6 |

event.isDefaultPrevented()

7 | 8 |
9 |
10 |

11 | event.isDefaultPrevented() Returns: Boolean 12 |

13 |
14 |

Description: Returns whether event.preventDefault() was ever called on this event object.

15 |
  • 16 | version added: 1.3event.isDefaultPrevented()

17 |

Example:

18 |
19 |

Checks whether event.preventDefault() was called.

20 |
$("a").click(function(event){
21 |   alert( event.isDefaultPrevented() ); // false
22 |   event.preventDefault();
23 |   alert( event.isDefaultPrevented() ); // true
24 | });  
25 |
26 |
27 |
28 | 29 |
30 | 31 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/jQuery.isXMLDoc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
6 |

jQuery.isXMLDoc()

7 | 8 |
9 |
10 |

11 | jQuery.isXMLDoc( node ) Returns: Boolean 12 |

13 |
14 |

Description: Check to see if a DOM node is within an XML document (or is an XML document).

15 |
  • 16 |

    17 | version added: 1.1.4jQuery.isXMLDoc( node )

    18 |

    nodeThe DOM node that will be checked to see if it's in an XML document.

    19 |
20 |

Example:

21 |
22 |

Check an object to see if it's in an XML document.

23 |
jQuery.isXMLDoc(document) // false
24 | jQuery.isXMLDoc(document.body) // false
25 |
26 |
27 |
28 | 29 |
30 | 31 | -------------------------------------------------------------------------------- /docs/lists/lists-icons.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Lists 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 |
15 |

Icons

16 |
17 | 18 |
19 | 20 | 31 | 32 | 33 |
34 |
35 | 36 | 37 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/jQuery.isPlainObject/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
6 |

jQuery.isPlainObject()

7 | 8 |
9 |
10 |

11 | jQuery.isPlainObject( object ) Returns: Boolean 12 |

13 |
14 |

Description: Check to see if an object is a plain object (created using "{}" or "new Object").

15 |
  • 16 |

    17 | version added: 1.4jQuery.isPlainObject( object )

    18 |

    objectThe object that will be checked to see if it's a plain object.

    19 |
20 |

Example:

21 |
22 |

Check an object to see if it's a plain object.

23 |
jQuery.isPlainObject({}) // true
24 | jQuery.isPlainObject("test") // false
25 |
26 |
27 |
28 | 29 |
30 | 31 | -------------------------------------------------------------------------------- /themes/default/jquery.mobile.forms.textinput.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Mobile Framework 3 | * Copyright (c) jQuery Project 4 | * Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. 5 | */ 6 | label.ui-input-text { font-size: 16px; line-height: 1.4; display: block; font-weight: normal; margin: 0 0 .3em; } 7 | input.ui-input-text, textarea.ui-input-text { background-image: none; padding: .4em; line-height: 1.4; font-size: 16px; display: block; width: 95%; } 8 | textarea.ui-input-text { height: 50px; -webkit-transition: height 200ms linear; -moz-transition: height 200ms linear; -o-transition: height 200ms linear; transition: height 200ms linear; } 9 | .ui-input-search { padding: 0 30px; width: 77%; background-position: 8px 50%; background-repeat: no-repeat; position: relative; } 10 | .ui-input-search input.ui-input-text { border: none; width: 98%; padding: .4em 0; margin: 0; display: block; background: transparent none; outline: 0 !important; } 11 | .ui-input-search .ui-input-clear { position: absolute; right: 2px; top: 50%; margin-top: -12px; } 12 | .ui-input-search .ui-input-clear-hidden { display: none; } 13 | 14 | /* orientation adjustments - incomplete!*/ 15 | .min-width-480px label.ui-input-text { vertical-align: top; } 16 | .min-width-480px label.ui-input-text { display: inline-block; width: 20%; margin: 0 2% 0 0; } 17 | .min-width-480px input.ui-input-text, 18 | .min-width-480px textarea.ui-input-text, 19 | .min-width-480px .ui-input-search { width: 60%; display: inline-block; } 20 | .min-width-480px .ui-input-search { width: 50%; } -------------------------------------------------------------------------------- /experiments/api-viewer/docs/event.relatedTarget/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
6 |

event.relatedTarget

7 | 8 |
9 |
10 |

11 | event.relatedTarget Returns: Element 12 |

13 |
14 |

Description: The other DOM element involved in the event, if any.

15 |
  • 16 | version added: 1.1.4event.relatedTarget

17 |

For mouseout, indicates the element being entered; for mousein, indicates the element being exited.

18 |

Example:

19 |
20 |

On mouseout of anchors, alert the element type being entered.

21 |
$("a").mouseout(function(event) {
22 |   alert(event.relatedTarget.nodeName); // "DIV"
23 | });  
24 |
25 |
26 |
27 | 28 |
29 | 30 | -------------------------------------------------------------------------------- /docs/_assets/js/_viewsource.js: -------------------------------------------------------------------------------- 1 | //quick view source in new window links 2 | $.fn.addSourceLink = function(style){ 3 | 4 | return $(this).each(function(){ 5 | var link = $('View Source'), 6 | src = src = $('
').append( $(this).clone() ).html(), 7 | page = $( "
" + 8 | "
" + 9 | "Close"+ 10 | "
jQuery Mobile Source Excerpt
"+ 11 | "
"+ 12 | "
"+ 13 | "
" ) 14 | .appendTo( "body" ) 15 | .page(); 16 | 17 | $('View Source') 18 | .buttonMarkup({ 19 | icon: 'arrow-u', 20 | iconpos: 'notext' 21 | }) 22 | .click(function(){ 23 | var codeblock = $('
'); 24 | src = src.replace(/&/gmi, '&').replace(/"/gmi, '"').replace(/>/gmi, '>').replace(/ 2 | 3 | 4 |
5 |
6 |

jQuery.globalEval()

7 | 8 |
9 |
10 |

11 | jQuery.globalEval( code ) 12 |

13 |
14 |

Description: Execute some JavaScript code globally.

15 |
  • 16 |

    17 | version added: 1.0.4jQuery.globalEval( code )

    18 |

    codeThe JavaScript code to execute.

    19 |
20 |

This method behaves differently from using a normal JavaScript eval() in that it's executed within the global context (which is important for loading external scripts dynamically).

21 |

Example:

22 |
23 |

Execute a script in the global context.

24 |
function test(){
25 |     jQuery.globalEval("var newVar = true;")
26 | }
27 | test();
28 | // newVar === true
29 |
30 |
31 |
32 | 33 |
34 | 35 | -------------------------------------------------------------------------------- /experiments/ui-datepicker/jquery.ui.datepicker.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery UI Datepicker @VERSION 3 | * 4 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) 5 | * Dual licensed under the MIT or GPL Version 2 licenses. 6 | * http://jquery.org/license 7 | * 8 | * http://docs.jquery.com/UI/Datepicker#theming 9 | */ 10 | div.hasDatepicker{ display: block; padding: 0; overflow: visible; margin: 8px 0; } 11 | .ui-datepicker { overflow: visible; margin: 0; } 12 | .ui-datepicker .ui-datepicker-header { position:relative; padding:.4em 0; border-bottom: 0; font-weight: bold; } 13 | .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { padding: 1px 0 1px 2px; position:absolute; top: .5em; margin-top: 0; text-indent: -9999px; } 14 | 15 | .ui-datepicker .ui-datepicker-prev { left:2px; } 16 | .ui-datepicker .ui-datepicker-next { right:2px; } 17 | .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } 18 | .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } 19 | .ui-datepicker select.ui-datepicker-month-year {width: 100%;} 20 | .ui-datepicker select.ui-datepicker-month, 21 | .ui-datepicker select.ui-datepicker-year { width: 49%;} 22 | .ui-datepicker table {width: 100%; border-collapse: collapse; margin:0; } 23 | .ui-datepicker td { border-width: 1px; padding: 0; text-align: center; } 24 | .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em 0; font-weight: bold; margin: 0; border-width: 0; text-align: center; text-decoration: none; } 25 | 26 | .min-width-480px { 27 | div.hasDatepicker { width: 63%; display: inline-block; margin: 0; } 28 | } -------------------------------------------------------------------------------- /js/jquery.mobile.controlGroup.js: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Mobile Framework : prototype for "controlgroup" plugin - corner-rounding for groups of buttons, checks, radios, etc 3 | * Copyright (c) jQuery Project 4 | * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. 5 | * Note: Code is in draft form and is subject to change 6 | */ 7 | (function($){ 8 | $.fn.controlgroup = function(options){ 9 | 10 | return $(this).each(function(){ 11 | var o = $.extend({ 12 | direction: $( this ).data( "type" ) || "vertical", 13 | shadow: false 14 | },options); 15 | var groupheading = $(this).find('>legend'), 16 | flCorners = o.direction == 'horizontal' ? ['ui-corner-left', 'ui-corner-right'] : ['ui-corner-top', 'ui-corner-bottom'], 17 | type = $(this).find('input:eq(0)').attr('type'); 18 | 19 | //replace legend with more stylable replacement div 20 | if( groupheading.length ){ 21 | $(this).wrapInner('
'); 22 | $('
'+ groupheading.html() +'
').insertBefore( $(this).children(0) ); 23 | groupheading.remove(); 24 | } 25 | 26 | $(this).addClass('ui-corner-all ui-controlgroup ui-controlgroup-'+o.direction); 27 | 28 | function flipClasses(els){ 29 | els 30 | .removeClass('ui-btn-corner-all ui-shadow') 31 | .eq(0).addClass(flCorners[0]) 32 | .end() 33 | .filter(':last').addClass(flCorners[1]).addClass('ui-controlgroup-last'); 34 | } 35 | flipClasses($(this).find('.ui-btn')); 36 | flipClasses($(this).find('.ui-btn-inner')); 37 | if(o.shadow){ 38 | $(this).addClass('ui-shadow'); 39 | } 40 | }); 41 | }; 42 | })(jQuery); -------------------------------------------------------------------------------- /experiments/api-viewer/docs/jQuery.contains/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
6 |

jQuery.contains()

7 | 8 |
9 |
10 |

11 | jQuery.contains( container, contained ) Returns: Boolean 12 |

13 |
14 |

Description: Check to see if a DOM node is within another DOM node.

15 |
  • 16 |

    17 | version added: 1.4jQuery.contains( container, contained )

    18 |

    containerThe DOM element that may contain the other element.

    19 |

    containedThe DOM node that may be contained by the other element.

    20 |
21 |

Example:

22 |
23 |

Check if an element is inside another.

24 |
jQuery.contains(document.documentElement, document.body); // true
25 | jQuery.contains(document.body, document.documentElement); // false
26 |
27 |
28 |
29 | 30 |
31 | 32 | -------------------------------------------------------------------------------- /docs/toolbars/bars-fullscreen.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Framework - Fixed toolbars variation 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 |
14 |

Fullscreen fixed header

15 |
16 | 17 |
18 | Photo Run 19 | 20 |

This page demonstrates the "fullscreen" toolbar mode. This toolbar treatment is used in special cases where you want the content to fill the whole screen, and you want the header and footer toolbars to appear and disappear when the page is clicked responsively — a common scenario for photo, image or video viewers.

21 | 22 |

To enable this toolbar feature type, you apply a data-fullscreen="true" attribute to the div contain that has the attribute data-role="page", and the data-position="fixed" attribute to both the header and footer div elements.

23 | 24 |

Keep in mind that the toolbars in this mode will sit over page content, so not all content will be accessible with the toolbars open, just as shown in this demo.

25 | 26 | 27 | 28 |
29 | 30 |
31 |

Fullscreen fixed footer

32 |
33 | 34 | 35 |
36 | 37 | 38 | -------------------------------------------------------------------------------- /experiments/themeswitcher/jquery.mobile.themeswitcher.js: -------------------------------------------------------------------------------- 1 | //quick & dirty theme switcher, written to potentially work as a bookmarklet 2 | (function($){ 3 | $.themeswitcher = function(){ 4 | var themesDir = 'http://jquerymobile.com/test/themes/', 5 | themes = ['default','valencia'], 6 | currentPage = $.activePage, 7 | menuPage = $( '
' + 8 | '
' + 9 | '
Switch Theme:
'+ 10 | '
'+ 11 | '
    '+ 12 | '
    ' ) 13 | .appendTo( $.pageContainer ), 14 | menu = menuPage.find('ul'); 15 | 16 | //menu items 17 | $.each(themes, function( i ){ 18 | $('
  • ' + themes[ i ].charAt(0).toUpperCase() + themes[ i ].substr(1) + '
  • ') 19 | .click(function(){ 20 | addTheme( themes[i] ); 21 | done(); 22 | return false; 23 | }) 24 | .appendTo(menu); 25 | }); 26 | 27 | //remover, adder 28 | function addTheme(theme){ 29 | $('head').append( '' ); 30 | } 31 | 32 | //finished with this 33 | function done(){ 34 | $.changePage([menuPage, currentPage], 'pop', true); 35 | menuPage.bind('pagehide',function(){ 36 | menuPage.remove(); 37 | }); 38 | return false; 39 | } 40 | 41 | //destroy 42 | menuPage.find('.ui-btn-left').click(done); 43 | 44 | //create page, listview 45 | menuPage.page(); 46 | 47 | //change page now 48 | $.changePage([currentPage, menuPage], 'pop', false); 49 | }; 50 | })(jQuery); 51 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/jQuery.isEmptyObject/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    jQuery.isEmptyObject()

    7 | 8 |
    9 |
    10 |

    11 | jQuery.isEmptyObject( object ) Returns: Boolean 12 |

    13 |
    14 |

    Description: Check to see if an object is empty (contains no properties).

    15 |
    • 16 |

      17 | version added: 1.4jQuery.isEmptyObject( object )

      18 |

      objectThe object that will be checked to see if it's empty.

      19 |
    20 |

    As of jQuery 1.4 this method checks both properties on the object itself and properties inherited from prototypes (in that it doesn't use hasOwnProperty).

    21 |

    Example:

    22 |
    23 |

    Check an object to see if it's empty.

    24 |
    jQuery.isEmptyObject({}) // true
    25 | jQuery.isEmptyObject({ foo: "bar" }) // false
    26 |
    27 |
    28 |
    29 | 30 |
    31 | 32 | -------------------------------------------------------------------------------- /docs/lists/lists-ul.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Lists 6 | 7 | 8 | 9 | 10 | 11 | 12 |
    13 | 14 |
    15 |

    Basic list

    16 |
    17 | 18 |
    19 | 20 | 44 |
    45 |
    46 | 47 | 48 | -------------------------------------------------------------------------------- /docs/forms/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Forms 6 | 7 | 8 | 9 | 10 | 11 | 12 |
    13 | 14 |
    15 |

    Form elements

    16 |
    17 | 18 |
    19 |

    All form elements begin with standard html controls that are enhanced to make them more attractive and easy-to-use. In browsers that don't support the custom controls, they will still have a usable experience because these are all based on native form elements.

    20 | 21 | 35 |
    36 |
    37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /docs/lists/lists-search.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Lists 6 | 7 | 8 | 9 | 10 | 11 | 12 |
    13 | 14 |
    15 |

    Search filter bar

    16 |
    17 | 18 |
    19 | 43 |
    44 |
    45 | 46 | 47 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/header-selector/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    :header Selector

    7 | 8 |
    9 |
    10 |

    11 | header selector

    12 |
    13 |

    14 | version added: 1.2jQuery(':header')

    15 |

    Description: Selects all elements that are headers, like h1, h2, h3 and so on.

    16 |

    Example:

    17 |
    18 |

    Adds a background and text color to all the headers on the page.

    19 |
    <!DOCTYPE html>
    20 | <html>
    21 | <head>
    22 |   <style>
    23 |   body { font-size: 10px; font-family: Arial; } 
    24 |   h1, h2 { margin: 3px 0; }
    25 |   </style>
    26 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    27 | </head>
    28 | <body>
    29 | 	<h1>Header 1</h1>
    30 | 
    31 |   <p>Contents 1</p>
    32 |   <h2>Header 2</h2>
    33 |   <p>Contents 2</p>
    34 | <script>$(":header").css({ background:'#CCC', color:'blue' });</script>
    35 | </body>
    36 | </html>
    37 |

    Demo:

    38 |
    39 |
    40 |
    41 |
    42 | 43 |
    44 | 45 | -------------------------------------------------------------------------------- /docs/forms/forms-search.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Forms 6 | 7 | 8 | 9 | 10 | 11 | 12 |
    13 | 14 |
    15 |

    Search inputs

    16 |
    17 | 18 |
    19 | 20 | 21 | 22 |

    Search inputs

    23 |

    Search inputs are a new HTML type that is styled with pill-shaped corners and adds a "x" icon to clear the field once you start typing. Start with an input with a type="search" attribute in your markup.

    24 |

    Set the for attribute of the label to match the ID of the input so they are semantically associated and wrap them in a div with the data-role="fieldcontain" attribute to group them.

    25 | 26 |
    	
    27 | <div data-role="fieldcontain">
    28 |     <label for="search">Search Input:</label>
    29 |     <input type="search" name="password" id="search" value="" />
    30 | </div>
    31 | 
    32 | 33 |

    The search input is displayed like this:

    34 |
    35 | 36 | 37 |
    38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 |
    46 |
    47 | 48 | 49 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/last-selector/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    :last Selector

    7 | 8 |
    9 |
    10 |

    11 | last selector

    12 |
    13 |

    14 | version added: 1.0jQuery(':last')

    15 |

    Description: Selects the last matched element.

    16 |

    Note that :last selects a single element by filtering the current jQuery collection and matching the last element within it.

    17 |

    Example:

    18 |
    19 |

    Finds the last table row.

    20 |
    <!DOCTYPE html>
    21 | <html>
    22 | <head>
    23 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    24 | </head>
    25 | <body>
    26 | 	<table>
    27 | 
    28 |     <tr><td>First Row</td></tr>
    29 |     <tr><td>Middle Row</td></tr>
    30 |     <tr><td>Last Row</td></tr>
    31 | 
    32 |   </table>
    33 | <script>$("tr:last").css({backgroundColor: 'yellow', fontWeight: 'bolder'});</script>
    34 | </body>
    35 | </html>
    36 |

    Demo:

    37 |
    38 |
    39 |
    40 |
    41 | 42 |
    43 | 44 | -------------------------------------------------------------------------------- /docs/about/platforms.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Intro 6 | 7 | 8 | 9 | 10 | 11 |
    12 | 13 |
    14 |

    Supported platforms

    15 |
    16 | 17 |
    18 | 19 |

    Supported platforms

    20 |

    For the alpha release, the following devices have been tested and should have a fairly solid jQuery Mobile experience. That being said, there are still a fair amount of bugs and performance improvements to be tackled before the 1.0 release in January.

    21 |
      22 |
    • Apple iOS: iPhone, iPod Touch, iPad (all versions)
    • 23 |
    • Android: all devices (all versions)
    • 24 |
    • Blackberry Torch (version 6)
    • 25 |
    • Palm WebOS Pre, Pixi
    • 26 |
    • Nokia N900
    • 27 |
    28 | 29 |

    Older versions of Blackberry, Nokia/Symbian, and Windows Mobile may work but we're still seeing JavaScript errors and rendering bugs that need to be tracked down. We don't yet have phones to test Windows Mobile 7, bada, or MeeGo but these will be added as soon as we can get devices.

    30 | 31 |

    Since jQuery Mobile is built on the jQuery core, all pages should also work great on most recent versions of desktop browsers too - Firefox, Chrome, Safari, Internet Explorer, Opera, etc.

    32 | 33 |

    View supported browser matrix on jQuery Mobile

    34 | 35 | 36 | 37 | 38 |
    39 | 40 |
    41 | 42 | 43 | -------------------------------------------------------------------------------- /experiments/ui-datepicker/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Framework - Datepicker 6 | 7 | 8 | 9 | 10 | 11 | 12 |
    13 | 14 | 15 | 29 | 30 |
    31 |

    Datepicker Styled for mobile

    32 | 33 |
    34 | 35 |
    36 | 37 | 38 |
    39 | 40 |
    41 | 42 | 43 |
    44 | 45 | 46 |
    47 | 48 |
    49 | 50 |
    51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /themes/default/jquery.mobile.controlgroup.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Mobile Framework 3 | * Copyright (c) jQuery Project 4 | * Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. 5 | */ 6 | .ui-controlgroup, fieldset.ui-controlgroup { padding: 0; margin: .5em 0 1em; } 7 | .ui-bar .ui-controlgroup { margin: 0 .3em; } 8 | .ui-controlgroup-label { font-size: 16px; line-height: 1.4; font-weight: normal; margin: 0 0 .3em; } 9 | .ui-controlgroup-controls { display: block; width: 95%;} 10 | .ui-controlgroup li { list-style: none; } 11 | .ui-controlgroup-vertical .ui-btn, 12 | .ui-controlgroup-vertical .ui-checkbox, .ui-controlgroup-vertical .ui-radio { margin: 0; border-bottom-width: 0; } 13 | .ui-controlgroup-vertical .ui-controlgroup-last { border-bottom-width: 1px; } 14 | .ui-controlgroup-horizontal { padding: 0; } 15 | .ui-controlgroup-horizontal .ui-btn, 16 | .ui-controlgroup-horizontal .ui-checkbox, .ui-controlgroup-horizontal .ui-radio { margin: 0 -5px 0 0; display: inline-block; } 17 | .ui-controlgroup-horizontal .ui-checkbox .ui-btn, .ui-controlgroup-horizontal .ui-radio .ui-btn, 18 | .ui-controlgroup-horizontal .ui-checkbox:last-child, .ui-controlgroup-horizontal .ui-radio:last-child { margin-right: 0; } 19 | .ui-controlgroup-horizontal .ui-controlgroup-last { margin-right: 0; } 20 | .ui-controlgroup .ui-checkbox label, .ui-controlgroup .ui-radio label { font-size: 16px; } 21 | /* conflicts with listview.. 22 | .ui-controlgroup .ui-btn-icon-notext { width: 30px; height: 30px; text-indent: -9999px; } 23 | .ui-controlgroup .ui-btn-icon-notext .ui-btn-inner { padding: 5px 6px 5px 5px; } 24 | */ 25 | 26 | .min-width-480px .ui-controlgroup-label { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0; } 27 | .min-width-480px .ui-controlgroup-controls { width: 60%; display: inline-block; } -------------------------------------------------------------------------------- /experiments/api-viewer/docs/event.result/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    event.result

    7 | 8 |
    9 |
    10 |

    11 | event.result Returns: Object 12 |

    13 |
    14 |

    Description: This attribute contains the last value returned by an event handler that was triggered by this event, unless the value was undefined.

    15 |
    • 16 | version added: 1.3event.result

    17 |

    Example:

    18 |
    19 |

    Alert previous handler's return value

    20 |
    <!DOCTYPE html>
    21 | <html>
    22 | <head>
    23 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    24 | </head>
    25 | <body>
    26 | 	
    27 | <script>$("p").click(function(event) {
    28 |   return "hey"
    29 | });
    30 | $("p").click(function(event) {
    31 |   alert( event.result );
    32 | });  </script>
    33 | </body>
    34 | </html>
    35 |

    Demo:

    36 |
    37 |

    Result:

    38 |
    "hey"  
    39 |
    40 |
    41 |
    42 | 43 |
    44 | 45 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/event.pageX/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    event.pageX

    7 | 8 |
    9 |
    10 |

    11 | event.pageX Returns: Number 12 |

    13 |
    14 |

    Description: The mouse position relative to the left edge of the document.

    15 |
    • 16 | version added: 1.0.4event.pageX

    17 |

    Example:

    18 |
    19 |

    Show the mouse position relative to the left and top edges of the document (within the iframe).

    20 |
    <!DOCTYPE html>
    21 | <html>
    22 | <head>
    23 |   <style>body {background-color: #eef; }
    24 | div { padding: 20px; }</style>
    25 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    26 | </head>
    27 | <body>
    28 | 	<div id="log"></div>
    29 | <script>$(document).bind('mousemove',function(e){ 
    30 |             $("#log").text("e.pageX: " + e.pageX + ", e.pageY: " + e.pageY); 
    31 | }); </script>
    32 | </body>
    33 | </html>
    34 |

    Demo:

    35 |
    36 |
    37 |
    38 |
    39 | 40 |
    41 | 42 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/event.pageY/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    event.pageY

    7 | 8 |
    9 |
    10 |

    11 | event.pageY Returns: Number 12 |

    13 |
    14 |

    Description: The mouse position relative to the top edge of the document.

    15 |
    • 16 | version added: 1.0.4event.pageY

    17 |

    Example:

    18 |
    19 |

    Show the mouse position relative to the left and top edges of the document (within this iframe).

    20 |
    <!DOCTYPE html>
    21 | <html>
    22 | <head>
    23 |   <style>body {background-color: #eef; }
    24 | div { padding: 20px; }</style>
    25 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    26 | </head>
    27 | <body>
    28 | 	<div id="log"></div>
    29 | <script>$(document).bind('mousemove',function(e){ 
    30 |             $("#log").text("e.pageX: " + e.pageX + ", e.pageY: " + e.pageY); 
    31 | }); </script>
    32 | </body>
    33 | </html>
    34 |

    Demo:

    35 |
    36 |
    37 |
    38 |
    39 | 40 |
    41 | 42 | -------------------------------------------------------------------------------- /docs/pages/docs-link-scenarios.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Pages 6 | 7 | 8 | 9 | 10 | 11 |
    12 | 13 |
    14 |

    Linking pages

    15 |
    16 | 17 |
    18 | 19 |

    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.

    20 | 21 | 36 | 37 |
    38 |
    39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/event.timeStamp/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    event.timeStamp

    7 | 8 |
    9 |
    10 |

    11 | event.timeStamp Returns: Number 12 |

    13 |
    14 |

    Description: This attribute returns the number of milliseconds since January 1, 1970, when the event is triggered.

    15 |
    • 16 | version added: 1.2.6event.timeStamp

    17 |

    Example:

    18 |
    19 |

    Alert the time since click handler last executed.

    20 |
    <!DOCTYPE html>
    21 | <html>
    22 | <head>
    23 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    24 | </head>
    25 | <body>
    26 | 	
    27 | <script>var last;
    28 | $(document.body).click(function(event) {
    29 |    if( last )
    30 |       alert( "time since last event " + event.timeStamp - last );
    31 |    last = event.timeStamp;
    32 | });  </script>
    33 | </body>
    34 | </html>
    35 |

    Demo:

    36 |
    37 |

    Result:

    38 |
    39 |
    40 |
    41 |
    42 | 43 |
    44 | 45 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/has-selector/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    :has() Selector

    7 | 8 |
    9 |
    10 |

    11 | has selector

    12 |
    13 |

    14 | version added: 1.1.4jQuery(':has(selector)')

    15 |

    Description: Selects elements which contain at least one element that matches the specified selector.

    16 |

    The expression $('div:has(p)') matches a <div> if a <p> exists anywhere among its descendants, not just as a direct child.

    17 |

    Example:

    18 |
    19 |

    Adds the class "test" to all divs that have a paragraph inside of them.

    20 |
    <!DOCTYPE html>
    21 | <html>
    22 | <head>
    23 |   <style>
    24 |   .test{ border: 3px inset red; }
    25 |   </style>
    26 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    27 | </head>
    28 | <body>
    29 | 	<div><p>Hello in a paragraph</p></div>
    30 | 
    31 |   <div>Hello again! (with no paragraph)</div>
    32 | <script>$("div:has(p)").addClass("test");</script>
    33 | </body>
    34 | </html>
    35 |

    Demo:

    36 |
    37 |
    38 |
    39 |
    40 | 41 |
    42 | 43 | -------------------------------------------------------------------------------- /docs/lists/lists-ol.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Lists 6 | 7 | 8 | 9 | 10 | 11 | 12 |
    13 | 14 |
    15 |

    Numbered list

    16 |
    17 | 18 |
    19 |
      20 |
    1. The Godfather
    2. 21 |
    3. Inception
    4. 22 |
    5. The Good, the Bad and the Ugly
    6. 23 |
    7. Pulp Fiction
    8. 24 |
    9. Schindler's List
    10. 25 |
    11. 12 Angry Men
    12. 26 |
    13. One Flew Over the Cuckoo's Nest
    14. 27 |
    15. Star Wars: Episode V - The Empire Strikes Back
    16. 28 |
    17. The Dark Knight
    18. 29 |
    19. The Lord of the Rings: The Return of the King
    20. 30 |
    21. Seven Samurai
    22. 31 |
    23. Star Wars: Episode IV - A New Hope
    24. 32 |
    25. Casablanca
    26. 33 |
    27. Goodfellas
    28. 34 |
    29. Toy Story 3
    30. 35 |
    31. Fight Club
    32. 36 |
    33. City of God
    34. 37 |
    35. The Lord of the Rings: The Fellowship of the Ring
    36. 38 |
    37. The Big Lebowski
    38. 39 |
    39. Psycho
    40. 40 |
    41 |
    42 |
    43 | 44 | 45 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/attribute-ends-with-selector/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    Attribute Ends With Selector [name$=value]

    7 | 8 |
    9 |
    10 |

    11 | attributeEndsWith selector

    12 |
    13 |

    14 | version added: 1.0jQuery('[attribute$=value]')

    15 |
    • 16 |
      attribute
      17 |
      An attribute name.
      18 |
      value
      19 |
      An attribute value. Quotes are optional.
      20 |
    21 |

    Description: Selects elements that have the specified attribute with a value ending exactly with a given string.

    22 |

    Example:

    23 |
    24 |

    Finds all inputs with an attribute name that ends with 'letter' and puts text in them.

    25 |
    <!DOCTYPE html>
    26 | <html>
    27 | <head>
    28 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    29 | </head>
    30 | <body>
    31 | 	<input name="newsletter" />
    32 | 
    33 |   <input name="milkman" />
    34 |   <input name="jobletter" />
    35 | <script>$("input[name$='letter']").val("a letter");</script>
    36 | </body>
    37 | </html>
    38 |

    Demo:

    39 |
    40 |
    41 |
    42 |
    43 | 44 |
    45 | 46 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/has-attribute-selector/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    Has Attribute Selector [name]

    7 | 8 |
    9 |
    10 |

    11 | attributeHas selector

    12 |
    13 |

    14 | version added: 1.0jQuery('[attribute]')

    15 |
    • 16 |
      attribute
      17 |
      An attribute name.
      18 |
    19 |

    Description: Selects elements that have the specified attribute, with any value.

    20 |

    Example:

    21 |
    22 |

    Bind a single click that adds the div id to its text.

    23 |
    <!DOCTYPE html>
    24 | <html>
    25 | <head>
    26 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    27 | </head>
    28 | <body>
    29 | 	<div>no id</div>
    30 |   <div id="hey">with id</div>
    31 | 
    32 |   <div id="there">has an id</div>
    33 |   <div>nope</div>
    34 | <script>
    35 | 
    36 |     $("div[id]").one("click", function(){
    37 |       var idString = $(this).text() + " = " + $(this).attr("id");
    38 |       $(this).text(idString);
    39 |     });
    40 | </script>
    41 | </body>
    42 | </html>
    43 |

    Demo:

    44 |
    45 |
    46 |
    47 |
    48 | 49 |
    50 | 51 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/enabled-selector/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    :enabled Selector

    7 | 8 |
    9 |
    10 |

    11 | enabled selector

    12 |
    13 |

    14 | version added: 1.0jQuery(':enabled')

    15 |

    Description: Selects all elements that are enabled.

    16 |

    As with other pseudo-class selectors (those that begin with a ":") it is recommended to precede it with a tag name or some other selector; otherwise, the universal selector ("*") is implied. In other words, the bare $(':enabled') is equivalent to $('*:enabled'), so $('input:enabled') should be used instead.

    17 |

    Example:

    18 |
    19 |

    Finds all input elements that are enabled.

    20 |
    <!DOCTYPE html>
    21 | <html>
    22 | <head>
    23 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    24 | </head>
    25 | <body>
    26 | 	<form>
    27 | 
    28 |     <input name="email" disabled="disabled" />
    29 |     <input name="id" />
    30 |   </form>
    31 | <script>$("input:enabled").val("this is it");</script>
    32 | </body>
    33 | </html>
    34 |

    Demo:

    35 |
    36 |
    37 |
    38 |
    39 | 40 |
    41 | 42 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/event.isPropagationStopped/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    event.isPropagationStopped()

    7 | 8 |
    9 |
    10 |

    11 | event.isPropagationStopped() Returns: Boolean 12 |

    13 |
    14 |

    Description: Returns whether event.stopPropagation() was ever called on this event object.

    15 |
    • 16 | version added: 1.3event.isPropagationStopped()

    17 |

    Example:

    18 |
    19 |

    Checks whether event.stopPropagation() was called

    20 |
    <!DOCTYPE html>
    21 | <html>
    22 | <head>
    23 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    24 | </head>
    25 | <body>
    26 | 	
    27 | <script>$("p").click(function(event){
    28 |   alert( event.isPropagationStopped() );
    29 |   event.stopPropagation();
    30 |   alert( event.isPropagationStopped() );
    31 | });  </script>
    32 | </body>
    33 | </html>
    34 |

    Demo:

    35 |
    36 |

    Result:

    37 |
    38 |
    39 |
    40 |
    41 | 42 |
    43 | 44 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/disabled-selector/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    :disabled Selector

    7 | 8 |
    9 |
    10 |

    11 | disabled selector

    12 |
    13 |

    14 | version added: 1.0jQuery(':disabled')

    15 |

    Description: Selects all elements that are disabled.

    16 |

    As with other pseudo-class selectors (those that begin with a ":") it is recommended to precede it with a tag name or some other selector; otherwise, the universal selector ("*") is implied. In other words, the bare $(':disabled') is equivalent to $('*:disabled'), so $('input:disabled') should be used instead.

    17 |

    Example:

    18 |
    19 |

    Finds all input elements that are disabled.

    20 |
    <!DOCTYPE html>
    21 | <html>
    22 | <head>
    23 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    24 | </head>
    25 | <body>
    26 | 	<form>
    27 | 
    28 |     <input name="email" disabled="disabled" />
    29 |     <input name="id" />
    30 |   </form>
    31 | <script>$("input:disabled").val("this is it");</script>
    32 | </body>
    33 | </html>
    34 |

    Demo:

    35 |
    36 |
    37 |
    38 |
    39 | 40 |
    41 | 42 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/jQuery.isArray/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    jQuery.isArray()

    7 | 8 |
    9 |
    10 |

    11 | jQuery.isArray( obj ) Returns: boolean 12 |

    13 |
    14 |

    Description: Determine whether the argument is an array.

    15 |
    • 16 |

      17 | version added: 1.3jQuery.isArray( obj )

      18 |

      objObject to test whether or not it is an array.

      19 |
    20 |

    $.isArray() returns a Boolean indicating whether the object is a JavaScript array (not an array-like object, such as a jQuery object).

    21 |

    Example:

    22 |
    23 |

    Finds out if the parameter is an array.

    24 |
    <!DOCTYPE html>
    25 | <html>
    26 | <head>
    27 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    28 | </head>
    29 | <body>
    30 | 	Is [] an Array? <b></b>
    31 | <script>$("b").append( "" + $.isArray([]) );</script>
    32 | </body>
    33 | </html>
    34 |

    Demo:

    35 |
    36 |
    37 |
    38 |
    39 | 40 |
    41 | 42 | -------------------------------------------------------------------------------- /docs/lists/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Lists 6 | 7 | 8 | 9 | 10 | 11 |
    12 | 13 |
    14 |

    Lists

    15 |
    16 | 17 |
    18 | 19 |

    Lists are used for data display, navigation, result lists, and data entry so jQuery Mobile includes a wide range of list types and formatting examples to cover most common design patterns.

    20 | 21 | 40 | 41 | 42 |
    43 |
    44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /docs/about/intro.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Intro 6 | 7 | 8 | 9 | 10 | 11 |
    12 | 13 |
    14 |

    Introduction

    15 |
    16 | 17 |
    18 | 19 | 20 |

    jQuery’s mobile strategy can be summarized simply: Delivering top-of-the-line JavaScript in a unified User Interface that works across the most-used smartphone web browsers and tablet form factors.

    21 | 22 |

    The critical difference with our approach is the wide variety of mobile platforms we’re targeting with jQuery Mobile. We’ve been working hard at bringing jQuery support to all mobile browsers that are sufficiently-capable and have at least a nominal amount of market share. In this way, we’re treating mobile web browsers exactly how we treat desktop web browsers.

    23 | 24 |

    To make this broad support possible, all pages in jQuery Mobile are built on a foundation of clean, semantic HTML to ensure compatibility with pretty much any web-enabled device. In devices that interpret CSS and JavaScript, jQuery Mobile applies progressive enhancement techniques to unobtrusively transform the semantic page into a rich, interactive experience that leverages the power of jQuery and CSS. Accessibility features such as WAI-ARIA are tightly integrated throughout the framework to provide support for screen readers and other assistive technologies.

    25 | 26 | 27 | Smartphone and tablet designs 28 | 29 | 30 | 31 |
    32 | 33 |
    34 | 35 | 36 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/first-selector/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    :first Selector

    7 | 8 |
    9 |
    10 |

    11 | first selector

    12 |
    13 |

    14 | version added: 1.0jQuery(':first')

    15 |

    Description: Selects the first matched element.

    16 |

    The :first pseudo-class is equivalent to :eq(0). It could also be written as :lt(1). While this matches only a single element, :first-child can match more than one: One for each parent.

    17 |

    Example:

    18 |
    19 |

    Finds the first table row.

    20 |
    <!DOCTYPE html>
    21 | <html>
    22 | <head>
    23 |   <style>
    24 | 
    25 |   td { color:blue; font-weight:bold; }
    26 |   </style>
    27 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    28 | </head>
    29 | <body>
    30 | 	<table>
    31 |     <tr><td>Row 1</td></tr>
    32 |     <tr><td>Row 2</td></tr>
    33 | 
    34 |     <tr><td>Row 3</td></tr>
    35 |   </table>
    36 | <script>$("tr:first").css("font-style", "italic");</script>
    37 | </body>
    38 | </html>
    39 |

    Demo:

    40 |
    41 |
    42 |
    43 |
    44 | 45 |
    46 | 47 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/animated-selector/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    :animated Selector

    7 | 8 |
    9 |
    10 |

    11 | animated selector

    12 |
    13 |

    14 | version added: 1.2jQuery(':animated')

    15 |

    Description: Select all elements that are in the progress of an animation at the time the selector is run.

    16 |

    Example:

    17 |
    18 |

    Change the color of any div that is animated.

    19 |
    <!DOCTYPE html>
    20 | <html>
    21 | <head>
    22 |   <style>
    23 |   div { background:yellow; border:1px solid #AAA; width:80px; height:80px; margin:5px; float:left; }
    24 |   div.colored { background:green; }
    25 |   </style>
    26 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    27 | </head>
    28 | <body>
    29 | 	<button id="run">Run</button>
    30 | 
    31 |   <div></div>
    32 |   <div id="mover"></div>
    33 |   <div></div>
    34 | <script>
    35 | 
    36 |     $("#run").click(function(){
    37 |       $("div:animated").toggleClass("colored");
    38 |     });
    39 |     function animateIt() {
    40 |       $("#mover").slideToggle("slow", animateIt);
    41 |     }
    42 |     animateIt();
    43 | </script>
    44 | </body>
    45 | </html>
    46 |

    Demo:

    47 |
    48 |
    49 |
    50 |
    51 | 52 |
    53 | 54 | -------------------------------------------------------------------------------- /themes/default/jquery.mobile.navbar.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Mobile Framework 3 | * Copyright (c) jQuery Project 4 | * Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. 5 | */ 6 | .ui-navbar { overflow: hidden; } 7 | .ui-navbar ul, .ui-navbar-expanded ul { list-style:none; padding: 0; margin: 0; position: relative; display: block; border: 0;} 8 | .ui-navbar-collapsed ul { float: left; width: 75%; margin-right: -2px; } 9 | .ui-navbar-collapsed .ui-navbar-toggle { float: left; width: 25%; } 10 | .ui-navbar li.ui-navbar-truncate { position: absolute; left: -99999px; top: -99999px; } 11 | .ui-navbar li .ui-btn, .ui-navbar .ui-navbar-toggle .ui-btn { display: block; font-size: 12px; text-align: center; margin: 0; outline: none; border-right-width: 0; } 12 | .ui-navbar li .ui-btn { margin-right: -1px; } 13 | .ui-navbar li .ui-btn:last-child { margin-right: 0; } 14 | .ui-header .ui-navbar li .ui-btn, .ui-header .ui-navbar .ui-navbar-toggle .ui-btn, 15 | .ui-footer .ui-navbar li .ui-btn, .ui-footer .ui-navbar .ui-navbar-toggle .ui-btn { border-top-width: 0; border-bottom-width: 0; } 16 | .ui-navbar .ui-btn-inner { padding-left: 2px; padding-right: 2px; } 17 | .ui-navbar-noicons li .ui-btn .ui-btn-inner, .ui-navbar-noicons .ui-navbar-toggle .ui-btn-inner { padding-top: .8em; padding-bottom: .9em; } 18 | /*expanded page styles*/ 19 | .ui-navbar-expanded .ui-btn { margin: 0; font-size: 14px; } 20 | .ui-navbar-expanded .ui-btn-inner { padding-left: 5px; padding-right: 5px; } 21 | .ui-navbar-expanded .ui-btn-icon-top .ui-btn-inner { padding: 45px 5px 15px; text-align: center; } 22 | .ui-navbar-expanded .ui-btn-icon-top .ui-icon { top: 15px; } 23 | .ui-navbar-expanded .ui-btn-icon-bottom .ui-btn-inner { padding: 15px 5px 45px; text-align: center; } 24 | .ui-navbar-expanded .ui-btn-icon-bottom .ui-icon { bottom: 15px; } 25 | .ui-navbar-expanded li .ui-btn .ui-btn-inner { min-height: 2.5em; } 26 | .ui-navbar-expanded .ui-navbar-noicons .ui-btn .ui-btn-inner { padding-top: 1.8em; padding-bottom: 1.9em; } -------------------------------------------------------------------------------- /experiments/api-viewer/docs/contains-selector/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    :contains() Selector

    7 | 8 |
    9 |
    10 |

    11 | contains selector

    12 |
    13 |

    14 | version added: 1.1.4jQuery(':contains(text)')

    15 |

    Description: Select all elements that contain the specified text.

    16 |

    The matching text can appear directly within the selected element, in any of that element's descendants, or a combination thereof. As with attribute value selectors, text inside the parentheses of :contains() can be written as bare words or surrounded by quotation marks. The text must have matching case to be selected.

    17 |

    Example:

    18 |
    19 |

    Finds all divs containing "John" and underlines them.

    20 |
    <!DOCTYPE html>
    21 | <html>
    22 | <head>
    23 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    24 | </head>
    25 | <body>
    26 | 	
    27 | <div>John Resig</div>
    28 | 
    29 | <div>George Martin</div>
    30 | <div>Malcom John Sinclair</div>
    31 | <div>J. Ohn</div>
    32 |       
    33 |     
    34 | <script>
    35 | $("div:contains('John')").css("text-decoration", "underline");
    36 |     </script>
    37 | </body>
    38 | </html>
    39 |

    Demo:

    40 |
    41 |
    42 |
    43 |
    44 | 45 |
    46 | 47 | -------------------------------------------------------------------------------- /themes/default/jquery.mobile.forms.slider.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Mobile Framework 3 | * Copyright (c) jQuery Project 4 | * Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses. 5 | */ 6 | label.ui-slider { display: block; } 7 | input.ui-slider-input, .min-width-480px input.ui-slider-input { display: inline-block; width: 40px; } 8 | select.ui-slider-switch { display: none; } 9 | div.ui-slider { position: relative; display: inline-block; overflow: visible; height: 15px; padding: 0; margin: 0 2% 0 20px; top: 4px; width: 66%; } 10 | a.ui-slider-handle { position: absolute; z-index: 10; top: 50%; width: 28px; height: 28px; margin-top: -15px; margin-left: -15px; } 11 | a.ui-slider-handle .ui-btn-inner { padding-left: 0; padding-right: 0; } 12 | .min-width-480px label.ui-slider { display: inline-block; width: 20%; margin: 0 2% 0 0; } 13 | .min-width-480px div.ui-slider { width: 45%; } 14 | 15 | div.ui-slider-switch { height: 32px; overflow: hidden; margin-left: 0; } 16 | div.ui-slider-inneroffset { margin-left: 50%; position: absolute; top: 1px; height: 100%; width: 50%; } 17 | div.ui-slider-handle-snapping { -webkit-transition: left 100ms linear; } 18 | div.ui-slider-labelbg { position: absolute; top:0; margin: 0; border-width: 0; } 19 | div.ui-slider-switch div.ui-slider-labelbg-a { width: 60%; height: 100%; left: 0; } 20 | div.ui-slider-switch div.ui-slider-labelbg-b { width: 60%; height: 100%; right: 0; } 21 | .ui-slider-switch-a div.ui-slider-labelbg-a, .ui-slider-switch-b div.ui-slider-labelbg-b { z-index: 1; } 22 | .ui-slider-switch-a div.ui-slider-labelbg-b, .ui-slider-switch-b div.ui-slider-labelbg-a { z-index: 10; } 23 | 24 | div.ui-slider-switch a.ui-slider-handle { z-index: 20; width: 101%; height: 32px; margin-top: -18px; margin-left: -101%; } 25 | span.ui-slider-label { width: 100%; position: absolute;height: 32px; font-size: 16px; text-align: center; line-height: 2; background: none; border-color: transparent; } 26 | span.ui-slider-label-a { left: -100%; margin-right: -1px } 27 | span.ui-slider-label-b { right: -100%; margin-left: -1px } 28 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/odd-selector/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    :odd Selector

    7 | 8 |
    9 |
    10 |

    11 | odd selector

    12 |
    13 |

    14 | version added: 1.0jQuery(':odd')

    15 |

    Description: Selects odd elements, zero-indexed. See also even.

    16 |

    In particular, note that the 0-based indexing means that, counter-intuitively, :odd selects the second element, fourth element, and so on within the matched set.

    17 |

    Example:

    18 |
    19 |

    Finds odd table rows, matching the second, fourth and so on (index 1, 3, 5 etc.).

    20 |
    <!DOCTYPE html>
    21 | <html>
    22 | <head>
    23 |   <style>
    24 | 
    25 |   table {
    26 |     background:#f3f7f5;
    27 |   }
    28 |   </style>
    29 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    30 | </head>
    31 | <body>
    32 | 	<table border="1">
    33 |     <tr><td>Row with Index #0</td></tr>
    34 |     <tr><td>Row with Index #1</td></tr>
    35 | 
    36 |     <tr><td>Row with Index #2</td></tr>
    37 |     <tr><td>Row with Index #3</td></tr>
    38 |   </table>
    39 | <script>$("tr:odd").css("background-color", "#bbbbff");</script>
    40 | </body>
    41 | </html>
    42 |

    Demo:

    43 |
    44 |
    45 |
    46 |
    47 | 48 |
    49 | 50 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/even-selector/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    :even Selector

    7 | 8 |
    9 |
    10 |

    11 | even selector

    12 |
    13 |

    14 | version added: 1.0jQuery(':even')

    15 |

    Description: Selects even elements, zero-indexed. See also odd.

    16 |

    In particular, note that the 0-based indexing means that, counter-intuitively, :even selects the first element, third element, and so on within the matched set.

    17 |

    Example:

    18 |
    19 |

    Finds even table rows, matching the first, third and so on (index 0, 2, 4 etc.).

    20 |
    <!DOCTYPE html>
    21 | <html>
    22 | <head>
    23 |   <style>
    24 | 
    25 |   table {
    26 |     background:#eeeeee;
    27 |   }
    28 |   </style>
    29 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    30 | </head>
    31 | <body>
    32 | 	<table border="1">
    33 |     <tr><td>Row with Index #0</td></tr>
    34 |     <tr><td>Row with Index #1</td></tr>
    35 | 
    36 |     <tr><td>Row with Index #2</td></tr>
    37 |     <tr><td>Row with Index #3</td></tr>
    38 |   </table>
    39 | <script>$("tr:even").css("background-color", "#bbbbff");</script>
    40 | </body>
    41 | </html>
    42 |

    Demo:

    43 |
    44 |
    45 |
    46 |
    47 | 48 |
    49 | 50 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/multiple-attribute-selector/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    Multiple Attribute Selector [name=value][name2=value2]

    7 | 8 |
    9 |
    10 |

    11 | attributeMultiple selector

    12 |
    13 |

    14 | version added: 1.0jQuery('[attributeFilter1][attributeFilter2][attributeFilterN]')

    15 |
    • 16 |
      attributeFilter1
      17 |
      An attribute filter.
      18 |
      attributeFilter2
      19 |
      Another attribute filter, reducing the selection even more
      20 |
      attributeFilterN
      21 |
      As many more attribute filters as necessary
      22 |
    23 |

    Description: Matches elements that match all of the specified attribute filters.

    24 |

    Example:

    25 |
    26 |

    Finds all inputs that have an id attribute and whose name attribute ends with man and sets the value.

    27 |
    <!DOCTYPE html>
    28 | <html>
    29 | <head>
    30 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    31 | </head>
    32 | <body>
    33 | 	<input id="man-news" name="man-news" />
    34 | 
    35 |   <input name="milkman" />
    36 |   <input id="letterman" name="new-letterman" />
    37 |   <input name="newmilk" />
    38 | <script>$("input[id][name$='man']").val("only this one");</script>
    39 | </body>
    40 | </html>
    41 |

    Demo:

    42 |
    43 |
    44 |
    45 |
    46 | 47 |
    48 | 49 | -------------------------------------------------------------------------------- /docs/pages/docs-transitions.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Pages 6 | 7 | 8 | 9 | 10 | 11 |
    12 | 13 |
    14 |

    Transitions

    15 |
    16 | 17 |
    18 | 19 |

    Page transitions

    20 | 21 |

    The jQuery Mobile framework includes a set of six CSS-based transition effects that can be applied to any object or page change event, which apply the chosen transition when navigating to a new page and the reverse transition for the Back button. By default, the framework applies the right to left slide transition.

    22 | 23 |

    To set a custom transition effect, add the data-transition attribute to the link. Possible values include:

    24 | 25 | 26 | <a href="index.html" data-transition="pop">I'll pop</a> 27 | 28 | 29 |

    30 | slide 31 | slideup 32 | slidedown 33 | pop 34 | fade 35 | flip 36 |

    37 | 38 |

    In addition, you can also force a "backwards" transition by specifying data-back="true" on your link.

    39 | 40 |
    41 |

    Transitions from jQtouch (with small modifications): Built by David Kaneda and maintained by Jonathan Stark.

    42 |
    43 | 44 |
    45 |
    46 | 47 | 48 | -------------------------------------------------------------------------------- /docs/buttons/buttons-inline.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mobile Docs - Buttons 6 | 7 | 8 | 9 | 10 | 11 | 12 |
    13 | 14 |
    15 |

    Inline buttons

    16 |
    17 | 18 |
    19 | 20 |

    By default, all buttons in the body content are styled as block-level element so they fill the width of the screen:

    21 | 22 | Button 23 | 24 | 25 |

    However, if you want a more compact button that is only as wide as the text and icons inside, add the data-inline="true" attribute to the button:

    26 | 27 | 28 | Button 29 | 30 |

    If you have multiple buttons that should sit side-by-side on the same line, wrap the buttons in a container that has a data-inline="true" attribute. This will style the buttons to be the width of their content and float the buttons so they sit on the same line.

    31 | 32 |
    
    33 | <div data-inline="true">
    34 | 	<a href="index.html" data-role="button">Cancel</a>
    35 | 	<a href="index.html" data-role="button" data-theme="b">Save</a>
    36 | </div>
    37 | 
    38 | 39 |

    This creates an inline button set:

    40 | 41 | Cancel 42 | Save 43 | 44 | 45 |

    If you want buttons to sit side-by-side but stretch to fill the width of the screen, you can use the content column grids to put normal full-width buttons into 2- or 3-columns.

    46 | 47 | 48 | 49 |
    50 |
    51 | 52 | 53 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/jQuery.parseJSON/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    jQuery.parseJSON

    7 | 8 |
    9 |
    10 |

    11 | jQuery.parseJSON( json ) Returns: Object 12 |

    13 |
    14 |

    Description: Takes a well-formed JSON string and returns the resulting JavaScript object.

    15 |
    • 16 |

      17 | version added: 1.4.1jQuery.parseJSON( json )

      18 |

      jsonThe JSON string to parse.

      19 |
    20 |
    21 |

    Passing in a malformed JSON string will result in an exception being thrown. For example, the following are all malformed JSON strings:

    22 |
      23 |
    • 24 | {test: 1} (test does not have double quotes around it).
    • 25 |
    • 26 | {'test': 1} ('test' is using single quotes instead of double quotes).
    • 27 |
    28 |

    Additionally if you pass in nothing, an empty string, null, or undefined, 'null' will be returned from parseJSON. Where the browser provides a native implementation of JSON.parse, jQuery uses it to parse the string. For details on the JSON format, see http://json.org/. 29 |

    30 |
    31 |

    Example:

    32 |
    33 |

    Parse a JSON string.

    34 |
    var obj = jQuery.parseJSON('{"name":"John"}');
    35 | alert( obj.name === "John" );
    36 |
    37 |
    38 |
    39 | 40 |
    41 | 42 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/attribute-starts-with-selector/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    Attribute Starts With Selector [name^=value]

    7 | 8 |
    9 |
    10 |

    11 | attributeStartsWith selector

    12 |
    13 |

    14 | version added: 1.0jQuery('[attribute^=value]')

    15 |
    • 16 |
      attribute
      17 |
      An attribute name.
      18 |
      value
      19 |
      An attribute value. Quotes are optional.
      20 |
    21 |

    Description: Selects elements that have the specified attribute with a value beginning exactly with a given string.

    22 |

    This selector can be useful for identifying elements in pages produced by server-side frameworks that produce HTML with systematic element IDs. However it will be slower than using a class selector so leverage classes, if you can, to group like elements.

    23 |

    Example:

    24 |
    25 |

    Finds all inputs with an attribute name that starts with 'news' and puts text in them.

    26 |
    <!DOCTYPE html>
    27 | <html>
    28 | <head>
    29 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    30 | </head>
    31 | <body>
    32 | 	<input name="newsletter" />
    33 | 
    34 |   <input name="milkman" />
    35 |   <input name="newsboy" />
    36 | <script>$("input[name^='news']").val("news here!");</script>
    37 | </body>
    38 | </html>
    39 |

    Demo:

    40 |
    41 |
    42 |
    43 |
    44 | 45 |
    46 | 47 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/event.which/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    event.which

    7 | 8 |
    9 |
    10 |

    11 | event.which Returns: String 12 |

    13 |
    14 |

    Description: For key or button events, this attribute indicates the specific button or key that was pressed.

    15 |
    • 16 | version added: 1.1.3event.which

    17 |

    event.which normalizes event.keyCode and event.charCode. It is recommended to watch event.which for keyboard key input. For more detail, read about event.charCode on the MDC.

    18 |

    Example:

    19 |
    20 |

    Log what key was depressed.

    21 |
    <!DOCTYPE html>
    22 | <html>
    23 | <head>
    24 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    25 | </head>
    26 | <body>
    27 | 	
    28 | <input id="whichkey" value="type something">
    29 | <div id="log"></div>
    30 | <script>$('#whichkey').bind('keydown',function(e){ 
    31 |   $('#log').html(e.type + ': ' +  e.which );
    32 | });  </script>
    33 | </body>
    34 | </html>
    35 |

    Demo:

    36 |
    37 |

    Result:

    38 |
    "keydown" 74  
    39 |
    40 |
    41 |
    42 | 43 |
    44 | 45 | -------------------------------------------------------------------------------- /experiments/api-viewer/docs/length/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 |
    6 |

    .length

    7 | 8 |
    9 |
    10 |

    11 | length Returns: Number 12 |

    13 |
    14 |

    Description: The number of elements in the jQuery object.

    15 |
    • 16 | version added: 1.0length

    17 |

    The number of elements currently matched. The .size() method will return the same value.

    18 |

    Example:

    19 |
    20 |

    Count the divs. Click to add more.

    21 |
    <!DOCTYPE html>
    22 | <html>
    23 | <head>
    24 |   <style>
    25 | 
    26 |   body { cursor:pointer; }
    27 |   div { width:50px; height:30px; margin:5px; float:left;
    28 |         background:green; }
    29 |   span { color:red; }
    30 |   </style>
    31 |   <script src="http://code.jquery.com/jquery-latest.js"></script>
    32 | </head>
    33 | <body>
    34 | 	<span></span>
    35 |   <div></div>
    36 | <script>$(document.body).click(function () {
    37 |       $(document.body).append($("<div>"));
    38 |       var n = $("div").length;
    39 |       $("span").text("There are " + n + " divs." +
    40 |                      "Click to add more.");
    41 |     }).trigger('click'); // trigger the click to start</script>
    42 | </body>
    43 | </html>
    44 |

    Demo:

    45 |
    46 |
    47 |
    48 |
    49 | 50 |
    51 | 52 | --------------------------------------------------------------------------------