ICS 665 Jesse Abdul. jQuery UI Overview  jQuery UI javascript library Includes all UI component functionality  jQuery UI CSS framework Includes standard.

Slides:



Advertisements
Similar presentations
What is jQuery Mobile? How to use it? Doncho Minkov Telerik Corporation Technical Trainer.
Advertisements

Sriram DRUPAL GCI What is a drop down menu? A drop down menu is a menu of options that appears when an item is selected with a mouse. The item.
Dawn Pedersen Art Institute. What is Spry? Spry is Dreamweaver’s version of JavaScript libraries. Spry effects alter the look of a page element—or of.
The Web Warrior Guide to Web Design Technologies
Fall 2012 CSC9010 Web Technologies Web Tool Presentation Randy Escoto.
© by Pearson Education, Inc. All Rights Reserved.
Create slices and hotspots Create links in Web pages Create rollovers from slices Create basic animation Add tweening symbol instances to create animation.
Copyright 2007, Information Builders. Slide 1 WebFOCUS BI Portal Matthew Lerner WebFOCUS Product Line Manager September 30, 2009.
Fundamentals, DOM, Events, AJAX, UI Doncho Minkov Telerik Corporation
Definition from Wikipedia.  The Prototype JavaScript Framework  implemented as a single file of JavaScript code  named prototype.js (
 jQuery Mobile An Introduction. What is jQuery Mobile  A framework built on top of jQuery, used for creating mobile web applications  Designed to make.
New Rollbase User Interface
JQUERY – UI & THEMES "WRITE LESS, DO MORE" Built in interface elements.
Scripted, Tab Accessible Tree Control Hierarchical view of data via tree control. Keyboard Navigation from initially closed tree to view above with focus.
Accessibility for Rich Internet Applications: Colin Clark, Fluid Project Technical Lead, Adaptive Technology Resource Centre Techniques & Toolkits.
Danielle Baldwin, ITS Web Services CMS Administrator Application Overview and Joomla 1.5 RC 1 Highlights.
An Introduction to WAI-ARIA Dan Jackson Web Team Leader City University London.
© 2008 IBM Corporation Emerging Internet Technologies Real World Accessibility with ARIA Becky Gibson Web Accessibility Architect.
Chapter 4 Dreamweaver: Part II The Web Warrior Guide to Web Design Technologies.
PhpXperts What is jQuery Javascript Library Fast and concise Simplifies the interaction between HTML and JavaScript.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Yahoo! User Interface (YUI) Library Natly Mekdara.
Ajax Runtime Toolkits IBM Emerging Technologies. What is an AJAX Toolkit/Framework? An AJAX Toolkit/Runtime is more than just XMLHTTPRequest Should includes:
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
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,
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
ASP.NET Web Server Controls Basic Web Server Controls.
13. jQuery See the official documentation at  See the terse API documentation at
Substance look and feel JavaOne 2007 Community Corner.
Tutorial 111 The Visual Studio.NET Environment The major differences between Visual Basic 6.0 and Visual Basic.NET are the latter’s support for true object-oriented.
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.
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
JavaScript Framework for Rich Apps in Every Browser Maura Wilder Joan Wortman
INTRODUCTION TO HTML5 Using jQuery with HTML5. Introducing jQuery  Although it is not a part of any W3C or WHATWG specification, jQuery performs an important.
Are you getting the benefits from ASP.NET and AJAX? Introduction to the CTC ASP.NET Webforms Generator.
Chapter 5 Quick Links Slide 2 Performance Objectives Understanding Framesets and Frames Creating Framesets and Frames Selecting Framesets and Frames Using.
Session 27 Swing vs. AWT. AWT (Abstract Window ToolKit) It is a portable GUI library for stand-alone applications and/or applets. The Abstract Window.
Unleash the Power of jQuery Doncho Minkov Telerik Software Academy academy.telerik.com Senior Technical Trainer
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.
Fundamentals, Ajax, Templates, UI Doncho Minkov Telerik Corporation
Unleash the Power of jQuery Learning & Development Team Telerik Software Academy.
Chapter Eleven The X Window System. 2 Lesson A Starting and Navigating an X Window System.
Widgets in Web Design: Where Spry Can Take You Joyce Porter Weber State University Ogden, UT.
Looking at various Rich Message options in KRAD Kuali University: Apply Now Lab : Rich Messages Lab Objectives Understand what Rich Messages are and how.
Plug-in Architectures Presented by Truc Nguyen. What’s a plug-in? “a type of program that tightly integrates with a larger application to add a special.
Intro to jQuery. What is jQuery? A JavaScript library Lightweight (about 31KB for the minified version) Simplifies HTML document traversing (DOM), event.
Unit 13 –JQuery Basics Instructor: Brent Presley.
Chapter 11 Adding Media and Interactivity. Chapter 11 Lessons Introduction 1.Add and modify Flash objects 2.Add rollover images 3.Add behaviors 4.Add.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
Adding Interactivity Comp 140 Fall Web 2.0 Major change in internet usage –From mostly static pages Text Graphics Simple links –To new paradigm.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 6 1 Creating Dynamic Pages.
CS 174: Web Programming October 28 Class Meeting Department of Computer Science San Jose State University Fall 2015 Instructor: Ron Mak
1 Using jQuery JavaScript & jQuery the missing manual (Second Edition)
Adobe ® Photoshop ® CS6 Chapter 1 Editing a Photo.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED FORMS.
WaveMaker Visual AJAX Studio 4.0 Training Styling your application.
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.
CIS 136 Building Mobile Apps
JQuery UI.
User Interface Design and Usability jQuery, jQuery UI & jQuery Plugins
Tutorial 6 Topic: jQuery and jQuery Mobile Li Xu
Fundamentals, DOM, Events, AJAX, UI
JQuery UI Plug-ins, Object Models & the Window Object
jQuery The Easy JavaScript Nikolay Chochev Technical Trainer
Tutorial 6 Creating Dynamic Pages
SEEM4570 Tutorial 5: jQuery + jQuery Mobile
Web Development Using ASP .NET
Presentation transcript:

ICS 665 Jesse Abdul

jQuery UI Overview  jQuery UI javascript library Includes all UI component functionality  jQuery UI CSS framework Includes standard images and CSS for all UI components including icons

jQuery UI Overview  jQuery UI was first released in September 2007  jQuery UI is a curated set of user interface interactions, effects, widgets and themes built on top of the jQuery JavaScript Library. This library provides all of the UI components necessary to develop rich interactive web applications with all of the standard UI functionality available on desktop applications  Free open source software, licensed under the MIT license  Requires on the jQuery library for functionality

jQuery UI Advantages  Quick and easy to implement Can quickly add UI components to your application with minimal effort (e.g. adding a date picker)  Extensive demos available including source code for all examples  Leverages the advantages that the jQuery library provides (e.g. cross browser compatibility, call chaining, etc.)  Themeing ability for all widgets and icons

jQuery UI Components  Interactions  Effects  Methods  Widgets

Interactions  Interactions Interactions add basic mouse-based behaviors to any element and can be used by many of the widgets and effects. You can create sortable lists, resizable elements, and drag & drop behaviors with minimal code

Effects  Effects Extends jQuery’s built-in effects by adding support for animating colors and class transitions as well as providing several easings ○ Easing functions specify the speed at which animation progresses at different points within the animation. jQuery core’s default has two easings: linear (constant speed) and swing (progresses slower at beginning and end of animation) A full suite of custom effects are available for use when showing and hiding elements or just to add some visual appeal ○ Examples: bounce, drop, fade, etc. These effects can provide rich user interaction and are very configurable

Methods  Methods are added for convenience. They extend some of the jQuery functionality to provide extra UI functionality Example: jQuery UI show() method functions exactly like the jQuery show() method except it accepts parameters for animations and UI effects for the elements that are affected by the method call

Widgets Plugins ○ Object implementation including options, methods (both private and public) and events ○ jQuery UI widgets maintain state information e.g. Tabs widget maintains information on which tab is selected ○ jQuery UI widgets have a slightly different usage pattern than typical jQuery plugins jQuery plugins will use a named plugin method and supply arguments to the method jQuery UI widgets use the widget name as a method call and then pass in arguments to the call to inform the behavior of the plugin ○ All of the jQuery UI widgets use the same patterns so if you learn how to use one, then you’ll know how to use all of them Fully featured UI controls; each has a range of options and is fully themeable All widgets provide a solid core with numerous extension points for customizing behavior (e.g. specifying options)

Available Widgets (Accordion)  Accordion – displays content panels for presenting information in a limited amount of space

Available Widgets (Tabs)  Tabs – a single content area with multiple panels, each associated with a header in a list  Also includes native ability to load remote content via Ajax for the panel content

Available Widgets (Dialog)  Dialog – Open content in an interactive overlay

Available Widgets (Tooltip)  Tooltip – Customizable, themeable tooltips, replacing native tooltips

Available Widgets (continued)  Autocomplete – Allows users to quickly find and select from a pre-populated list of values as they type  Button – Enhances standard form elements like buttons, inputs and anchors to themeable buttons with appropriate hover and active styles  Datepicker – Select a date from a popup or inline calendar  Menu – Themeable menu with mouse and keyboard interactions for navigation  Progressbar – Display status of a determinate or indeterminate process  Slider – Drag a handle to select a numeric value  Spinner – Enhance an HTML text input field for entering numeric values with up/down buttons and arrow key handling

Getting Started  Build custom jQuery UI download Choose which version of jQuery UI (stable vs. legacy) Allows a developer to choose which components to download to get a custom version of the library for a particular project. (This reduces the amount of unnecessary code) ○ Download provides a “minified” version of the code to reduce JavaScript file size Select an existing theme or build your own custom theme using the ThemeRoller Interface ○ Allows all aspects of a global jQuery UI theme to be defined from color schemes and fonts to border radiuses. ○ Provides a very flexible framework to allow multiple themes to be implemented on a single web application that will apply to all UI components ○ A new theme can be easily applied to an existing application without disrupting any of the application code itself (just by downloading a new theme and switching the external css reference to the new theme directory)  Extract the zip file to a web-enabled directory The index page contains working examples of all default functionality for the downloaded widgets

Getting Started (Installing jQuery)  Setting up jQuery is very straightforward and easy Include the CSS framework file Include the jQuery file Include the jQuery UI file

Getting Started (Adding a Widget)  Simple example (date picker) To add a date picker to your application create the HTML text field To implement the date picker widget simply initialize the date picker widget and bind it to the text field (using the HTML id attribute) The result is the fully functional date picker widget to help a user pick a date

Getting Started (Customizing Widget)  jQuery UI allows you to customize widgets in several ways including implementation  Using Options Each widget in jQuery UI has a default configuration which is catered to the most basic and common use case. If you want a widget to behave different from its default configuration you can override each of its default settings using options. Options are a set of properties passed into a jQuery UI widget as an argument. The defined set of available options are listed in the API reference

Getting Started (Widget Options)  Example: A slider widget’s default behavior is a horizontal bar for specifying numeric values Configuration options can be specified to modify default behavior If there is more than one option specified they are supplied as comma-delimited name/value pairs

Getting Started (Widget Events)  Widgets can also be customized by specifying event handlers for various widget events. This can modify the default behavior by executing custom client-side code when various widget events occur.

Extending jQuery UI  Widget Factory This module provides a developer with the ability to create stateful jQuery UI plugins using the same abstraction as all jQuery UI widgets. A developer can develop custom widgets from scratch or extend the functionality of an existing widget. ○ Allows a new widget to inherit from an existing parent widget (subclassing)

Widget Factory (Continued)  Inheritance: This simple example creates a new widget called superDialog based on the native jQuery UI dialog widget. The $.widget call defines the new widget using the widget factory The second argument can be an existing widget to inherit from ($.ui.dialog) This widget defines one additional method “red” that changes the color of the dialog text to red. Otherwise superDialog can be called just like a native jQuery UI dialog widget

Widget Factory (Continued)  Instantiating widget To create the instance of the widget simply add the HTML code for the superDialog Instantiate the superDialog widget and call the red() method (supports call chaining) The result is the default dialog widget with red body text

Widget Factory Possibilities  Integrating Ajax into existing widgets by creating new Ajax-enabled widgets based on the core jQuery UI widgets  Creating new widgets that perform application-specific functions that can make development easier by customizing the widgets and making the javascript calling code cleaner.

Sources   factory/how-to-use-the-widget-factory/ factory/how-to-use-the-widget-factory/  factory/extending-widgets/ factory/extending-widgets/