RubyApp 0.6.67 → 0.6.68
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ruby_app/application.rb +1 -1
- data/lib/ruby_app/elements/mobile/document.js.haml +0 -1
- data/lib/ruby_app/elements/mobile/document.rb +2 -4
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0 → jquery.mobile-1.3.0}/demos/css/themes/default/images/ajax-loader.gif +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/css/themes/default/images/icons-18-black.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/css/themes/default/images/icons-18-white.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/css/themes/default/images/icons-36-black.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/css/themes/default/images/icons-36-white.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/css/themes/default/jquery.mobile-1.3.0.css +3357 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/css/themes/default/jquery.mobile-1.3.0.min.css +2 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/css/themes/default/jquery.mobile.structure-1.3.0.css +2197 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/css/themes/default/jquery.mobile.structure-1.3.0.min.css +2 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/jquery.mobile.theme-1.1.0.css → jquery.mobile-1.3.0/demos/css/themes/default/jquery.mobile.theme-1.3.0.css} +367 -367
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/css/themes/default/jquery.mobile.theme-1.3.0.min.css +2 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/css/jqm-demos.css +1032 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/css/jqm_demo-icons-hd.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/css/jqm_demo-icons-sd.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/lists/images → jquery.mobile-1.3.0/demos/docs/_assets/img}/album-af.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/lists/images → jquery.mobile-1.3.0/demos/docs/_assets/img}/album-ag.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/album-bb.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/lists/images → jquery.mobile-1.3.0/demos/docs/_assets/img}/album-bk.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/lists/images → jquery.mobile-1.3.0/demos/docs/_assets/img}/album-hc.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/lists/images → jquery.mobile-1.3.0/demos/docs/_assets/img}/album-k.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/lists/images → jquery.mobile-1.3.0/demos/docs/_assets/img}/album-mg.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/lists/images → jquery.mobile-1.3.0/demos/docs/_assets/img}/album-ok.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/lists/images → jquery.mobile-1.3.0/demos/docs/_assets/img}/album-p.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/lists/images → jquery.mobile-1.3.0/demos/docs/_assets/img}/album-rh.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/lists/images → jquery.mobile-1.3.0/demos/docs/_assets/img}/album-ws.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/lists/images → jquery.mobile-1.3.0/demos/docs/_assets/img}/album-xx.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/apple.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/bg-pattern.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/bike.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/blackberry_10.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/bmw-thumb.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/bmw.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/buenosaires.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/capetown.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/lists/images → jquery.mobile-1.3.0/demos/docs/_assets/img}/de.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/lists/images → jquery.mobile-1.3.0/demos/docs/_assets/img}/fi.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/firefox-logo.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/firefox_os.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/galaxy_express.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/lists/images → jquery.mobile-1.3.0/demos/docs/_assets/img}/gb.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/lists/images → jquery.mobile-1.3.0/demos/docs/_assets/img}/gf.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/toolbars → jquery.mobile-1.3.0/demos/docs/_assets/img}/glyphish-icons/09-chat2.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/toolbars → jquery.mobile-1.3.0/demos/docs/_assets/img}/glyphish-icons/100-coffee.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/toolbars → jquery.mobile-1.3.0/demos/docs/_assets/img}/glyphish-icons/18-envelope.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/toolbars → jquery.mobile-1.3.0/demos/docs/_assets/img}/glyphish-icons/19-gear.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/toolbars → jquery.mobile-1.3.0/demos/docs/_assets/img}/glyphish-icons/21-skull.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/toolbars → jquery.mobile-1.3.0/demos/docs/_assets/img}/glyphish-icons/30-key.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/toolbars → jquery.mobile-1.3.0/demos/docs/_assets/img}/glyphish-icons/34-coffee.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/toolbars → jquery.mobile-1.3.0/demos/docs/_assets/img}/glyphish-icons/88-beermug.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/glyphish-icons/Read me first - license.txt b/data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/glyphish-icons/Read me first - → license.txt +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/jquery-logo.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/landrover-thumb.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/landrover.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/lumia_800.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/newyork.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/nexus_7.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/paris.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/phone_galaxy3.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/phone_iphone5.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/phone_lumia920.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/phone_onex.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/photo-landscape.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/photo-portrait.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/toolbars/images → jquery.mobile-1.3.0/demos/docs/_assets/img}/photo-run.jpeg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/seoul.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/sydney.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/tesla-thumb.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/tesla.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/img/tizen.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/lists/images → jquery.mobile-1.3.0/demos/docs/_assets/img}/us.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/js/globalnav.js +35 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/js/h2widget.js +169 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/js/index.html +10 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/js/jqm-demos.js +336 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/js/jquery.mobile.demos.js +1076 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/_assets/js/view-source.js +533 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/backbone-require/backbone-require.html +83 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/backbone-require/index.html +445 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/backbone-require/js/collections/CategoriesCollection.js +98 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/backbone-require/js/libs/backbone.js +1431 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/js → jquery.mobile-1.3.0/demos/docs/examples/backbone-require/js/libs}/jquery.js +3932 -3731
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/backbone-require/js/libs/jquerymobile.js +10945 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/backbone-require/js/libs/lodash.js +4215 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/backbone-require/js/libs/require.js +1981 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/backbone-require/js/mobile.js +45 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/backbone-require/js/models/CategoryModel.js +15 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/backbone-require/js/routers/mobileRouter.js +83 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/backbone-require/js/views/CategoryView.js +37 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/collapsibles/dynamic-collapsible.html +363 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/controlgroups/dynamic-controlgroup.html +428 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/index.html +388 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/listviews/autodividers-linkbar-demo.html +158 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/listviews/autodividers-linkbar.css +20 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/listviews/autodividers-linkbar.html +692 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/listviews/autodividers-linkbar.js +58 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/listviews/autodividers-selector.html +368 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/listviews/grid-listview-demo.html +84 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/listviews/grid-listview.css +180 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/listviews/grid-listview.html +411 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/panels/panel-styling.html +551 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/panels/panel-swipe-open.html +413 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/popups/arrow.html +363 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/popups/dynamic-popup.html +407 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/popups/jquery.mobile.popup.arrow.css +233 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/popups/popup.arrow.js +276 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/redirect/index.html +375 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/redirect/redirect-target.html +27 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/redirect/redirect.php +19 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/redirect/source.php +4 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/slider/slider.tooltip.css +15 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/slider/slider.tooltip.js +111 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/slider/tooltip.html +339 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/swipe/buenosaires.html +46 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/swipe/capetown.html +46 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/swipe/newyork.html +46 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/swipe/paris.html +46 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/swipe/seoul.html +46 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/swipe/swipe-list.html +805 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/swipe/swipe-page.css +39 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/swipe/swipe-page.html +368 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/swipe/swipe-page.js +37 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/swipe/sydney.html +46 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/tables/financial-grouped-columns.html +506 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/tables/financial-grouped-reflow.html +503 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/tables/movie-list-toggle-options.html +422 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/tables/movie-list.html +529 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/examples/tables/phone-compare.html +477 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/controls-in-header-footer.html +335 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/disabling-a-button-does-not-work.html +335 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/dom-ready-not-working.html +349 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/how-can-i-stop-auto-enhancement-of-a-block-of-elements.html +342 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/how-can-i-stop-auto-enhancement-of-elements.html +348 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/how-configure-phonegap-cordova.html +398 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/how-do-i-control-page-titles.html +344 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/how-do-i-load-a-page.html +338 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/how-do-i-scroll-to-a-position.html +340 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/how-do-i-use-touch-mouse-events.html +335 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/how-does-theming-work.html +446 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/index.html +424 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/injected-content-is-not-enhanced.html +360 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/my-html-5-inputs-look-different-in-browsers.html +335 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/my-range-search-input-type-is-being-changed.html +335 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/pass-query-params-to-page.html +343 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/pass-via-the-hash-to-page.html +334 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/question-template.html +353 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/scripts-and-styles-not-loading.html +342 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/sometimes-custom-select-shows-as-dialog-popup.html +335 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/the-application-cache-is-not-working.html +346 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/triggering-create-on-injected-content-does-not-work.html +346 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/updating-the-value-of-enhanced-form-elements-does-not-work.html +364 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/faq/why-is-only-the-first-page-loaded.html +334 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/favicon.ico +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/global-nav.html +73 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/index.html +31 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/intro/index.html +418 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/intro/rwd.html +409 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/nav-examples.html +55 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/nav-faq.html +91 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/nav-widgets.html +61 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/search-results.html +540 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/search.html +214 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/accordions/index.html +513 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/autocomplete/autocomplete-remote.html +376 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/autocomplete/index.html +416 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/buttons/buttons-grids.html +453 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/buttons/index.html +476 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/checkbox/index.html +426 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/collapsibles/index.html +512 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/controlgroups/index.html +651 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/pages → jquery.mobile-1.3.0/demos/docs/widgets/dialog}/dialog-alt.html +4 -6
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/pages → jquery.mobile-1.3.0/demos/docs/widgets/dialog}/dialog-buttons.html +4 -6
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/dialog/dialog-corners.html +29 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/dialog/dialog-noclosebtn.html +29 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/pages → jquery.mobile-1.3.0/demos/docs/widgets/dialog}/dialog-overlay.html +4 -6
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/dialog/dialog-rightclosebtn.html +29 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/pages → jquery.mobile-1.3.0/demos/docs/widgets/dialog}/dialog-success.html +6 -8
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/pages → jquery.mobile-1.3.0/demos/docs/widgets/dialog}/dialog-with-select.html +7 -9
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/pages → jquery.mobile-1.3.0/demos/docs/widgets/dialog}/dialog.html +8 -10
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/dialog/index.html +403 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/toolbars/footer-persist-d.html → jquery.mobile-1.3.0/demos/docs/widgets/footers/footer-persist-a.html} +32 -33
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/toolbars/footer-persist-a.html → jquery.mobile-1.3.0/demos/docs/widgets/footers/footer-persist-b.html} +17 -28
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/toolbars/footer-persist-b.html → jquery.mobile-1.3.0/demos/docs/widgets/footers/footer-persist-c.html} +22 -26
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/toolbars/footer-persist-c.html → jquery.mobile-1.3.0/demos/docs/widgets/footers/footer-persist-d.html} +17 -40
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/footers/index.html +387 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/forms/form-disabled.html +795 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/forms/form-fieldcontain.html +785 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/forms/form-hide-label.html +785 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/forms/form-label-hidden.html +713 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/forms/form.html +646 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/forms/index.html +706 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/grids/grid-custom.html +438 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/grids/index.html +497 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/headers/bars-fixed-forms.html +121 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/headers/bars-fixed.html +471 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/headers/bars-fullscreen.html +333 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/headers/index.html +444 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/icons/index.html +642 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/index.html +395 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/links/index.html +411 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/listviews/index.html +853 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/loader/index.html +384 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/navbar/footer-persist-a.html +358 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/navbar/footer-persist-b.html +370 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/navbar/footer-persist-c.html +408 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/navbar/footer-persist-d.html +386 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/navbar/index.html +599 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/navigation/demo.js +38 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/navigation/index.html +429 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/pages/index.html +524 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs → jquery.mobile-1.3.0/demos/docs/widgets}/pages/multipage-template.html +32 -31
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/panels/index.html +535 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/panels/panel-fixed.html +170 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/popup/index.html +582 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/popup/map.html +38 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/popup/popup-examples.css +16 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/popup/popup-examples.js +98 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/popup/popup-iframes.html +526 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/popup/popup-images.html +361 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/radiobuttons/index.html +434 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/selects/custom-selects.html +598 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/selects/index.html +545 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/sliders/index.html +479 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/sliders/rangeslider.html +534 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/sliders/switch.html +485 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/table-column-toggle/index.html +602 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/table-reflow/index.html +458 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/textinputs/index.html +689 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/docs/widgets/transitions/index.html +447 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/pages → jquery.mobile-1.3.0/demos/docs/widgets/transitions}/page-transitions-dialog.html +11 -11
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/docs/pages → jquery.mobile-1.3.0/demos/docs/widgets/transitions}/page-transitions-page.html +13 -15
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/index.html +340 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/js/jquery.js +9597 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/js/jquery.mobile-1.3.0.js +11092 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/demos/js/jquery.mobile-1.3.0.min.js +2 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0 → jquery.mobile-1.3.0}/images/ajax-loader.gif +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/images/icons-18-black.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/images/icons-18-white.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/images/icons-36-black.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/images/icons-36-white.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/jquery.mobile-1.3.0.css +3357 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/jquery.mobile-1.3.0.js +11092 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/jquery.mobile-1.3.0.min.css +2 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/jquery.mobile-1.3.0.min.js +2 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/jquery.mobile.structure-1.3.0.css +2197 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/jquery.mobile.structure-1.3.0.min.css +2 -0
- data/lib/ruby_app/resources/elements/mobile/document/{jquery.mobile-1.1.0/demos/css/themes/default/jquery.mobile.theme-1.1.0.css → jquery.mobile-1.3.0/jquery.mobile.theme-1.3.0.css} +367 -367
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.3.0/jquery.mobile.theme-1.3.0.min.css +2 -0
- data/lib/ruby_app/scripts/phantom/phantom.js +23 -0
- data/lib/ruby_app/scripts/phantom/standard_no_logon.rb +3 -0
- data/lib/ruby_app/version.rb +1 -1
- metadata +253 -254
- data/lib/ruby_app/resources/elements/mobile/document/fastclick-0.5.6.js +0 -660
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/css/themes/default/images/ajax-loader.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/css/themes/default/images/icons-18-black.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/css/themes/default/images/icons-18-white.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/css/themes/default/images/icons-36-black.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/css/themes/default/images/icons-36-white.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/css/themes/default/jquery.mobile-1.1.0.css +0 -2053
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/css/themes/default/jquery.mobile-1.1.0.min.css +0 -2
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/css/themes/default/jquery.mobile.structure-1.1.0.css +0 -946
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/css/themes/default/jquery.mobile.structure-1.1.0.min.css +0 -2
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/css/themes/default/jquery.mobile.theme-1.1.0.min.css +0 -2
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/_assets/css/jqm-docs.css +0 -359
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/_assets/images/ios_icon.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/_assets/images/ios_startup.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/_assets/images/jqm-sitebg.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/_assets/images/jquery-logo.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/_assets/images/mobile-devices.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/_assets/images/px-ccc.gif +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/_assets/images/themroller-mobile-logo.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/_assets/images/version.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/_assets/js/_viewsource.js +0 -42
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/_assets/js/jqm-docs.js +0 -52
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/about/accessibility.html +0 -70
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/about/features.html +0 -77
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/about/getting-started.html +0 -171
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/about/index.html +0 -40
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/about/intro.html +0 -70
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/about/platforms.html +0 -108
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/api/data-attributes.html +0 -530
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/api/events-nav.html +0 -557
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/api/events.html +0 -514
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/api/globalconfig.html +0 -181
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/api/index.html +0 -40
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/api/mediahelpers.html +0 -133
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/api/methods.html +0 -597
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/api/themes.html +0 -291
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/buttons/api-buttons.html +0 -45
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/buttons/buttons-events.html +0 -92
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/buttons/buttons-grouped.html +0 -112
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/buttons/buttons-icons.html +0 -247
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/buttons/buttons-inline.html +0 -99
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/buttons/buttons-methods.html +0 -98
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/buttons/buttons-options.html +0 -153
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/buttons/buttons-themes.html +0 -130
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/buttons/buttons-types.html +0 -119
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/buttons/index.html +0 -43
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/config/dialogTransition.html +0 -44
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/config/iOSFullscreen.html +0 -50
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/config/index.html +0 -86
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/config/jq17b1.html +0 -37
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/config/loadingMessage.html +0 -43
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/config/loadingMessageTextVisible.html +0 -84
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/config/minScrollBack.html +0 -43
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/config/pageLoadErrorMessage.html +0 -45
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/config/pageTransition.html +0 -43
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/config/pushState.html +0 -44
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/config/touchOverflow.html +0 -51
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/content/api-content.html +0 -42
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/content/content-collapsible-events.html +0 -109
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/content/content-collapsible-methods.html +0 -67
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/content/content-collapsible-options.html +0 -178
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/content/content-collapsible-set-events.html +0 -89
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/content/content-collapsible-set-methods.html +0 -80
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/content/content-collapsible-set-options.html +0 -112
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/content/content-collapsible-set.html +0 -198
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/content/content-collapsible.html +0 -226
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/content/content-grids.html +0 -193
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/content/content-html.html +0 -144
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/content/content-themes.html +0 -144
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/content/index.html +0 -45
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/checkboxes/events.html +0 -104
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/checkboxes/index.html +0 -189
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/checkboxes/methods.html +0 -108
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/checkboxes/options.html +0 -98
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/docs-forms.html +0 -267
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/forms-all-compare.html +0 -263
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/forms-all-mini.html +0 -245
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/forms-all-native.html +0 -250
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/forms-all.html +0 -247
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/forms-sample-response.php +0 -81
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/forms-sample-selfsubmit.php +0 -80
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/forms-sample.html +0 -114
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/forms-themes.html +0 -408
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/index.html +0 -50
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/plugin-eventsmethods.html +0 -73
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/radiobuttons/events.html +0 -106
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/radiobuttons/index.html +0 -225
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/radiobuttons/methods.html +0 -108
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/radiobuttons/options.html +0 -98
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/search/events.html +0 -103
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/search/index.html +0 -141
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/search/methods.html +0 -100
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/search/options.html +0 -113
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/selects/custom.html +0 -424
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/selects/events.html +0 -105
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/selects/index.html +0 -418
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/selects/methods.html +0 -126
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/selects/options.html +0 -173
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/slider/events.html +0 -104
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/slider/index.html +0 -179
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/slider/methods.html +0 -108
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/slider/options.html +0 -131
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/switch/events.html +0 -104
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/switch/index.html +0 -210
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/switch/methods.html +0 -108
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/switch/options.html +0 -123
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/textinputs/events.html +0 -103
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/textinputs/index.html +0 -244
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/textinputs/methods.html +0 -100
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/forms/textinputs/options.html +0 -117
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/index.html +0 -33
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/docs-lists.html +0 -177
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/images/album-bb.jpg +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/images/sj.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/index.html +0 -72
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-all-full.html +0 -174
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-count.html +0 -83
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-divider.html +0 -114
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-events.html +0 -108
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-formatting.html +0 -135
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-forms-inset.html +0 -249
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-forms.html +0 -249
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-icons.html +0 -89
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-inset.html +0 -175
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-methods.html +0 -108
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-nested.html +0 -194
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-ol.html +0 -98
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-options.html +0 -222
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-performance.html +0 -578
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-readonly-inset.html +0 -171
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-readonly.html +0 -173
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-search-filtertext.html +0 -94
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-search-inset.html +0 -100
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-search-with-dividers.html +0 -113
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-search.html +0 -100
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-split-purchase.html +0 -35
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-split.html +0 -147
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-themes.html +0 -264
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-thumbnails.html +0 -135
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/lists/lists-ul.html +0 -100
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/nav.html +0 -296
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/docs-links-urltest/index.html +0 -28
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/dynamic-samples/animals.html +0 -27
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/dynamic-samples/category.php +0 -150
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/dynamic-samples/colors.html +0 -31
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/dynamic-samples/index.html +0 -26
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/dynamic-samples/sample-reuse-page-external.html +0 -121
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/dynamic-samples/sample-reuse-page.html +0 -197
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/dynamic-samples/vehicles.html +0 -27
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/index.html +0 -52
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/page-anatomy.html +0 -225
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/page-cache.html +0 -125
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/page-customtransitions.html +0 -297
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/page-dialogs.html +0 -129
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/page-dynamic.html +0 -300
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/page-links.html +0 -147
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/page-navmodel.html +0 -182
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/page-scripting.html +0 -156
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/page-template.html +0 -34
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/page-titles.html +0 -82
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/page-transitions.html +0 -174
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/pages-themes.html +0 -150
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/pages-themes/theme-a.html +0 -163
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/pages-themes/theme-b.html +0 -163
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/pages-themes/theme-c.html +0 -163
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/pages-themes/theme-d.html +0 -163
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/pages-themes/theme-e.html +0 -163
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/phonegap.html +0 -115
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/touchoverflow.html +0 -127
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/pages/transition-success.html +0 -33
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/bars-fixed-events.html +0 -84
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/bars-fixed-forms-a.html +0 -299
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/bars-fixed-forms-b.html +0 -129
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/bars-fixed-forms-c.html +0 -129
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/bars-fixed-forms-d.html +0 -153
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/bars-fixed-forms-e.html +0 -153
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/bars-fixed-forms-f.html +0 -129
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/bars-fixed-forms-g.html +0 -231
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/bars-fixed-forms-h.html +0 -135
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/bars-fixed-forms.html +0 -45
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/bars-fixed-methods.html +0 -134
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/bars-fixed-options.html +0 -177
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/bars-fixed.html +0 -231
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/bars-fullscreen.html +0 -68
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/bars-themes.html +0 -177
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/docs-bars.html +0 -85
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/docs-footers.html +0 -153
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/docs-headers.html +0 -216
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/docs-navbar.html +0 -318
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/docs/toolbars/index.html +0 -45
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/index.html +0 -76
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/js/jquery.mobile-1.1.0.js +0 -7551
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/demos/js/jquery.mobile-1.1.0.min.js +0 -177
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/images/ajax-loader.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/images/icons-18-black.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/images/icons-18-white.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/images/icons-36-black.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/images/icons-36-white.png +0 -0
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/jquery.mobile-1.1.0.css +0 -2053
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/jquery.mobile-1.1.0.js +0 -7551
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/jquery.mobile-1.1.0.min.css +0 -2
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/jquery.mobile-1.1.0.min.js +0 -177
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/jquery.mobile.structure-1.1.0.css +0 -946
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/jquery.mobile.structure-1.1.0.min.css +0 -2
- data/lib/ruby_app/resources/elements/mobile/document/jquery.mobile-1.1.0/jquery.mobile.theme-1.1.0.min.css +0 -2
- data/lib/ruby_app/resources/elements/mobile/document/jquery.ui.touch-punch-0.2.2.min.js +0 -11
@@ -0,0 +1,38 @@
|
|
1
|
+
(function( $ ) {
|
2
|
+
// On document ready
|
3
|
+
$(function() {
|
4
|
+
|
5
|
+
// Bind to the navigate event
|
6
|
+
$( window ).on( "navigate", function() {
|
7
|
+
console.log( "navigated!" );
|
8
|
+
});
|
9
|
+
|
10
|
+
// Bind to the click of the example link
|
11
|
+
$( "#event-example" ).click(function( event ) {
|
12
|
+
event.preventDefault();
|
13
|
+
location.hash = "foo";
|
14
|
+
});
|
15
|
+
|
16
|
+
// Bind to the click of the example link
|
17
|
+
$( "#method-example" ).click(function( event ) {
|
18
|
+
// Append #bar
|
19
|
+
$.mobile.navigate( "#bar", {
|
20
|
+
info: "info about the #bar hash"
|
21
|
+
});
|
22
|
+
|
23
|
+
// Replace #bar with #baz
|
24
|
+
$.mobile.navigate( "#baz" );
|
25
|
+
|
26
|
+
// Log the results of the navigate event
|
27
|
+
$( window ).on( "navigate", function( event, data ){
|
28
|
+
console.log( data.state.info );
|
29
|
+
console.log( data.state.direction );
|
30
|
+
console.log( data.state.url );
|
31
|
+
console.log( data.state.hash );
|
32
|
+
});
|
33
|
+
|
34
|
+
// Go back to pop the state for #bar and log it
|
35
|
+
window.history.back();
|
36
|
+
});
|
37
|
+
});
|
38
|
+
})( jQuery );
|
@@ -0,0 +1,429 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
6
|
+
<title>Navigation - jQuery Mobile Demos</title>
|
7
|
+
<link rel="stylesheet" href="../../../css/themes/default/jquery.mobile-1.3.0.css">
|
8
|
+
<link rel="stylesheet" href="../../_assets/css/jqm-demos.css">
|
9
|
+
<link rel="shortcut icon" href="../favicon.ico">
|
10
|
+
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700">
|
11
|
+
<script src="../../../js/jquery.js"></script>
|
12
|
+
<script src="../../_assets/js/jquery.mobile.demos.js"></script>
|
13
|
+
<script src="../../../js/jquery.mobile-1.3.0.js"></script>
|
14
|
+
<script type="text/javascript" src="demo.js"></script>
|
15
|
+
</head>
|
16
|
+
<body>
|
17
|
+
<div data-role="page" class="jqm-demos" data-quicklinks="true">
|
18
|
+
|
19
|
+
<div data-role="header" class="jqm-header">
|
20
|
+
<h1 class="jqm-logo"><a href="../../../"><img src="../../_assets/img/jquery-logo.png" alt="jQuery Mobile Framework"></a></h1>
|
21
|
+
<a href="#" class="jqm-navmenu-link" data-icon="bars" data-iconpos="notext">Navigation</a>
|
22
|
+
<a href="#" class="jqm-search-link" data-icon="search" data-iconpos="notext">Search</a>
|
23
|
+
|
24
|
+
<div class="jqm-search">
|
25
|
+
<ul class="jqm-list">
|
26
|
+
|
27
|
+
<li data-section="Widgets" data-filtertext="accordions collapsible sets content formatting grouped inset mini"><a href="widgets/accordions/">Accordion</a></li>
|
28
|
+
|
29
|
+
<li data-section="Widgets" data-filtertext="ajax navigation navigate event method"><a href="widgets/navigation/" data-ajax="false">AJAX Navigation</a></li>
|
30
|
+
|
31
|
+
<li data-section="Widgets" data-filtertext="autocomplete filter reveal listviews remote listviewbeforefilter placeholder"><a href="widgets/autocomplete/" data-ajax="false">Autocomplete</a></li>
|
32
|
+
|
33
|
+
<li data-section="Widgets" data-filtertext="buttons inputs forms inline theme grouped icons mini disabled"><a href="widgets/buttons/" data-ajax="false">Buttons</a></li>
|
34
|
+
|
35
|
+
<li data-section="Widgets" data-filtertext="checkboxes checkboxradio inputs forms mini disabled"><a href="widgets/checkbox/">Checkboxes</a></li>
|
36
|
+
|
37
|
+
<li data-section="Widgets" data-filtertext="collapsibles content formatting"><a href="widgets/collapsibles/" data-ajax="false">Collapsibles</a></li>
|
38
|
+
|
39
|
+
<li data-section="Widgets" data-filtertext="controlgroups selects checkboxradio buttons horizontal vertical"><a href="widgets/controlgroups/">Controlgroup</a></li>
|
40
|
+
|
41
|
+
<li data-section="Widgets" data-filtertext="dialogs modal popups"><a href="widgets/dialog/">Dialogs</a></li>
|
42
|
+
|
43
|
+
<li data-section="Widgets" data-filtertext="fixed toolbars headers footers sections fullscreen"><a href="widgets/headers/bars-fixed.html">Fixed toolbars</a></li>
|
44
|
+
|
45
|
+
<li data-section="Widgets" data-filtertext="flip toggle switch binary slider selects forms disabled"><a href="widgets/sliders/switch.html" data-ajax="false">Flip switch toggle</a></li>
|
46
|
+
|
47
|
+
<li data-section="Widgets" data-filtertext="footer toolbars footers sections"><a href="widgets/footers/">Footer toolbar</a></li>
|
48
|
+
|
49
|
+
<li data-section="Widgets" data-filtertext="forms inputs slider button range toggle switch label disabled accessible fieldcontains elements"><a href="widgets/forms/">Form elements</a></li>
|
50
|
+
|
51
|
+
<li data-section="Widgets" data-filtertext="grids columns blocks content formatting rwd responsive"><a href="widgets/grids/">Grids</a></li>
|
52
|
+
|
53
|
+
<li data-section="Widgets" data-filtertext="header toolbars fixed fullscreen sections"><a href="widgets/headers/">Header toolbar</a></li>
|
54
|
+
|
55
|
+
<li data-section="Widgets" data-filtertext="icons buttons disc position"><a href="widgets/icons/">Icon</a></li>
|
56
|
+
|
57
|
+
<li data-section="Widgets" data-filtertext="links navigation ajax prefetch cache"><a href="widgets/links/">Links</a></li>
|
58
|
+
|
59
|
+
<li data-section="Widgets" data-filtertext="listviews thumbnails icons nested split button collapsible ul ol"><a href="widgets/listviews/" data-ajax="false">Listviews</a></li>
|
60
|
+
|
61
|
+
<li data-section="Widgets" data-filtertext="ajax loader overlay spinner pages"><a href="widgets/loader/">Loader overlay</a></li>
|
62
|
+
|
63
|
+
<li data-section="Widgets" data-filtertext="navbars navmenu toolbars links icons footer header"><a href="widgets/navbar/" data-ajax="false">Navbar</a></li>
|
64
|
+
|
65
|
+
<li data-section="Widgets" data-filtertext="navbars persistent header footer links navmenu"><a href="widgets/navbar/footer-persist-a.html">Navbar, persistent</a></li>
|
66
|
+
|
67
|
+
<li data-section="Widgets" data-filtertext="pages single multipage templates ajax nav"><a href="widgets/pages/">Pages</a></li>
|
68
|
+
|
69
|
+
<li data-section="Widgets" data-filtertext="panels sliding nav modal transition display reveal overlay push rwd responsive"><a href="widgets/panels/">Panels <span class="ui-li-count">New</span></a></li>
|
70
|
+
|
71
|
+
<li data-section="Widgets" data-filtertext="popup dialog modal transition tooltip lightbox form overlay screen flip pop fade transition"><a href="widgets/popup/">Popup</a></li>
|
72
|
+
|
73
|
+
<li data-section="Widgets" data-filtertext="radiobuttons checkboxradio inputs forms disabled grouped"><a href="widgets/radiobuttons/">Radio buttons</a></li>
|
74
|
+
|
75
|
+
<li data-section="Widgets" data-filtertext="selectmenus custom native multiple optgroup disabled forms"><a href="widgets/selects/">Select</a></li>
|
76
|
+
|
77
|
+
<li data-section="Widgets" data-filtertext="slider, single sliders range inputs forms disabled"><a href="widgets/sliders/" data-ajax="false">Slider, single</a></li>
|
78
|
+
|
79
|
+
<li data-section="Widgets" data-filtertext="slider, dual range sliders rangesliders inputs forms disabled"><a href="widgets/sliders/rangeslider.html" data-ajax="false">Slider, dual range <span class="ui-li-count">New</span></a></li>
|
80
|
+
|
81
|
+
<li data-section="Widgets" data-filtertext="tables column th td toggle responsive tables rwd hide show tabular"><a href="widgets/table-column-toggle/">Table, column toggle <span class="ui-li-count">New</span></a></li>
|
82
|
+
|
83
|
+
<li data-section="Widgets" data-filtertext="tables reflow th td responsive rwd columns tabular"><a href="widgets/table-reflow/">Table, reflow <span class="ui-li-count">New</span></a></li>
|
84
|
+
|
85
|
+
<li data-section="Widgets" data-filtertext="text inputs textarea numeric email tel file date time month clear pattern placeholder forms"><a href="widgets/textinputs/">Text inputs & textarea</a></li>
|
86
|
+
|
87
|
+
<li data-section="Widgets" data-filtertext="page transitions animated pages ajax navigation flip slide fade pop" data-ajax="false"><a href="widgets/transitions/" data-ajax="false">Transitions</a></li>
|
88
|
+
|
89
|
+
<li data-role="list-divider">Collapsibles</li>
|
90
|
+
|
91
|
+
<li data-section="Demo Showcase" data-filtertext="dynamic collapsible set accordion append expand"><a href="examples/collapsibles/dynamic-collapsible.html" data-ajax="false">Dynamic collapsible</a></li>
|
92
|
+
|
93
|
+
<li data-role="list-divider">Controlgroups</li>
|
94
|
+
|
95
|
+
<li data-section="Demo Showcase" data-filtertext="dynamic controlgroup buttons selects checkboxes forms"><a href="examples/controlgroups/dynamic-controlgroup.html" data-ajax="false">Dynamic controlgroup</a></li>
|
96
|
+
|
97
|
+
<li data-role="list-divider">Listviews</li>
|
98
|
+
|
99
|
+
<li data-section="Demo Showcase" data-filtertext="grid listview responsive grids responsive listviews lists ul"><a href="examples/listviews/grid-listview.html" data-ajax="false">Grid Listview</a></li>
|
100
|
+
|
101
|
+
<li data-section="Demo Showcase" data-filtertext="autodividers anchor jump scroll linkbars listviews lists ul"><a href="examples/listviews/autodividers-linkbar.html" data-ajax="false">Autodividers Linkbar</a></li>
|
102
|
+
|
103
|
+
<li data-section="Demo Showcase" data-filtertext="listviews autodividers selector autodividersselector lists ul ol"><a href="examples/listviews/autodividers-selector.html" data-ajax="false">Autodividers Selector</a></li>
|
104
|
+
|
105
|
+
<li data-role="list-divider">Navigation</li>
|
106
|
+
|
107
|
+
<li data-section="Demo Showcase" data-filtertext="backbone and require.js example navigation router"><a href="examples/backbone-require/index.html" data-ajax="false">Backbone and Require.js example</a></li>
|
108
|
+
|
109
|
+
<li data-section="Demo Showcase" data-filtertext="server redirection with server-side support.html"><a href="examples/redirect/" data-ajax="false">Redirection with server-side support</a></li>
|
110
|
+
|
111
|
+
<li data-role="list-divider">Panels</li>
|
112
|
+
|
113
|
+
<li data-section="Demo Showcase" data-filtertext="panel styling slide panels sliding panels shadow rwd responsive breakpoint"><a href="examples/panels/panel-styling.html" data-ajax="false">Panel styling</a></li>
|
114
|
+
|
115
|
+
<li data-section="Demo Showcase" data-filtertext="open panel on swipe panels left right"><a href="examples/panels/panel-swipe-open.html" data-ajax="false">Open panel on swipe</a></li>
|
116
|
+
|
117
|
+
<li data-role="list-divider">Popups</li>
|
118
|
+
|
119
|
+
<li data-section="Demo Showcase" data-filtertext="dynamic popups popup images lightbox"><a href="examples/popups/dynamic-popup.html" data-ajax="false">Dynamic popup</a></li>
|
120
|
+
|
121
|
+
<li data-section="Demo Showcase" data-filtertext="arrow popups popover"><a href="examples/popups/arrow.html" data-ajax="false">Popup with arrow</a></li>
|
122
|
+
|
123
|
+
<li data-role="list-divider">Responsive Tables</li>
|
124
|
+
|
125
|
+
<li data-section="Demo Showcase" data-filtertext="responsive tables reflow stack custom styles"><a href="examples/tables/movie-list.html" data-ajax="false">Reflow: Custom styles</a></li>
|
126
|
+
|
127
|
+
<li data-section="Demo Showcase" data-filtertext="responsive tables reflow heading groups rwd breakpoint"><a href="examples/tables/financial-grouped-reflow.html" data-ajax="false">Reflow: Heading groups</a></li>
|
128
|
+
|
129
|
+
<li data-section="Demo Showcase" data-filtertext="responsive tables column toggle hide rwd breakpoint customization options"><a href="examples/tables/movie-list-toggle-options.html" data-ajax="false">Column toggle: Customization options</a></li>
|
130
|
+
|
131
|
+
<li data-section="Demo Showcase" data-filtertext="responsive tables column toggle heading groups rwd breakpoint"><a href="examples/tables/financial-grouped-columns.html" data-ajax="false">Column toggle: Heading groups</a></li>
|
132
|
+
|
133
|
+
<li data-section="Demo Showcase" data-filtertext="responsive tables table column toggle phone comparison rwd breakpoint"><a href="examples/tables/phone-compare.html" data-ajax="false">Column toggle demo: Phone comparison</a></li>
|
134
|
+
|
135
|
+
<li data-role="list-divider">Sliders</li>
|
136
|
+
|
137
|
+
<li data-section="Demo Showcase" data-filtertext="slider tooltip handle value extension input range sliders forms"><a href="examples/slider/tooltip.html" data-ajax="false">Tooltip extension</a></li>
|
138
|
+
|
139
|
+
<li data-role="list-divider">Swipe</li>
|
140
|
+
|
141
|
+
<li data-section="Demo Showcase" data-filtertext="swipe to navigate page transitions navigation"><a href="examples/swipe/swipe-page.html" data-ajax="false">Swipe to navigate</a></li>
|
142
|
+
|
143
|
+
<li data-section="Demo Showcase" data-filtertext="swipe to delete list item listviews lists ul ol"><a href="examples/swipe/swipe-list.html" data-ajax="false">Swipe to delete list item</a></li>
|
144
|
+
|
145
|
+
<li data-role="list-divider">Forms</li>
|
146
|
+
|
147
|
+
<li data-section="Questions & Answers" data-filtertext="CSS styles apply widget scope wrap selector customize"><a href="faq/question-template.html">Why won't my CSS styles apply correctly to a widget?</a></li>
|
148
|
+
|
149
|
+
<li data-section="Questions & Answers" data-filtertext="form update value enhance pageinit refresh"><a href="faq/updating-the-value-of-enhanced-form-elements-does-not-work.html">Updating the value of enhanced form elements does not work.</a></li>
|
150
|
+
|
151
|
+
<li data-section="Questions & Answers" data-filtertext="HTML 5 inputs appearance keyboard picker calendar date time slider file color"><a href="faq/my-html-5-inputs-look-different-in-browsers.html">My HTML 5 inputs look different across devices and browsers.</a></li>
|
152
|
+
|
153
|
+
<li data-section="Questions & Answers" data-filtertext="range search inputs slider number text degrade"><a href="faq/my-range-search-input-type-is-being-changed.html">My range or search inputs are being change to number/text.</a></li>
|
154
|
+
|
155
|
+
<li data-section="Questions & Answers" data-filtertext="custom select popup dialog logic"><a href="faq/sometimes-custom-select-shows-as-dialog-popup.html">Sometimes my custom select shows as a popup other times its a dialog.</a></li>
|
156
|
+
|
157
|
+
<li data-section="Questions & Answers" data-filtertext="disable button issue class method"><a href="faq/disabling-a-button-does-not-work.html">Disabling a button does not work.</a></li>
|
158
|
+
|
159
|
+
<li data-section="Questions & Answers" data-filtertext="fixed toolbar header footer fullscreen select input bug issue"><a href="faq/controls-in-header-footer.html">Controls in my fixed header or footer are not responding or behave erratically.</a></li>
|
160
|
+
|
161
|
+
<li data-role="list-divider">Pages</li>
|
162
|
+
|
163
|
+
<li data-section="Questions & Answers" data-filtertext="head load scripts styles pageinit onload pagebeforecreate ajax nav pages"><a href="faq/scripts-and-styles-not-loading.html">Why aren't my scripts and styles loading?</a></li>
|
164
|
+
|
165
|
+
<li data-section="Questions & Answers" data-filtertext="document.ready onload paginit DOM ready on ready scripts "><a href="faq/dom-ready-not-working.html">Why isn't DOM ready working for my scripts?</a></li>
|
166
|
+
|
167
|
+
<li data-section="Questions & Answers" data-filtertext="ajax nav load page mobile.loadpage"><a href="faq/how-do-i-load-a-page.html">How do I load a page?</a></li>
|
168
|
+
|
169
|
+
<li data-section="Questions & Answers" data-filtertext="ajax nav multi page document load"><a href="faq/why-is-only-the-first-page-loaded.html">Why is only the first page of my multi page document loaded?</a></li>
|
170
|
+
|
171
|
+
<li data-section="Questions & Answers" data-filtertext="pass url query params ajax nav"><a href="faq/pass-query-params-to-page.html">I'm trying to pass query params to a page but it's not working?</a></li>
|
172
|
+
|
173
|
+
<li data-section="Questions & Answers" data-filtertext="hash pass parameters information ajax nav"><a href="faq/pass-via-the-hash-to-page.html">I'm trying to pass information via the hash but it's not working?</a></li>
|
174
|
+
|
175
|
+
<li data-section="Questions & Answers" data-filtertext="application cache status error isLocal ajax nav"><a href="faq/the-application-cache-is-not-working.html">I'm trying to use the application cache but it's not working.</a></li>
|
176
|
+
|
177
|
+
<li data-section="Questions & Answers" data-filtertext=">create refresh event trigger pageInit refresh method content injected page not enhanced."><a href="faq/injected-content-is-not-enhanced.html">Content injected into a page is not enhanced.</a></li>
|
178
|
+
|
179
|
+
<li data-section="Questions & Answers" data-filtertext=">create trigger event pageInit injected HTML"><a href="faq/triggering-create-on-injected-content-does-not-work.html">Triggering create on injected HTML does not work.</a></li>
|
180
|
+
|
181
|
+
<li data-section="Questions & Answers" data-filtertext="auto-enhance element stop preventnative role none"><a href="faq/how-can-i-stop-auto-enhancement-of-elements.html">How can I stop JQM from auto-enhancing an element?</a></li>
|
182
|
+
|
183
|
+
<li data-section="Questions & Answers" data-filtertext="auto-enhance block container parent stop preventnative role none"><a href="faq/how-can-i-stop-auto-enhancement-of-a-block-of-elements.html">How can I stop JQM from enhancing a block of elements?</a></li>
|
184
|
+
|
185
|
+
<li data-section="Questions & Answers" data-filtertext="page title ajax nav head"><a href="faq/how-do-i-control-page-titles.html">How do I control page titles?</a></li>
|
186
|
+
|
187
|
+
<li data-section="Questions & Answers" data-filtertext="ajax nav load page loadPage"><a href="faq/how-do-i-load-a-page.html">How do I load a page?</a></li>
|
188
|
+
|
189
|
+
<li data-role="list-divider">Events</li>
|
190
|
+
|
191
|
+
<li data-section="Questions & Answers" data-filtertext="touch mouse events vmouseover, vmousedown, vmousemove, vmouseup, vclick, vmousecancel"><a href="faq/how-do-i-use-touch-mouse-events.html">How do I use touch and mouse events?</a></li>
|
192
|
+
|
193
|
+
<li data-role="list-divider">Theme and styling</li>
|
194
|
+
|
195
|
+
<li data-section="Questions & Answers" data-filtertext="theme swatch css themeroller customize icons colors fonts style"><a href="faq/how-does-theming-work.html">How does theming work?</a></li>
|
196
|
+
|
197
|
+
<li data-role="list-divider">Apps</li>
|
198
|
+
|
199
|
+
<li data-section="Questions & Answers" data-filtertext="How do I need to configure PhoneGap Cordova?"><a href="faq/how-configure-phonegap-cordova.html">How do I need to configure PhoneGap/Cordova?</a></li>
|
200
|
+
<!--
|
201
|
+
<li data-role="list-divider">Navigation</li>
|
202
|
+
|
203
|
+
<li data-section="Questions & Answers" data-filtertext=""><a href="faq/nav-is-acting-erraticly.html">The nav is acting erratically!</a></li>
|
204
|
+
|
205
|
+
<li data-section="Questions & Answers" data-filtertext=""><a href="faq/deep-links-dont-work.html">Following a deep link ( a link to scroll to and id ) does not work.</a></li>
|
206
|
+
|
207
|
+
<li data-section="Questions & Answers" data-filtertext=""><a href="faq/scripts-css-only-works-on-first-page-or-refresh.html">My script / css only works on first page or on refresh.</a></li>
|
208
|
+
<li data-role="list-divider">Widgets</li>
|
209
|
+
|
210
|
+
<li data-section="Questions & Answers" data-filtertext=""><a href="faq/cloned-content-double-enhanced.html">Cloning a widget or enhanced for element and enhancing causes "double" enhancement</a></li>
|
211
|
+
|
212
|
+
<li data-section="Questions & Answers" data-filtertext=""><a href="faq/cloned-content-does-not-update.html">Cloned widget or enhanced element does not update</a></li>
|
213
|
+
|
214
|
+
<li data-section="Questions & Answers" data-filtertext=""><a href="faq/data-enhance-false-does-not-work.html">Setting data-enhance="false" does not work.</a></li>
|
215
|
+
|
216
|
+
<li data-role="list-divider">General</li>
|
217
|
+
|
218
|
+
<li data-section="Questions & Answers" data-filtertext=""><a href="faq/selecting-element-by-id-not-working.html">Selecting elements by id only works sometimes or on first page!</a></li>
|
219
|
+
|
220
|
+
<li data-section="Questions & Answers" data-filtertext=""><a href="faq/global-config-settings-ignored.html">The global configuration settings i set are being ignored.</a></li>
|
221
|
+
|
222
|
+
<li data-section="Questions & Answers" data-filtertext=""><a href="faq/custom-css-is-ignored.html">My custom css is ignored.</a></li>
|
223
|
+
|
224
|
+
<li data-role="list-divider">Events</li>
|
225
|
+
|
226
|
+
<li data-section="Questions & Answers" data-filtertext=""><a href="faq/swipe-triggered-when-scrolling.html">Swipe triggered when scrolling.</a></li>
|
227
|
+
|
228
|
+
<li data-section="Questions & Answers" data-filtertext=""><a href="faq/document-ready-not-working.html">Document ready ignored after first page.</a></li>
|
229
|
+
|
230
|
+
<li data-role="list-divider">Theming & custom styles</li>
|
231
|
+
|
232
|
+
<li data-section="Questions & Answers" data-filtertext=""><a href="faq/#">How do I add custom icons?</a></li>
|
233
|
+
|
234
|
+
<li data-section="Questions & Answers" data-filtertext=""><a href="faq/#">How do I add remove the circle behind the icons?</a></li>
|
235
|
+
-->
|
236
|
+
</ul>
|
237
|
+
</div>
|
238
|
+
</div><!-- /header -->
|
239
|
+
|
240
|
+
<div data-role="content" class="jqm-content">
|
241
|
+
|
242
|
+
<h1>AJAX Navigation</h1>
|
243
|
+
|
244
|
+
<p class="jqm-intro">The <code>$.mobile.navigate</code> method and the <code>navigate</code> event form the foundation of jQuery Mobile's navigation infrastructure. As such, they can function outside the confines of jQuery Mobile as a clean and intuitive navigation/history API.
|
245
|
+
</p>
|
246
|
+
|
247
|
+
<h2 id="nav-intro">Introduction</h2>
|
248
|
+
|
249
|
+
<p>jQuery Mobile includes a navigation system to load pages into the DOM via AJAX, enhance the new content, then display <a href="../pages/">pages</a> with a rich set of animated <a href="../transitions/" data-ajax="false">transitions</a>. The navigation system uses progressive enhancement to automatically 'hijack' standard <a href="../links/">links</a> and form submissions and route them as an AJAX request.</p>
|
250
|
+
|
251
|
+
<p>One of jQuery Mobile's core features is the ability to load and view content from disparate pages into the initial document with support for standard navigation methods like anchors and the back button. To accomplish this the library has progressive support for <code>hashchange</code> and <code>popstate</code> coupled with internal history tracking which can be used à la carte.</p>
|
252
|
+
|
253
|
+
<p>An example use case would be something like Twitter's web client. The first step is to hijack link clicks on the page and use the URL that represents that UI state to track history with <code>$.mobile.navigate</code>. It's at this point that any additional information about the UI necessary for operation on return using the back button would be stored (see, <code>foo</code> property of the object argument to the navigate method).</p>
|
254
|
+
|
255
|
+
<pre>
|
256
|
+
<code>
|
257
|
+
// Define a click binding for all anchors in the page
|
258
|
+
$( "a" ).on( "click", function( event ){
|
259
|
+
|
260
|
+
// Prevent the usual navigation behavior
|
261
|
+
event.preventDefault();
|
262
|
+
|
263
|
+
// Alter the url according to the anchor's href attribute, and
|
264
|
+
// store the data-foo attribute information with the url
|
265
|
+
$.mobile.navigate( this.attr( "href" ), {
|
266
|
+
foo: this.attr("data-foo")
|
267
|
+
});
|
268
|
+
|
269
|
+
// Hypothetical content alteration based on the url. E.g, make
|
270
|
+
// an AJAX request for JSON data and render a template into the page.
|
271
|
+
alterContent( this.attr("href") );
|
272
|
+
});</code></pre>
|
273
|
+
|
274
|
+
<p>Next, a <code>navigate</code> event binding helps in responding to backward and forward navigation via the browsers history API. Here the <code>alterContent</code> function can address the direction in which the browser is navigating as well as any additional information stored on the data object when <code>$.mobile.navigate</code> was invoked to store the corresponding history entry.</p>
|
275
|
+
|
276
|
+
<pre><code>
|
277
|
+
// Respond to back/forward navigation
|
278
|
+
$( window ).on( "navigate", function( event, data ){
|
279
|
+
if( data.state.foo ){
|
280
|
+
// Make use of the arbitrary data stored
|
281
|
+
}
|
282
|
+
|
283
|
+
if( data.state.direction == "back" ) {
|
284
|
+
// Make use of the directional information
|
285
|
+
}
|
286
|
+
|
287
|
+
// reset the content based on the url
|
288
|
+
alterContent( data.state.url );
|
289
|
+
});</code></pre>
|
290
|
+
|
291
|
+
<h2 id="nav-event-example">Event Example <a href="http://api.jquerymobile.com/navigate/" data-ajax="false" data-role="button" data-inline="true" data-mini="true" data-icon="arrow-r" data-iconpos="right" class="jqm-api-link">API</a></h2>
|
292
|
+
|
293
|
+
<p>jQuery Mobile provides the <code>navigate</code> event as a wrapper for both <code>hashchange</code> and <code>popstate</code>. That is, where a binding to both events would be required to support browsers with and without <code>popstate</code> only one binding to <code>navigate</code> is necessary. In this example, altering the hash will trigger <code>popstate</code> or <code>hashchange</code> event depending on the browser, but only a single <code>navigate</code> binding is necessary. Make sure to use the back button after alterting the hash to see that the event is fired in both cases.</p>
|
294
|
+
|
295
|
+
<p><em>Note: when viewing the console output, some browsers (eg, Chrome) fire a popstate on the initial page load</em></p>
|
296
|
+
|
297
|
+
<pre><code>
|
298
|
+
// Bind to the navigate event
|
299
|
+
$( window ).on( "navigate", function() {
|
300
|
+
console.log( "navigated!" );
|
301
|
+
});
|
302
|
+
|
303
|
+
// Bind to the click of the example link
|
304
|
+
$( "#event-example" ).click(function( event ) {
|
305
|
+
event.preventDefault();
|
306
|
+
location.hash = "foo";
|
307
|
+
});
|
308
|
+
</code></pre>
|
309
|
+
|
310
|
+
<a href="#" id="event-example" data-role="button">Event Example</a>
|
311
|
+
|
312
|
+
<h2 id="nav-method-example">Method Example <a href="http://api.jquerymobile.com/jQuery.mobile.navigate/" data-ajax="false" data-role="button" data-inline="true" data-mini="true" data-icon="arrow-r" data-iconpos="right" class="jqm-api-link">API</a></h2>
|
313
|
+
|
314
|
+
<p>jQuery Mobile provides the <code>$.mobile.navigate</code> method as a means to track history and receive additional information along with <code>navigate</code> events. In this example, when the method example link is clicked, the url will be changed twice. The first time will it will store additional aribitrary information along with the URL and hash stored by the method. The second time it will simply change the url and store the URL and hash. When the browser moves backward through history the <code>navigate</code> event is triggered as in the event example above <em>but</em> along with it comes information about the direction of history traversal, the url, the hash, and the arbitrary data stored with the first call to the navigate method.</p>
|
315
|
+
|
316
|
+
<p><em>Note: The arbitrary state properties must be chosen carefully to avoid the url, hash, and direction properties. This is a shortcoming that will be addressed in future releases.</em></p>
|
317
|
+
|
318
|
+
<pre>
|
319
|
+
<code>
|
320
|
+
// Bind to the click of the example link
|
321
|
+
$( "#method-example" ).click(function( event ) {
|
322
|
+
// Append #bar
|
323
|
+
$.mobile.navigate( "#bar", {
|
324
|
+
info: "info about the #bar hash"
|
325
|
+
});
|
326
|
+
|
327
|
+
// Replace #bar with #baz
|
328
|
+
$.mobile.navigate( "#baz" );
|
329
|
+
|
330
|
+
// Log the results of the navigate event
|
331
|
+
$( window ).on( "navigate", function( event, data ){
|
332
|
+
console.log( data.state.info );
|
333
|
+
console.log( data.state.direction );
|
334
|
+
console.log( data.state.url );
|
335
|
+
console.log( data.state.hash );
|
336
|
+
});
|
337
|
+
|
338
|
+
// Go back to pop the state for #bar and log it
|
339
|
+
window.history.back();
|
340
|
+
});
|
341
|
+
</code>
|
342
|
+
</pre>
|
343
|
+
|
344
|
+
<a href="#" id="method-example" data-role="button">Method Example</a>
|
345
|
+
</div><!-- /content -->
|
346
|
+
|
347
|
+
<div data-role="footer" class="jqm-footer">
|
348
|
+
<p class="jqm-version"></p>
|
349
|
+
<p>Copyright 2013 The jQuery Foundation</p>
|
350
|
+
</div><!-- /footer -->
|
351
|
+
|
352
|
+
|
353
|
+
<div data-role="panel" class="jqm-nav-panel jqm-navmenu-panel" data-position="left" data-display="reveal" data-theme="c">
|
354
|
+
<ul data-role="listview" data-theme="d" data-divider-theme="d" data-icon="false" data-global-nav="docs" class="jqm-list">
|
355
|
+
<li data-role="list-divider">jQuery Mobile Demos</li>
|
356
|
+
<li><a href="../">Home</a></li>
|
357
|
+
<li><a href="intro/">Introduction</a></li>
|
358
|
+
<li><a href="examples/">Demo Showcase</a></li>
|
359
|
+
<li><a href="faq/">Questions & Answers</a></li>
|
360
|
+
<li><a href="intro/rwd.html">Going Responsive</a></li>
|
361
|
+
<li data-role="list-divider">Widget reference</li>
|
362
|
+
|
363
|
+
<li data-section="Widgets" data-filtertext="accordions collapsible sets content formatting grouped inset mini"><a href="widgets/accordions/">Accordion</a></li>
|
364
|
+
|
365
|
+
<li data-section="Widgets" data-filtertext="ajax navigation navigate event method"><a href="widgets/navigation/" data-ajax="false">AJAX Navigation</a></li>
|
366
|
+
|
367
|
+
<li data-section="Widgets" data-filtertext="autocomplete filter reveal listviews remote listviewbeforefilter placeholder"><a href="widgets/autocomplete/" data-ajax="false">Autocomplete</a></li>
|
368
|
+
|
369
|
+
<li data-section="Widgets" data-filtertext="buttons inputs forms inline theme grouped icons mini disabled"><a href="widgets/buttons/" data-ajax="false">Buttons</a></li>
|
370
|
+
|
371
|
+
<li data-section="Widgets" data-filtertext="checkboxes checkboxradio inputs forms mini disabled"><a href="widgets/checkbox/">Checkboxes</a></li>
|
372
|
+
|
373
|
+
<li data-section="Widgets" data-filtertext="collapsibles content formatting"><a href="widgets/collapsibles/" data-ajax="false">Collapsibles</a></li>
|
374
|
+
|
375
|
+
<li data-section="Widgets" data-filtertext="controlgroups selects checkboxradio buttons horizontal vertical"><a href="widgets/controlgroups/">Controlgroup</a></li>
|
376
|
+
|
377
|
+
<li data-section="Widgets" data-filtertext="dialogs modal popups"><a href="widgets/dialog/">Dialogs</a></li>
|
378
|
+
|
379
|
+
<li data-section="Widgets" data-filtertext="fixed toolbars headers footers sections fullscreen"><a href="widgets/headers/bars-fixed.html">Fixed toolbars</a></li>
|
380
|
+
|
381
|
+
<li data-section="Widgets" data-filtertext="flip toggle switch binary slider selects forms disabled"><a href="widgets/sliders/switch.html" data-ajax="false">Flip switch toggle</a></li>
|
382
|
+
|
383
|
+
<li data-section="Widgets" data-filtertext="footer toolbars footers sections"><a href="widgets/footers/">Footer toolbar</a></li>
|
384
|
+
|
385
|
+
<li data-section="Widgets" data-filtertext="forms inputs slider button range toggle switch label disabled accessible fieldcontains elements"><a href="widgets/forms/">Form elements</a></li>
|
386
|
+
|
387
|
+
<li data-section="Widgets" data-filtertext="grids columns blocks content formatting rwd responsive"><a href="widgets/grids/">Grids</a></li>
|
388
|
+
|
389
|
+
<li data-section="Widgets" data-filtertext="header toolbars fixed fullscreen sections"><a href="widgets/headers/">Header toolbar</a></li>
|
390
|
+
|
391
|
+
<li data-section="Widgets" data-filtertext="icons buttons disc position"><a href="widgets/icons/">Icon</a></li>
|
392
|
+
|
393
|
+
<li data-section="Widgets" data-filtertext="links navigation ajax prefetch cache"><a href="widgets/links/">Links</a></li>
|
394
|
+
|
395
|
+
<li data-section="Widgets" data-filtertext="listviews thumbnails icons nested split button collapsible ul ol"><a href="widgets/listviews/" data-ajax="false">Listviews</a></li>
|
396
|
+
|
397
|
+
<li data-section="Widgets" data-filtertext="ajax loader overlay spinner pages"><a href="widgets/loader/">Loader overlay</a></li>
|
398
|
+
|
399
|
+
<li data-section="Widgets" data-filtertext="navbars navmenu toolbars links icons footer header"><a href="widgets/navbar/" data-ajax="false">Navbar</a></li>
|
400
|
+
|
401
|
+
<li data-section="Widgets" data-filtertext="navbars persistent header footer links navmenu"><a href="widgets/navbar/footer-persist-a.html">Navbar, persistent</a></li>
|
402
|
+
|
403
|
+
<li data-section="Widgets" data-filtertext="pages single multipage templates ajax nav"><a href="widgets/pages/">Pages</a></li>
|
404
|
+
|
405
|
+
<li data-section="Widgets" data-filtertext="panels sliding nav modal transition display reveal overlay push rwd responsive"><a href="widgets/panels/">Panels <span class="ui-li-count">New</span></a></li>
|
406
|
+
|
407
|
+
<li data-section="Widgets" data-filtertext="popup dialog modal transition tooltip lightbox form overlay screen flip pop fade transition"><a href="widgets/popup/">Popup</a></li>
|
408
|
+
|
409
|
+
<li data-section="Widgets" data-filtertext="radiobuttons checkboxradio inputs forms disabled grouped"><a href="widgets/radiobuttons/">Radio buttons</a></li>
|
410
|
+
|
411
|
+
<li data-section="Widgets" data-filtertext="selectmenus custom native multiple optgroup disabled forms"><a href="widgets/selects/">Select</a></li>
|
412
|
+
|
413
|
+
<li data-section="Widgets" data-filtertext="slider, single sliders range inputs forms disabled"><a href="widgets/sliders/" data-ajax="false">Slider, single</a></li>
|
414
|
+
|
415
|
+
<li data-section="Widgets" data-filtertext="slider, dual range sliders rangesliders inputs forms disabled"><a href="widgets/sliders/rangeslider.html" data-ajax="false">Slider, dual range <span class="ui-li-count">New</span></a></li>
|
416
|
+
|
417
|
+
<li data-section="Widgets" data-filtertext="tables column th td toggle responsive tables rwd hide show tabular"><a href="widgets/table-column-toggle/">Table, column toggle <span class="ui-li-count">New</span></a></li>
|
418
|
+
|
419
|
+
<li data-section="Widgets" data-filtertext="tables reflow th td responsive rwd columns tabular"><a href="widgets/table-reflow/">Table, reflow <span class="ui-li-count">New</span></a></li>
|
420
|
+
|
421
|
+
<li data-section="Widgets" data-filtertext="text inputs textarea numeric email tel file date time month clear pattern placeholder forms"><a href="widgets/textinputs/">Text inputs & textarea</a></li>
|
422
|
+
|
423
|
+
<li data-section="Widgets" data-filtertext="page transitions animated pages ajax navigation flip slide fade pop" data-ajax="false"><a href="widgets/transitions/" data-ajax="false">Transitions</a></li>
|
424
|
+
</ul>
|
425
|
+
</div><!-- /panel -->
|
426
|
+
|
427
|
+
</div><!-- /page -->
|
428
|
+
</body>
|
429
|
+
</html>
|