
jQuery mobile is a theme-based framework built on the jQuery core that enables cross-platform apps for iOS and Android, with AJAX navigation, widgets, theming, accessibility, and touch events.
Explore the capabilities of jQuery Mobile and the HTML markup used to build sites, with occasional CSS and JavaScript guidance, and learn the possibilities and where to find more detail.
Compare jQuery mobile with native Android and iOS, highlighting cross-platform advantages such as quick iteration and no app store submission, against slower native performance, flicker, quirks, and limited device APIs.
Explore how mobile device support is graded into A, B, and C based on compatibility and features, including ajax-based transitions and near pixel-perfect experiences for iOS, Android, and other platforms.
Understand what a local server is and why developers use it to simulate websites offline without internet, with MAMP or WAMP running Apache, MySQL, and PHP.
Install and configure MAMP, use the free version, and launch map to run a local server. Adjust preferences to control start/stop behavior, ports, and the document root for project files.
Install and configure Wamp on a Windows machine, then start Apache and php services, and access your files via localhost from the www folder.
Install Xcode on a Mac to access iOS simulator, launch the iOS simulator app, then rotate the device, select retina display, and use reset or clear options to manage data.
Explore how to test across multiple mobile platforms using the Android SDK, BlackBerry simulator, Bada, and Windows Phone emulators, plus the iOS simulator on Mac, and learn setup basics.
Explore the WebKit web inspector to inspect DOM elements, view CSS, and run JavaScript in the console for debugging, plus analyze resources, network, and timelines.
Download jQuery mobile by downloading the zip from the official site, host it yourself or via a cdn, and use minified versus unminified files with css, images, demos, and docs.
Learn to include jQuery and jQuery Mobile into a page by organizing assets into css and js folders, copying files, and wiring them up with proper link and script tags.
discover the jka mobile page structure with a doctype, html, head, and body, a div using data roll page plus header, content, footer, viewport, and css and javascript links.
Explore how single page templates enable page transitions and ajax-driven loading with jQuery Mobile. Contrast single page templates with multi-page templates, noting reduced initial loading time yet potential slower performance.
Explore multi-page templates in the jQuery mobile framework, where multiple pages live in one document as data-role='page' divs with unique ids, enabling hash navigation and fade transitions.
Explore the jQuery mobile navigation model, including URL parts, hash fragments, and AJAX-driven page loads; learn how UI page active marks the current page and how hash changes drive navigation.
Learn to create and navigate pages with anchor tags, internal and external links, include mailto and tel, implement back button and hash-based navigation, and handle directory URLs with trailing slashes.
Learn to implement and customize page transitions in jQuery mobile using the data-transition attribute, try options like fade, slide, pop, flip, and add fallbacks, plus set a global default.
Create dialog boxes in jQuery Mobile by adding data-rel='dialog' to anchor tag, noting that dialogs act like pages with transitions but don’t affect history and can be closed with JavaScript.
Learn how to pre-load ajax pages in jQuery mobile using the data-prefetch attribute or the load page method, improving perceived speed while managing the DOM size.
Learn how to set page titles with data-title for multi-page and single-page templates in jQuery Mobile, including ajax-loaded pages. Master prefetching, caching, and data-dom-cache to improve navigation performance.
Discover how to create and customize mobile buttons by turning anchors and form elements into buttons with data-role='button', data-shadow, and data-many for size, plus disabled states.
Set data-line='true' to render buttons inline so they fit content width, place multiple anchors on the same line, and use containers with content column grids or data-many='true' for mini buttons.
Group anchor buttons into a jQuery mobile button group by wrapping them in a div with data-role 'controlgroup', then set data-type 'horizontal' for a horizontal button list.
Explore how to add icons to buttons in jQuery mobile using data-icon, previewing icons like delete, arrow, gear, and star, with CSS-based circle backgrounds.
Position icons inside buttons with data-icon-pos, choosing left, right, top, or bottom, and use no text for icon-only buttons. Ensure accessibility by keeping hidden text for screen readers.
Specify custom button icons in jQuery mobile by assigning a data-icon name, creating a flower icon, and using CSS to map UI-icon-flower, including retina-ready 2x icons with media queries.
Explore the basics of toolbars in jQuery mobile, including headers, footers, and nav bars defined with data-roll attributes. Learn how spacing, positioning, and persistence across pages shape their behavior.
Learn how to structure headers for mobile using h1 to h6, apply semantic flexibility for better indexing and accessibility, and add left and right header buttons with anchors and icons.
Explore how footers in jQuery mobile differ from headers, manage padding, and arrange buttons with control groups, inline options, and data attributes for horizontal layouts.
Explore jQuery Mobile toolbar positioning, mastering static, fixed, and full screen modes with data-position and data-fullscreen attributes, and understand header and footer behavior on scroll.
Discover jquery mobile nav bar widgets by turning anchor tags into a navbar inside a div with data-role='navbar' and unordered list, styling active item and enabling header or footer theming.
Learn to create persistent toolbars by using a shared data-id across pages and apply UI button active and UI state persist to keep the bottom navigation from flashing.
Explore how jQuery Mobile applies default browser styles via user agent rules and its CSS, and how font, color, and text shadow inherit.
Learn how to create mobile layouts with layout grids in jQuery mobile, dividing content into halves or thirds using UI grid and UI block classes, with consistent height and padding.
Learn to build collapsible blocks in jQuery mobile by wrapping content in a data-role='collapsible' div, using header tags, and controlling expansion with data-collapsed, data-mini, and data-iconpos, including nested blocks.
Learn to build accordion widgets by linking collapsible blocks using a wrapping div and a data roll collapsable set, so one opens while others close.
Explore basic list views in jQuery mobile by converting ul and li items into a styled, interactive list using data-role='listview', with optional theming, linking, hover behavior, and numbered ol support.
Add dividers to lists using list divider items to separate sections like retail and search engines. Apply a data-divider-theme to customize visuals and create titled dividers that behave as headers.
Learn how to build nested lists with jQuery mobile, using list views and sublists to create navigable pages such as Google and alternatives.
learn how to create inset lists by applying the data inset attribute to a normal list, enabling padding for use with search filters and form elements.
Create split button lists by placing an anchor inside a list, showing a gear icon and using data transition to slide down with alt text for accessibility and search engines.
Add custom icons to list views in jquery mobile by placing an image tag in each item and applying the ui-icon class to keep icons at 80 by 80 pixels.
Add count bubbles to icons by inserting a span with the ui ally counts class inside the anchor tag to show unread item counts, then override styling with css.
Master content formatting with clean markup, headings, and paragraphs, using ui-ally aside and list dividers. Learn to inspect elements, compare no-js and javascript versions, and keep code consistent with counts.
Explore how lists and forms work together in jQuery mobile, using list views and data roll equals field contain to render accessible, well-structured form elements without tables.
Explore the basics of forms in jQuery Mobile: using form tags with action and method, pairing inputs with labels, and wrapping fields in a data-role fieldcontain container, with optional data-mini.
Explore HTML5 form attributes for the input tag, including email, url, and number with min, max, step, and value, plus date types, with browser validation and iOS keyboard optimizations.
Learn to implement placeholder text and accessible labels for inputs, hiding labels visually with an accessibility class while keeping them readable by screen readers and search bots.
Explore text input types such as text, password, and search, and note that the text area tag requires a closing tag and expands as you type.
Learn to implement a range slider in jQuery mobile with min and max values, an initial value, step control, and optional left highlighting via data highlight.
Explore flip toggle switches built from a select with data-role='slider' and two options. Learn to adjust width with CSS inside a specific container and observe mobile rendering.
Clarify radio button behavior by ensuring mutual exclusivity with the same name and many='true'. Group them with fieldset and data-role controlgroup or fieldcontain; use data-type='horizontal' for side-by-side.
Explore how checkboxes compare to radio buttons in jQuery for mobile, grouping input type='checkbox' in a fieldset with data-role='controlgroup', and rendering horizontal checkboxes with data-type='horizontal', noting radios are mutually exclusive.
Prevent default styling for most AJ Mobil's form elements by applying data roll equals none, allowing inputs, selects, and textareas to render with their native appearance or be styled manually.
Explore how HTML5 forms handle input types and validation, use required and type='email', and control submission with no-validate and data-ajax=false, while emphasizing back-end validation.
Learn to theme pages in jQuery Mobile by applying data-theme attributes to pages, using five color swatches and the theme roller to create custom themes.
Learn to theme content, toolbars, headers, and footers in jQuery mobile using data-theme attributes. Apply themes to the page or individual elements and see header, footer, and content colors update.
Apply data themes to buttons to change colors and styles in jQuery for mobile. Explore theme variations, combinations, and rollover and focus states to customize interactive button appearances.
Learn how to theme form elements in jQuery Mobile by applying data-theme attributes and body swatches, and inspect markup with and without JavaScript to see how themes render.
Learn to theme list views in jQuery mobile by applying data-theme to whole forms and individual items, styling dividers, count bubbles, and split buttons with color swatches.
Explore the jquery mobile theme roller to craft custom themes with gradients, color pickers, and global css options; adjust headers, footers, buttons, shadows, and borders for a cohesive app look.
Learn how to download, unzip, and implement the theme roller for jQuery Mobile, including locating CSSA and JavaScript files, and deploying the unmodified vs customized theme.
Learn to configure mobile defaults with JavaScript before load, using the mobileinit event and documentation to customize options such as page transitions, loading messages, Ajax enabled, and CSS classes.
Explore how JavaScript browser events like click and resize work in jQuery Mobile, and how to bind handlers with bind or live while inspecting the event object for coordinates.
Learn to handle orientation change and scroll start and scroll stop events in jquery for mobile, using window orientation to detect portrait or landscape and measure scroll duration.
Explore jQuery for mobile page manipulation by handling load, transition, and initialization events, including page before load, page load, page load failed, and page remove, with timing insights.
Discover four essential jQuery Mobile methods, including a document click handler, change page, load page into memory, and show or hide page loading messages with optional text and theme.
This video based training course for jQuery Mobile, an expert author and trainer walks you through the basics of using this popular JavaScript mobile framework to build fully functional mobile websites for mobile browsers. This is a jQuery Mobile Tutorial for Beginners but familiarity with HTML and CSS markup languages will increase your understanding of how to work with the jQuery Mobile framework.
The jQuery Mobile Tutorial begins with a breakdown of what jQuery Mobile is, who uses it and what you can expect to achieve with it. He also instructs you on installing the tools you will need to get the most out of this course. Jumping right into jQuery Mobile, Ben teaches you how to create pages, dialogs, buttons and toolbars, all in the mobile style. You will learn how to mark up your content, build lists, handle forms, and even create and use themes. Finally you cover some of the Javascript events and methods available in the jQuery Mobile framework.
By the completion of this video jQuery Mobile Tutorial for Beginners, you will be able to use the jQuery Mobile framework to create websites that are designed for, and work on, the most popular Smartphone browsers available today. Working files are included to allow you to follow along with the author throughout the course.