(http://jqueryui.com) François Agneray. Octobre 2012



Similar documents
Web - Travaux Pratiques 1

OPENTABLE GROUP SEARCH MODULE GETTING STARTED ADD RESERVATIONS TO YOUR WEBSITE

Intro to jquery. Web Systems 02/17/2012

CST 150 Web Design I CSS Review - In-Class Lab

Modifier le texte d'un élément d'un feuillet, en le spécifiant par son numéro d'index:

Créer une carte. QGIS Tutorials and Tips. Author. Ujaval Gandhi Translations by

CLASSROOM WEB DESIGNING COURSE

JTouch Mobile Extension for Joomla! User Guide

jquery Sliding Image Gallery

SmartTouch R CRM Enhancements. 1. Administrators now have an Account Preferences Section where you can view s & phones in search views.

Introduction to web development and JavaScript

<link rel="stylesheet" type="text/css" media="all" href="css/iphone.css" /> <!-- User defined styles -->

Using Spry Widgets. In This Chapter

HTML5 & Friends. And How They Change A Developer s Life

C:\Users\Micha\Documents\drupal 7 module\improved_multi_select-7.x-2.x-dev.tar\improved_multi_select-7.x-2.x-dev\improved_multi_sel

Using Adobe Dreamweaver CS4 (10.0)

Subject Tool Remarks What is JQuery. Slide Javascript Library

Technical Service Bulletin

ios App Development Using Cordova

<Insert Picture Here>

Over mij. 17 jaar 17 jaar 2 jaar. 1 week

SEO Content Writing Guide

Tutorial JavaScript: Switching panels using a radio button

Personnalisez votre intérieur avec les revêtements imprimés ALYOS design

How To Customize A Forum On Vanilla Forum On A Pcode (Forum) On A Windows (For Forum) On An Html5 (Forums) On Pcode Or Windows 7 (Forforums) On Your Pc

We automatically generate the HTML for this as seen below. Provide the above components for the teaser.txt file.

Chapter 1 Introduction to web development and PHP

UComment. UComment is a comment component for Umbraco, it makes it very easy to add comment functionality to any Umbraco content document you wish.

Maximizing the Use of Slide Masters to Make Global Changes in PowerPoint

Mobile Web Applications using HTML5. L. Cotfas 14 Dec. 2011

Liste d'adresses URL

Coding Standards for Web Development

Cours de Java. Sciences-U Lyon. Java - Introduction Java - Fondamentaux Java Avancé.

PDF Web Form. Projects 1

jquery Tutorial for Beginners: Nothing But the Goods

COURSE OUTLINE FACULTY OF INFORMATION AND COMMUNICATION TECHNOLOGY UNIVERSITI TEKNIKAL MALAYSIA MELAKA

CSS : petits compléments

Further web design: Cascading Style Sheets Practical workbook

Making an online form in Serif WebPlus

.NET Best Practices Part 1 Master Pages Setup. Version 2.0

Installing and Sending with DocuSign for NetSuite v2.2

Sun Management Center 3.6 Version 5 Add-On Software Release Notes

Step 1: How to Create Links / Hyperlinks

Form Management Admin Guide

Dreamweaver CS5. Module 2: Website Modification

6. If you want to enter specific formats, click the Format Tab to auto format the information that is entered into the field.

Tutorial: Building a Dojo Application using IBM Rational Application Developer Loan Payment Calculator

WEB DESIGN COURSE CONTENT

Audit de sécurité avec Backtrack 5

The Smart Forms Web Part allows you to quickly add new forms to SharePoint pages, here s how:

HTML and CSS. Elliot Davies. April 10th,

Developer Tutorial Version 1. 0 February 2015

Using jquery and CSS to Gain Easy Wins in CiviCRM

Skills for Employment Investment Project (SEIP)

This tutorial assumes that you are familiar with ASP.Net and ActiveX controls.

CSS. CSS - cascading style sheets CSS - permite separar num documento HTML o conteúdo do estilo. ADI css 1/28

Figure 1 responsive grid system for all view ports, from desktops, tablets and smart phones

This matches a date in the MM/DD/YYYY format in the years The date must include leading zeros.

ShoreTel Enterprise Contact Center 8 Installing and Implementing Chat

How To Use Dreamweaver With Your Computer Or Your Computer (Or Your Computer) Or Your Phone Or Tablet (Or A Computer)

Boston University. Overview and Description: Instructor, Contact , Office Hours and Blackboard Site: Topic Coverage.

ITP 101 Project 3 - Dreamweaver

Dreamweaver. Introduction to Editing Web Pages

MANUAL FOR WEBSITE DEVELOPMENT USING WORDPRESS FOR RESEARCH GROUP SITE

Website Creator Pro Quick Reference Guide. Version: 0.5

Web Development CSE2WD Final Examination June (a) Which organisation is primarily responsible for HTML, CSS and DOM standards?

Your Guide to the All New, Drag & Drop, Mobile-Responsive Builder

Video Scripts for View Account Summary and Balances. Slide 1. Audio: No Audio. Page 1 of 13

Tutorial 6 Creating a Web Form. HTML and CSS 6 TH EDITION

Microsoft Expression Web

ICP Data Validation and Aggregation Module Training document. HHC Data Validation and Aggregation Module Training Document

DB2 Web Query: Creating Dashboards with HTML Composer and InfoAssist. Jacqueline Jansen Information Builders

To Begin Customize Office

Web Authoring CSS. Module Descriptor

caqtdm Tutorial Jim Stevens APS Controls Group October 9, 2014

Aspect WordPress Theme

shweclassifieds v 3.3 Php Classifieds Script (Joomla Extension) User Manual (Revision 2.0)

I will explain to you in English why everything from now on will be in French

MS Excel. Handout: Level 2. elearning Department. Copyright 2016 CMS e-learning Department. All Rights Reserved. Page 1 of 11

How To Create A Website Template On Sitefinity

Chapter 7 Page Layout Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

Getting Started Guide


Web Based Warehouse Management System

Totally Internet Based Software. User Entry. Strategy Systems, Inc. PO Box 2136 Rogers, AR (479)

Transcription:

(http://jqueryui.com) François Agneray Octobre 2012

plan jquery UI est une surcouche de jquery qui propose des outils pour créer des interfaces graphiques interactives. Ses fonctionnalités se divisent en différentes catégories : Interactions Donner des propriétés à des éléments HTML => drag, drop, resize,... Widgets Objets "clé en main " qui proposent des fonctionnalités de haut niveau => Accordion, Tabs, Dialog, DatePicker...

Interactions Interaction: draggable 1. Inclure les bibliothèques 1 <html> <head> <title>test jquery</title> 2. Inclure le style CSS ( <script type="text/javascript" src="jquery/js/jquery.js"> <script type="text/javascript" src="jquery/js/jquery-ui.js"> <form action="traite_form.php"> <input type="text" name="date"> </form>

Interactions Interaction: draggable 1. Inclure les bibliothèques 2. Inclure le style CSS 1 2 <html> <head> <title>test jquery</title>. Inclure le style CSS ( <script type="text/javascript" src="jquery/js/jquery.js"> <script type="text/javascript" src="jquery/js/jquery-ui.js"> <link type="text/css" href="jquery/css/ui-lightness/jquery-ui-1.8.19.custom.css" rel="stylesheet">

Interactions Interaction draggable 1 <html> <head> <title>test jquery</title> <script type="text/javascript" src="jquery/js/jquery.js"> <script type="text/javascript" src="jquery/js/jquery-ui.js"> 1. Inclure les bibliothèques 2. Inclure le style CSS. Définir un attribut id pour le champ cible. Inclure le style CS 2 <link type="text/css" href="jquery/css/ui-lightness/jquery-ui-1.8.19.custom.css" rel="stylesheet"> <div id= "objdrag" > <p>déplace moi</p></div>

Interactions Interaction: draggable 1 <html> <head> <title>test jquery</title> <script type="text/javascript" src="jquery/js/jquery.js"> <script type="text/javascript" src="jquery/js/jquery-ui.js"> 1. Inclure les bibliothèques 2. Inclure le style CSS. Définir un attribut id pour le champ cible. Associer la fonction draggable 2 <link type="text/css" href="jquery/css/ui-lightness/jquery-ui-1.8.19.custom.css" rel="stylesheet"> $("#objdrag").draggable(); <div id= "objdrag" > <p>déplace moi</p></div>

Interactions Interaction: resizable... $("#objet").draggable(); $("#objet").resizable(); <div id= "objet" > <p>resize & Drag</p></div>

Interactions Interaction: selectable 2 <style> #selection.ui-selected {background: grey; color: white;} #selection {list-style-type: none;} </style> $("#selection").selectable(); <ul id="selection"> <li class="ui-widget-content"> item 1</li> <li class="ui-widget-content"> item 2</li> <li class="ui-widget-content"> item </li> </ul>

Widget tooltip... $(document). tooltip (); Test de <a href="#" title="blabla info bulle">l'info bulle</a>

Widget Accordion $("#accordeon").accordion(); }) <div id="accordeon"> <h>section 1</h><div><p>bla bla bla bla section 1</p></div> <h>section 2</h><div><p>bla bla bla bla section 2</p> </div> <h>section </h><div><p>bla bla bla bla section </p></div> <h>section </h><div><p>bla bla bla bla section </p></div> </div>

Widget Tabs $("#onglets").tabs(); }) <div id="onglets"> <ul> <li><a href="#onglet1">onglet 1</a></li> <li><a href="#onglet2">onglet 2</a></li> <li><a href="#onglet">onglet </a></li> </ul> <div id="onglet1">blablabla section 1</div> <div id="onglet2">blablabla section 2</div> <div id="onglet">blablabla section </div> </div>

Widget Dialog $("#dialogue").dialog(); }) <div id="dialogue" title="basic dialog"> <p>boîte de dialogue</p> </div>

Widget DatePicker... $("#date1").datepicker(); Saisir une date: <input type="text" name="date" id="date1" >

Widget DatePicker... $("#date1").datepicker({ dateformat: "yy-mm-dd", altfield: "#Altdate", altformat: "DD, d MM, yy" Saisir une date: <input type="text" name="date" id="date1" > => <input type="text" id="altdate" size=0>

Widget DatePicker... $("#date1").datepicker({ dateformat: "yy-mm-dd", altfield: "#Altdate", altformat: "DD, d MM, yy", showon: "button", buttonimage: "IMG/calendar.jpeg", buttonimageonly: true Saisir une date: <input type="text" name="date" id="date1" > => <input type="text" id="altdate" size=0>

Widget slider... $("#monslider"). slider ({ min: 0, max: 10, value : 0, slide: function(event, ui){$("#variation").html(ui.value);} <b>variation</b> [ <span id="variation"> 0 </span> ] <div id="monslider"></div>

Widget Button... $("#radio"). buttonset (); <form> <div id="radio"> <input type="radio" id="radio1" name="btn-radio" checked><label for="radio1"> Radio 1</label> <input type="radio" id="radio2" name="btn-radio"><label for="radio2"> Radio 2</label> <input type="radio" id="radio" name="btn-radio"><label for="radio"> Radio </label> </div> </form>

Widget Menu... $("#monmenu"). menu ({ select: function( event, ui ) { }... var link = ui.item.children( "a:first" ); if ( link.attr( "target" ) event.metakey event.shiftkey event.ctrlkey ) {return;} location.href = link.attr( "href" ); <ul id="monmenu"> <li><a href="#">item 1</a></li> <li><a href="#">item 2</a></li> <li> <a href="#">item </a> <ul> <li><a href="#">item -1</a></li> <li><a href="#">item -2</a></li> <li><a href="#">item -</a></li> </ul> </li> </ul>