PLUGINS (http://jqueryui.com) Stéphane Gimenez. Octobre 2012

Documents pareils
TP JAVASCRIPT OMI4 TP5 SRC

Présentation du Framework BootstrapTwitter

NFA016 : Introduction. Pour naviguer sur le Web, il faut : Naviguer: dialoguer avec un serveur web

Sommaire Accès via un formulaire d'identification... 4 Accès en mode SSO... 5 Quels Identifiant / mot de passe utiliser?... 6

HMTL. Exemple de fichier HTML. Structure d un document HTML. Exemple de fichier HTML. Balises HTML. IFT1147 Programmation Serveur Web avec PHP

HTML, CSS, JS et CGI. Elanore Elessar Dimar

Serveur d'application Client HTML/JS. Apache Thrift Bootcamp

Tous les autres noms de produits ou appellations sont des marques déposées ou des noms commerciaux appartenant à leurs propriétaires respectifs.

Activités HTML. Code: act-html

SYSTÈMES D INFORMATIONS

Document Object Model (DOM)

Séance d ED n 5 : HTML et JavaScript

DOM - Document Object Model

Initiation aux techniques du Web. Cours L2 sciences cognitives séance 2 Charif HAYDAR: alchiekc@loria.fr

ISTEX-SNU. ISTEX en quelques clics dans votre portail documentaire. Séminaire technique ISTEX 18 mars 2015

Par KENFACK Patrick MIF30 19 Mai 2009

SUPPORT DE COURS / HTML

PLUGINS Guide du Développeur STEPHANE FERRARI. P l u X m l 5.4

Un jour, une question Réponse à une problématique issue de la liste GTA *

RAPPORT AUDIT SEO. Élaboré à l'attention de : Monsieur Greber Élaboré par : Cédric Peinado

Notice d accessibilité HTML, CSS et JavaScript

Introduction. PHP = Personal Home Pages ou PHP Hypertext Preprocessor. Langage de script interprété (non compilé)

Tutoriel : Feuille de style externe

Auteur LARDOUX Guillaume Contact Année 2014 DEVELOPPEMENT MOBILE AVEC CORDOVA

Gestion d identités PSL Exploitation IdP Authentic

API SMS CONSEIL HTTP V2.01. Sommaire. Documentation V1.0 au 21/05/2011

Rapport de projet Site web pour une association

Programmation Web. Madalina Croitoru IUT Montpellier

Formulaire pour envoyer un mail

STID 2ème année : TP Web/PHP

WordPress Référencement naturel (SEO) Optimiser. son référencement. Daniel Roch. Préface d Olivier Andrieu

PHP et mysql. Code: php_mysql. Olivier Clavel - Daniel K. Schneider - Patrick Jermann - Vivian Synteta Version: 0.9 (modifié le 13/3/01 par VS)

Du 23 Janvier au 3 Février2012 Tunis (Tunisie)

Evaluation des performances de programmes parallèles haut niveau à base de squelettes

HTML/CSS - Travaux Pratiques 2

Extended communication server 4.1 : VoIP SIP service- Administration

CREATION d UN SITE WEB (INTRODUCTION)

Sécurité des applications web. Daniel Boteanu

HTML5 et CSS3 pour des sites Responsive Web Design

Comment créer son propre monitoring. (Version simple PHP)

CRÉER, ROUTER ET GÉRER UNE NEWSLETTER, UN ING

Mise en place d un serveur Proxy sous Ubuntu / Debian

Formulaires et Compteurs

Ecriture d'un Plugin pour GLPI

Module Com231A - Web et Bases de Données Notion 5 : Formulaires et utilisation des Bases de Données avec PHP

Démarrer avec Ajax et le php: exemple d'application

PHP et les Bases de données - Généralités

Guide de réalisation d une campagne marketing

Création d'une application WEB avec PHP / MySQL

Tutoriel. Google Analytics et Microsoft Office 365

Documentation Suivi S.E.O

Démonstration de la mise en cache via HTML 5 sur iphone

Secure Card Data. Spécifications. Version SIX Payment Services

Prenez soin de vos clients en temps réèl

L'API DOM : Document Object Model

WordPress Référencement naturel (SEO) Optimiser. son référencement. Daniel Roch. Préface d Olivier Andrieu

Version beta. Station Météo 12/11/2012. Réalisation d un Station Météo avec Webserver composée de capteurs Grove et d un module Wifi Flyport.

RESPONSIVE DESIGN : Comment offrir à vos sites une adaptabilité parfaite?

LES GRANDES ETAPES DE CREATION D UN WEB DESIGN

Panel des technologies Web

Bases de Données et Internet

Normes techniques 2011

ANF Datacentre. Jonathan Schaeffer Monitoring Environnemental Ad-Hoc. J. Schaeffer. Intro. Dans mon rack.

Bonnes pratiques de développement JavaScript

MANUEL D UTILISATION ORBITVU EDITOR V.3

1 ère Université WEB. Courbevoie Samedi 21 octobre Votre site interactif sur internet.

Stockage du fichier dans une table mysql:

EXPOSE. La SuisseID, qu est ce que c est? Secrétariat d Etat à l Economie SECO Pierre Hemmer, Chef du développement egovernment

Principes d ergonomie des interfaces WEB ( INTERNET / INTRANET )

MANUEL WORDPRESS. Objectif: Refonte d un site web sous Wordpress I PRE-REQUIS: 1 / Créer un backup (sauvegarde) du site:

Introduction. Passage de sites statiques à des sites dynamiques

PLATE-FORMES LIBRES *AMP CYBER PAIEMENT / CYBER PLUS PAIEMENT GUIDE DE MIGRATION FACILE ET EN UNE HEURE PLATE-FORME SYSTEMPAY

FORMATION / CREATION DE SITE WEB / 4 JOURNEES Sessions Octobre 2006

Attaques de type. Brandon Petty

Canvas 3D et WebGL. Louis Giraud et Laetitia Montagny. 9 Avril Université Lyon 1

Techniques de Programmation pour Internet

Les grandes facettes du développement Web Nicolas Thouvenin - Stéphane Gully

Module BD et sites WEB

WEB-ANALYTICS & GOOGLE ANALYTICS

Académie Google AdWords

Introduction à MATLAB R

RÉALISATION D UN SITE DE RENCONTRE

Exemple d application en CFD : Coefficient de traînée d un cylindre

Création de formulaires interactifs

Drupal Développeur. Theming et développement pour Drupal. Une formation Formateur : Fabien Crépin. Drupal Développeur.

Google Webmaster Tools

TD HTML AVEC CORRECTION

Mozilla Firefox 3.5. Google Chrome 3.0 LES NAVIGATEURS WEB. (pour Windows) Opéra 10. Internet Explorer 8. Safari 4.0

Travaux dirigés n 10

Programmation Web TP1 - HTML

Modélisation PHP Orientée Objet pour les Projets Modèle MVC (Modèle Vue Contrôleur) Mini Framework

SPECIFICITES TECHNIQUES DES FORMATS PUBLICITAIRES

Cahier Technique. «Développer une application intranet pour la gestion des stages des étudiants» Antonin AILLET. Remi DEVES

Rapport de stage. Création d un site web. Stage du 20/01/2013 au 21/02/2013

Alfstore workflow framework Spécification technique

WinBooks Logistics 5.0

Sana Sellami. Licence Professionnelle SIL

Transcription:

PLUGINS (http://jqueryui.com) Stéphane Gimenez Octobre 202

plan Outils Vérification de formulaire Plugins TableSorter JQPlot

Outils Vérification de formulaire <script type="text/javascript" src="jquery/js/jquery.js"><script> <script type="text/javascript" src="jquery/js/jquery.validate.js"></script> <form> Saisir votre Nom: <input type='text' name='t'><br> <input type="submit"> </form> </html>

Outils 2 Vérification de formulaire <style type="text/css">.error {color:red 2. Définir le style pour les erreurs </style> <script type="text/javascript" src="jquery/js/jquery.js"></script> <script type="text/javascript" src="jquery/js/jquery.validate.js"></script> <form> Saisir votre Nom: <input type='text' name='t'><br> <input type="submit"> </form> </html>

Outils 2 Vérification de formulaire <style type="text/css">.error {color:red 2. Définir le style pour les erreurs. Ajouter un attribut id au formulaire </style> <script type="text/javascript" src="jquery/js/jquery.js"></script> <script type="text/javascript" src="jquery/js/jquery.validate.js"></script> <form id="formtest" > Saisir votre Nom: <input type='text' name='t'><br> <input type="submit"> </form> </html>

Outils 2 4 Vérification de formulaire <style type="text/css">.error {color:red </style> <script type="text/javascript" src="jquery/js/jquery.js"></script> <script type="text/javascript" src="jquery/js/jquery.validate.js"></script> <script type="text/javascript"> $(document).ready(function() { $('#formtest').validate(); ); </script> </head> <form id="formtest" > Saisir votre Nom: <input type='text' name='t'><br> <input type="submit"> </form> </html> 2. Définir le style pour les erreurs. Ajouter un attribut id au formulaire 4. Associer la vérification au formulaire

Outils 2 4 Vérification de formulaire <style type="text/css">.error {color:red </style> <script type="text/javascript" src="jquery/js/jquery.js"></script> <script type="text/javascript" src="jquery/js/jquery.validate.js"></script> <script type="text/javascript"> $(document).ready(function() { $('#formtest').validate({ 5 rules: {t: { required:true, messages: {t: { required : "entrer un nom" ); ); </script> </head> 2. Définir le style pour les erreurs. Ajouter un attribut id au formulaire 4. Associer la vérification au formulaire 5. définir les règles et les messages <form id="formtest" > Saisir votre Nom: <input type='text' name='t'><br> <input type="submit"> </form>

Plugin TableSorter ( <script type="text/javascript" src="jquery/js/jquery.js"></script> <script type="text/javascript" src="jquery/js/jquery.tablesorter.js"></script> </head> <table id='tableau' class="tablesorter"> <thead> <tr><th>prénom</th> <th>nom</th> <th>age</th> </tr> </thead> <tbody> <tr><td>pierre</td><td>dupont</td><td>5</td></tr> <tr><td>paul</td><td>durant</td><td>0</td></tr> <tr><td>jacques</td><td>dupond</td><td>45</td></tr> </tbody> </table>

Plugin TableSorter 2 <script type="text/javascript" src="jquery/js/jquery.js"></script> <script type="text/javascript" src="jquery/js/jquery.tablesorter.js"></script> <link rel="stylesheet" type="text/css" href="jquery/themes/blue/style.css"> </head> <table id='tableau' class="tablesorter"> <thead> <tr><th>prénom</th> <th>nom</th> <th>age</th> </tr> </thead> <tbody> <tr><td>pierre</td><td>dupont</td><td>5</td></tr> <tr><td>paul</td><td>durant</td><td>0</td></tr> <tr><td>jacques</td><td>dupond</td><td>45</td></tr> </tbody> </table>

Plugin TableSorter <script type="text/javascript" src="jquery/js/jquery.js"></script>. Ajouter un attribut id au tableau ( <script type="text/javascript" src="jquery/js/jquery.tablesorter.js"></script> 2 <link rel="stylesheet" type="text/css" href="jquery/themes/blue/style.css"> </head> <table id='tableau' class="tablesorter"> <thead> <tr><th>prénom</th> <th>nom</th> <th>age</th> </tr> </thead> <tbody> <tr><td>pierre</td><td>dupont</td><td>5</td></tr> <tr><td>paul</td><td>durant</td><td>0</td></tr> <tr><td>jacques</td><td>dupond</td><td>45</td></tr> </tbody> </table>

Plugin TableSorter 2 <script type="text/javascript" src="jquery/js/jquery.js"></script> <script type="text/javascript" src="jquery/js/jquery.tablesorter.js"></script> <script>$(document).ready(function() { $("#tableau").tablesorter(); ); </script> <link rel="stylesheet" type="text/css" href="jquery/themes/blue/style.css"> </head> <table id='tableau' class="tablesorter"> 4 <thead> <tr><th>prénom</th> <th>nom</th> <th>age</th> </tr> </thead> <tbody> <tr><td>pierre</td><td>dupont</td><td>5</td></tr> <tr><td>paul</td><td>durant</td><td>0</td></tr> <tr><td>jacques</td><td>dupond</td><td>45</td></tr> </tbody> </table>. Ajouter un attribut id au tableau 4. Mettre des classes de style 5. Associer la fonction de tri au tableau 5

Plugin JQplot - Pie. Ajouter un attribut id au graphe 4. Associer la fonction du plot 2 <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jqplot.myhighlighter.js"></script> <script type="text/javascript" src="js/jqplot.pierenderer.min.js"></script> <script type="text/javascript" src="js/jqplot.barrenderer.min.js"></script> <script type="text/javascript" src="js/jqplot.categoryaxisrenderer.min.js"></script> <link rel="stylesheet" href="css/jquery.jqplot.min.css" type="text/css" media="screen" /> <script> var data = [['G', 40],['G2', 20],['G', 0]]; var plot0 = jquery.jqplot ("pie", [data], { seriesdefaults: { renderer: jquery.jqplot.pierenderer ); </script> <div id="pie" style="text-align:center;height:200px;width:200px"></div> 4

Plugin JQplot - Pie. Ajouter un attribut id au graphe 4. Compléter la fonction du plot <script> var data = [['G', 40],['G2', 20],['G', 0]]; var plot0 = jquery.jqplot ("pie", [data], { seriesdefaults: { renderer: jquery.jqplot.pierenderer, 4 rendereroptions: { showdatalabels: true,fill: false,slicemargin: 2,padding : 4 ); </script> <div id="pie" style="text-align:center;height:200px;width:200px"></div>

Plugin JQplot - Pie. Ajouter un attribut id au graphe 4. Compléter la fonction du plot <script> var data = [['G', 40],['G2', 20],['G', 0]]; var plot0 = jquery.jqplot ("pie", [data], { seriesdefaults: { 4 renderer: jquery.jqplot.pierenderer, rendereroptions: { showdatalabels: true,fill: false,slicemargin: 2,padding : 4, grid : {borderwidth:0,shadow: false ); </script> <div id="pie" style="text-align:center;height:200px;width:200px"></div>

Plugin JQplot - Pie. Ajouter un attribut id au graphe 4. Compléter la fonction du plot 4 <script> var plot2 = $.jqplot("bar", [ [ [2,], [4,2], [6,], [,4] ], [ [5,], [,2], [,], [4,4] ], [ [4,], [7,2], [,], [2,4] ] ], { seriesdefaults: { renderer:$.jqplot.barrenderer, pointlabels: { show: true, location: 'e', edgetolerance: -5, shadowangle: 5, rendereroptions: { bardirection: 'horizontal', axes: { yaxis: { renderer: $.jqplot.categoryaxisrenderer ); </script> <div id="bar" style="text-align:center;height:200px;width:200px"></div>

Plugin JQplot - Pie. Ajouter un attribut id au graphe 4. Compléter la fonction du plot <script> var data = [['G', 40],['G2', 20],['G', 0]]; var plot0 = jquery.jqplot ("pie", [data], { seriesdefaults: { 4 renderer: jquery.jqplot.pierenderer, rendereroptions: { showdatalabels: true,fill: false,slicemargin: 2,padding : 4, grid : {borderwidth:0,shadow: false, legend: { show:true, location: 'e', seriescolors: [ "#A9BBF4", "#829DF6", "#CCCCCC",] ); </script> <div id="pie" style="text-align:center;height:200px;width:200px"></div>

Plugin JQplot - histogramme. Ajouter un attribut id au graphe 4. Compléter la fonction du plot <script> var data = [['G', 40],['G2', 20],['G', 0]]; var plot0 = jquery.jqplot ("pie", [data], { seriesdefaults: { 4 renderer: jquery.jqplot.pierenderer, rendereroptions: { showdatalabels: true,fill: false,slicemargin: 2,padding : 4, grid : {borderwidth:0,shadow: false, legend: { show:true, location: 'e', seriescolors: [ "#A9BBF4", "#829DF6", "#CCCCCC",] ); </script> <div id="pie" style="text-align:center;height:200px;width:200px"></div>