E-book : jQuery mobile
E-book : jQuery mobile
1. Meet jQuery Mobile
Overview of the jQuery Mobile Library
How jQuery Mobile Works 2
Create Your First jQuery Mobile Application 2
Under The Hood: the jqmData() Custom Selector 7
2. Application Structure and Navigation
Pages 9
Internal Pages 10
External Pages 12
Under The Hood: Page Initialization in jQuery Mobile 15
Page Hide and Show Events 17
Dialogs 20
Navigation and History 20
Transitions 22
Under The Hood: Animations in a jQuery Mobile Application 23
3. Page Elements
Under The Hood: jQuery Plug-ins and Widgets 25
List Views 26
Basic List View 26
Advanced List Views 29
Under The Hood: Updating a List View 39
Toolbars 39
Navigation Bars 39
Positioning the Header and Footer 43
Buttons 44
Button Control Groups 46
Button Icons
Form Elements 49
Accessing Form Elements with JavaScript 49
Checkboxes and Radio Buttons 50
Flip Toggle 52
Input Fields and Textareas 53
Search Fields 54
Select Menus 55
Sliders 59
Layout Grids 61
4. Theming jQuery Mobile
Themes and Swatches 65
Under The Hood: Customizing a Swatch 74
Theming List View Elements 78
5. jQuery Mobile API
jQuery Mobile Methods 79
changePage 79
pageLoading 80
silentScroll 80
addResolutionBreakpoints 80
Events 81
Touch Events 81
Initialization Events 83
Page Hide and Show Events 84
Scroll Events 85
Orientation Change Events 85
Responsive Layout API 85
CSS Selectors 85
Configuring jQuery Mobile 88
Available Options 88
Changing an Option via mobileinit 89
Under The Hood: Namespacing Data Attributes 90
6. jQuery Mobile in Action
jQuery Mobile in Action
Application Pages 93
Initializing the Application 97
The initMainPage Method 97
The initSettings Method 102
The initDetailPage Method 103
Error Dialog 103
jqmTweet Take One 104
Improving the Interface
E-book : jQuery mobile
0 commentaires: