An Introduction to JQuery Mobile By Trevor Seeney.

Slides:



Advertisements
Similar presentations
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
Advertisements

Assessments Online Questions (Thread) Introduction Please look under course documents. All course information will be listed there. There is a rubric there.
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
User Interface Design using jQuery Mobile CIS 136 Building Mobile Apps 1.
Principles of Web Design 5 th Edition Chapter Nine Site Navigation.
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
Web Design with Cascading Style Sheet Lan Vu. Overview Introduction to CSS Designing CSS Using Visual Studio to create CSS Using template for web design.
User Interface Design using jQuery Mobile CIS 136 Building Mobile Apps 1.
My Web Site Created using:  PowerPoint  ActivePresentation Designer  PPT2HTML Contact About Copyright 2011 © GMARK Ltd. | | Welcome to our demo site.
INSTRUCTIONAL SUPPORT SERVICES (ISS) SHORT COURSE, FALL 2012 UMSL Introduction to Web Page Design.
With Alex Conger – President of Webmajik.com FrontPage 2002 Level I (Intro & Training) FrontPage 2002 Level I (Intro & Training)
User Interface Design using jQuery Mobile CIS 136 Building Mobile Apps 1.
Getting Started with Adobe Dreamweaver CS6. Unit Objectives Define web design software Start Adobe Dreamweaver CS6 View the Dreamweaver workspace Work.
 jQuery Mobile An Introduction. What is jQuery Mobile  A framework built on top of jQuery, used for creating mobile web applications  Designed to make.
© 2011 Delmar, Cengage Learning Chapter 2 Developing a Web Page.
WDV 331 Dreamweaver Applications Designing Websites for Mobile Devices Dreamweaver CS6 Chapter 11.
Dreamweaver CS6 Jumpstart CCSA 115 Web tools Lesson 1.
Chapter 4 Dreamweaver: Part II The Web Warrior Guide to Web Design Technologies.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Using Styles and Style Sheets for Design
© Ms. Masihi.  The Dreamweaver Welcome Screen first opens when you start Dreamweaver.  This screen gives you quick access to previously opened files,
Web Technologies Website Development Trade & Industrial Education
| imodules.com Making Your Site Mobile-Ready Presented by Chris Smith and Mark Werner.
Chapter 2 Developing a Web Page. Chapter 2 Lessons Introduction 1.Create head content and set page properties 2.Create, import, and format text 3.Add.
Chapter 2 Developing a Web Page. A web page is composed of two distinct sections: –The head content –The body Creating Head Content and Setting Page Properties.
Website Development with Dreamweaver
Copyright 2012 Adobe Systems Incorporated. All rights reserved. ® Copyright 2010 Adobe Systems Incorporated. All rights reserved. ® Copyright 2012 Adobe.
MIS 425 Lecture 3 – HTML 5 and CSS Instructor: Martin Neuhard
JAOIT 8.  Dreamweaver is a program for creating web pages and managing websites without having to type HTML code.  WYSIWYG – What you see is what you.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
Chapter 2 Developing a Web Page. A web page is composed of two distinct sections: – The head content – The body Creating Head Content and Setting Page.
Presented by Graduate Design Group 2 Meredith, Jennifer, Cammay and Diane.
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
Wijmo Troy Taylor. What is Wijmo? -Wijmo is a kit of over 40 UI widgets, optimized for client-side web development. -HTML5 -jQuery -CSS3 -SVG.
Chapter 1 Getting Started With Dreamweaver. Exploring the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
Introduction to Bootstrap
Adxstudio Portals Training
Bootstrap Front-End Framework for Responsive Web Sites Svetlin Nakov Technical Trainer Software University
Positioning Objects with CSS and Tables
 An HTML, CSS, Javascript framework you can use as a basis for creating web sites  Uses CSS settings, fundamental HTML elements styled and enhanced.
Craig Pelkie Copyright © 2015, Craig Pelkie ALL RIGHTS RESERVED Use RPG to Mobilize your IBM i.
Leveraging Web Content Management in SharePoint 2013 Christina Wheeler.
Fundamentals of Web DevelopmentRandy Connolly and Ricardo Hoar Textbook to be published by Pearson Ed in early Bootstrap.
COMP 143 Web Development with Adobe Dreamweaver CC.
HTML LAYOUTS. CONTENTS Layouts Example Layout Using Element Example Using Table Example Output Summary Exercise.
Creating Web Pages in Word. Sharing Office Files Online Many Web pages are created using the HTML programming language. Web page editors are software.
INTRODUCTION ABOUT DIV Most websites have put their content in multiple columns. Multiple columns are created by using or elements. The div element is.
10 Mobile Application Framework Must Know to Launch New App.
Themes CIS 136 Building Mobile Apps 1. Themes 2  jQuery Mobile has a robust theme framework that supports up to 26 sets of toolbar, content and button.
How HTML responsiveness translates to PDF
Getting Started with HTML
CSCI 1720 W3.CSS – Part 1 East Tennessee State University Department of Computing CSCI 1720 Intermediate Web Design.
CNIT131 Internet Basics & Beginning HTML
Inquiring and analyzing options for creating a website
A better approach to mobile
Front-End Framework for Responsive Web Sites
Chapter 2 Developing a Web Page.
ASP.NET Web Controls.
CIS 136 Building Mobile Apps
Tutorial 6 Topic: jQuery and jQuery Mobile Li Xu
IS1500: Introduction to Web Development
HTML5 Level II Session II
APTECH JANAKPURI INSTITUTE PROVIDING WEB DESIGNING COURSES Address:- J-1,2nd Floor, Opp Metro Pillar No – 559, Janakpuri East, Delhi /42.
Making Your Site Mobile-Ready
Oracle Application Express 5
SEEM4570 Tutorial 5: jQuery + jQuery Mobile
CS3220 Web and Internet Programming Introduction to Bootstrap
Presentation transcript:

An Introduction to JQuery Mobile By Trevor Seeney

Agenda What is JQuery Mobile What is JQuery Mobile Basic Page Structure Basic Page Structure Example Code Example Code Roles Roles Elements (Forms, Buttons, Tables, etc.) Elements (Forms, Buttons, Tables, etc.) Themes Themes The Theme Roller The Theme Roller Slide-in Panels Slide-in Panels Summary Summary

What is JQuery Mobile JQuery Mobile is a HTML5- based Javascript framework with a user interface system designed to make responsive web sites and apps that are accessible on all smartphone, tablet and desktop devices. JQuery Mobile is a HTML5- based Javascript framework with a user interface system designed to make responsive web sites and apps that are accessible on all smartphone, tablet and desktop devices. Note that the inclusion of the word 'mobile' in the name is a misnomer as it works very well on tablets and desktops. Note that the inclusion of the word 'mobile' in the name is a misnomer as it works very well on tablets and desktops.

A User Interface Framework A User Interface Framework JQuery Mobile is a user interface framework. JQuery Mobile is a user interface framework. Built over JQuery. Built over JQuery. Implementation is the simple inclusion of a Javascript file and a Style (CSS) file. Implementation is the simple inclusion of a Javascript file and a Style (CSS) file. Is multi-platform  smartphones, tablets and desktop devices. Is multi-platform  smartphones, tablets and desktop devices. Knowledge of JQuery, Javascript and CSS is not required Knowledge of JQuery, Javascript and CSS is not required

A great choice for the IBM/i programmer JQuery Mobile’s "write less, do more" mantra allows you to design a single highly-branded responsive application that will work on all popular smart devices and desktops. JQuery Mobile’s "write less, do more" mantra allows you to design a single highly-branded responsive application that will work on all popular smart devices and desktops. JQuery Mobile provides the IBM/i programmer with a fast path to developing browser-based applications. JQuery Mobile provides the IBM/i programmer with a fast path to developing browser-based applications. Aesthetics are part and parcel of the interface Aesthetics are part and parcel of the interface

Browser-based Applications on the IBM/i

Some Other Advantages of using JQuery Mobile Open-source and free. Open-source and free. Cross-platform, cross-device and cross- browser compatible. Cross-platform, cross-device and cross- browser compatible. Optimized for touch devices. Optimized for touch devices. The design is ‘themable’ and customizable. The design is ‘themable’ and customizable.

Basic Page Structure,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

Let’s Code My first jQuery Mobile code My first jQuery Mobile code <script <script src=" bile min.js"> src=" bile min.js"> jQuery Mobile jQuery Mobile

Let’s Code (2) Options Options Option 1 Option 1 Option 2 Option 2 Option 3 Option 3 Option 4 Option 4 Thermwell Thermwell

Sample Page (data-theme=”a”)

Sample Page (data-theme=”b”)

HTTP Server Configuration There a several methods for configuring an HTTP server on the IBM/i. There a several methods for configuring an HTTP server on the IBM/i. It can be done on the command line It can be done on the command line It can be down through the browser ‘Tasks’ menu. It can be down through the browser ‘Tasks’ menu. Call me at (201) and I’ll talk you through it Call me at (201) and I’ll talk you through it

Roles The five we have already seen:- The five we have already seen:- 1. data-page 2. data-header 3. data-content 4. data-footer 5. data-theme

Additional Roles data-role='collapsible' data-role='collapsible' data-role="controlgroup" data-type="horizontal" data-role="controlgroup" data-type="horizontal"

Elements

More Elements

Tables Tables to the browser are like sub-files to the green-screen. Tables to the browser are like sub-files to the green-screen. They are used extensively in both paradigms They are used extensively in both paradigms The nice thing about the browser it will scale the content to the available screen space. The nice thing about the browser it will scale the content to the available screen space. But sometimes that is not enough, especially if a Smartphone or Tablet is used. But sometimes that is not enough, especially if a Smartphone or Tablet is used.

JQuery Mobile Tables JQuery Moble has a “reflow table mode” that works by collapsing the table columns into a stacked presentation that looks like blocks of label/data pairs for each row (a la DFU single record mode) JQuery Mobile also has a “column toggle table mode” which hides less important columns at narrower widths.

Column toggle table mode A button surfaces to open a menu that allows the user to choose what columns they want to see. <table data-role="table" id="table-column-toggle" data-mode="columntoggle" class="ui-responsive table-stroke"> Rank Movie Title Year Rating Reviews

Tables by Example Table Toggle

Themes Theme is the term used to describe the styling of elements in JQuery Mobile. Theme is the term used to describe the styling of elements in JQuery Mobile. A theme includes settings for including font family, drop shadows for overlays, and corner radius values for buttons and boxes, etc. A theme includes settings for including font family, drop shadows for overlays, and corner radius values for buttons and boxes, etc. In addition, the theme can include multiple color swatches, each with color values for bars, content blocks, buttons and list items, and font In addition, the theme can include multiple color swatches, each with color values for bars, content blocks, buttons and list items, and font

Swatches 5 Basic swatches 5 Basic swatches Black, Blue, Light Grey, Dark Gray and Yellow Black, Blue, Light Grey, Dark Gray and Yellow

More on Swatches Applying a swatch is achieved by specifying the ‘data-theme’ tag on an element. Applying a swatch is achieved by specifying the ‘data-theme’ tag on an element. The default theme is “a”, which is Black, and is used when data-theme is not specified. The default theme is “a”, which is Black, and is used when data-theme is not specified. ‘data-theme ‘ can be specified at the ‘role=page’ level. ‘data-theme ‘ can be specified at the ‘role=page’ level. A swatch can be applied to individual elements in the page that is different from the default for the page. A swatch can be applied to individual elements in the page that is different from the default for the page.

The Theme Roller JQuery Mobile has a utility call the ‘Theme Roller’ where you can create your own swatch and apply a data=theme letter “F”,”G”,”H” etc. JQuery Mobile has a utility call the ‘Theme Roller’ where you can create your own swatch and apply a data=theme letter “F”,”G”,”H” etc. Theme Roller

Themes can be saved as.CSS files which in turn can be included into your site. Themes can be saved as.CSS files which in turn can be included into your site. A Custom Theme A Custom Theme A Custom Theme A Custom Theme Themes can be saved as.CSS files which in turn can be included into your site. Themes can be saved as.CSS files which in turn can be included into your site. A Custom Theme A Custom Theme A Custom Theme A Custom Theme

Slide-in Panels A neat effect intended to optimize screen space, often used to slide-in a menu. A neat effect intended to optimize screen space, often used to slide-in a menu. data-role="panel“, data-display="overlay“ data-role="panel“, data-display="overlay“ width: 250px !important;" width: 250px !important;" Sliding Panel iHockey

Summary JQuery Mobile is easy to learn and use. JQuery Mobile is easy to learn and use. Offers a consistent rendering across all browsers. Offers a consistent rendering across all browsers. Aesthetically pleasing page layout and element styling. Aesthetically pleasing page layout and element styling. No Javascript and CSS knowledge required. No Javascript and CSS knowledge required. Leaves the IBM/I programmer to focus on the substance of the page and not the style. Leaves the IBM/I programmer to focus on the substance of the page and not the style.

The End Trevor Seeney Trevor Seeney iPower Software Inc iPower Software Inc (201) (201)