JQuery Mobile. Benefits Required links Remember that we need to add the links to the head, in this order.

Slides:



Advertisements
Similar presentations
Table, List, Blocks, Inline Style
Advertisements

Chapter 3 – Web Design Tables & Page Layout
Svetlin Nakov Telerik Corporation
Ideas to Layout Beginning web layout using Cascading Style Sheets (CSS). Basic ideas, practices, tools and resources for designing a tableless web site.
Twitter Bootstrap. Agenda What is it? Grids and Fluid layouts Globals and Typography Tables, Forms and Buttons Navigation Media and thumbnails Responsive.
Elder L. Lionel Kendrick Of the First Quorum of the Seventy It has been from the beginning and it will be till the end that the natural man will have a.
Cascading Style Sheets
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Teppo Räisänen LIIKE/OAMK 2010
Chapter 2 HTML Basics Key Concepts
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
User Interface Design using jQuery Mobile CIS 136 Building Mobile Apps 1.
Need to define two things: › The destination › Something to click on to get there  Tag is click here  Can be text, special character or image (next.
Chapter 3 Working with Text and Cascading Style Sheets.
Chapter 3 Tables and Page Layout
Introducing Cascading Style Sheets  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles  Text Formatting with CSS.
Web Page Development Identify elements of a Web Page Start Notepad
Art 128 Interface Programming 1 In-class Presentation Week 11B.
InDesign CS3 Lesson 3 Working with Frames. Using Frames Frames are containers in which you place graphics or text. Frames can also be used as graphic.
POWER POINT. TOPICS Different Views Printing presentation Animation Layout Design Themes Master Slide Smart Art Insert Footer, Hyperlink etc., 2.
User Interface Design using jQuery Mobile CIS 136 Building Mobile Apps 1.
 jQuery Mobile An Introduction. What is jQuery Mobile  A framework built on top of jQuery, used for creating mobile web applications  Designed to make.
JQUERY – UI & THEMES "WRITE LESS, DO MORE" Built in interface elements.
Tutorial 6 Creating Tables and CSS Layouts. Objectives Session 6.1 – Create a data table to display and organize data – Modify table properties and layout.
Chapter 3 Working with Text and Cascading Style Sheets.
ITP 104.  While you can do things like this:  Better to use styles instead:
Microsoft Power Point Nagendra Vemulapalli
Chapter Seven: Presentation Software (MS PowerPoint 2007) Author(s): Ahmed Dalalah, Ahmed Abusalameh, Mohammad AlZoubi & Khaled Dajani (Prepared By: Ahmed.
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
IDs versus Classes Naming Your Tags for Maximum Functionality.
HTML. Basic HTML HTML document – HTML headings – to HTML paragraphs – HTML links – HTML images –
JQuery UI. Slide 2 Introduction From the jQuery UI Home Page jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built.
 Word doc for you to download › Link at the beginning of class › 10 Questions › Answers to be added inline  Post to Sakai when completed › No resubmits.
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
Bare bones slide show. The format is text files, with.htm or.html extension. Hard returns, tabs, and extra spaces are ignored. DO NOT use spaces in file.
>> HTML: Structure Elements. Elements in HTML are either Inline or Block. Block-level Elements – Begins on a new line – Occupy the whole width – Stacks.
76 © 1998, 1999, 2000 David T. Gray, Howard Duncan, Jane Kernan Frames When displaying information in a browser, it is sometimes useful to divide the display.
Lecture 2 - HTML and CSS Review SFDV3011 – Advanced Web Development 1.
Introducing Cascading Style Sheets. Cascading Style Sheet Basics  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles.
Forms Collecting Data CSS Class 5. Forms Create a form Add text box Add labels Add check boxes and radio buttons Build a drop-down list Group drop-down.
User Interface Design using jQuery Mobile CIS 136 Building Mobile Apps 1.
Looking at various Rich Message options in KRAD Kuali University: Apply Now Lab : Rich Messages Lab Objectives Understand what Rich Messages are and how.
Looking at various Rich Message options in KRAD Kuali University: Apply Now Lab : Rich Messages Lab Objectives Understand what Rich Messages are and how.
Page Layout You can quickly and easily format the entire document to give it a professional and modern look by applying a document theme. A document theme.
20-753: Fundamentals of Web Programming 1 Lecture 6: Advanced HTML Fundamentals of Web Programming Lecture 6: Advanced HTML.
Positioning Objects with CSS and Tables
HTML-I Basic HTML Elements. HTML (Hyper Text Markup Language) HTML is a document layout and hyperlink- specification language. i.e. a language used to.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
 Add one element at a time  If it doesn’t do what you want, › Delete it › DON’T just keep piling on more items.
Header, Footer, and Navigation toolbars CIS 136 Building Mobile Apps 1.
HTML Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
TNPW1 Ing. Jiří Štěpánek.  ordered list  (list item)  unordered list  (list item)
© 2004 The McGraw-Hill Companies, Inc. All rights reserved. The Advantage Series Microsoft Office Word 2003 CHAPTER 4 Printing and Web Publishing.
CSS Layouts: Positioning and Navbars
>> Introduction to CSS
JQuery UI.
Tutorial 6 Topic: jQuery and jQuery Mobile Li Xu
Lists, Thumbnails, and Icons
Tutorial 4: jQuery Mobile
Bootstrap Components Reusable components built to provide iconography, dropdowns, input groups, navigation, alerts, and much more.
Popups, Dialogs, Widgets, Panels
Tutorial 3 – Creating a Multiple-Page Report
SEEM4570 Tutorial 5: jQuery + jQuery Mobile
Using Templates and Library Items
jQuery Widgets: Tabs Requires core jQuery library + jQuery UI
Buttons, Headers, Footers, and Navigation
Multipage Sites.
5.00 Apply procedures to organize content by using Dreamweaver. (22%)
Presentation transcript:

JQuery Mobile

Benefits

Required links Remember that we need to add the links to the head, in this order.

HTML5 attribute: data-role data-role="button data-role="collapsible data-role="collapsible-set data-role="controlgroup" data-role="fieldcontain data-role="slider data-role="listview data-role="page data-role="header data-role="navbar data-role="content data-role="footer data-role="navbar We will start with these to understand basic page construction and layout: These are also available, and we will get to them later.

Creating Pages within the Body Within the "page" container, any valid HTML markup can be used, but for typical pages in jQuery Mobile, the immediate children of a "page" are divs with data-roles of "header", "content", and "footer".

Multiple Pages in one file A single HTML document can contain multiple 'pages' that are loaded together by stacking multiple divs with a data-role of "page". Each 'page' block needs a unique ID (id="foo") that will be used to link internally between 'pages' (href="#foo). IDs on the page wrappers are only needed to support the internal page linking, and are optional if each page is a separate HTML document. Foo I'm first in the source order so I'm shown as the page. View internal page called bar Page Footer Bar I'm the second in the source order so I'm hidden when the page loads. I'm just shown if a link that references my ID is being clicked. Back to foo Page Footer

Other attributes for Page data-themeSpecifies theme color of the page data-titleSpecified the page title The title is just a string that you specify. The theme is part of the jquery css. It is specified by a letter from a-z. Find them here: Want to create your own JQuery Mobile Themes?

Transitions between Pages (and dialogs)

Header/Footer Attributes

Positioning Headers/Footers

Adding Nav Buttons to Headers/Footers Headers can contain at most TWO buttons Footers can contain as many as you like To center, usestyle="text-align:center; To add multiple buttons either horizontal or vertical, add them to a control group or a navbar.

Adding Nav Buttons

The buttons themselves…

Adding Icons to Buttons More choices???

Popups Close them by clicking outside the box or pressing the Esc key Add data-transition as with page nav Position using data-position-to inside the anchor

Panels The panel markup must be placed before or after the header, content and footer inside a jQuery Mobile page.

Panel Options

Collapsible – Nested and Sets

Lists By default, links inside a list item will automatically turn into a button (no need for ui- class="btn" or data-role="button")

List Dividers

List Icons

Forms For the most part, we will proceed as normal with forms. However, to make them look proper, wrap them in: The exceptions are two NEW elements, Select and Sliders. With Select, we can also use multiple

Wrapper Class

Mobile Forms

Text Input

Buttons

Radio Button

CheckBoxes

Sliders and Select Points: Flip toggle switch checkbox: