IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

jQuery Discussion :

jQuery UI 1.8.17 est disponible


Sujet :

jQuery

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Rédacteur

    Avatar de danielhagnoul
    Homme Profil pro
    Étudiant perpétuel
    Inscrit en
    Février 2009
    Messages
    6 389
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 74
    Localisation : Belgique

    Informations professionnelles :
    Activité : Étudiant perpétuel
    Secteur : Enseignement

    Informations forums :
    Inscription : Février 2009
    Messages : 6 389
    Billets dans le blog
    125
    Par défaut jQuery UI 1.8.17 est disponible
    jQuery UI 1.8.17 est disponible

    La dix-septième version de maintenance de la branche 1.8 corrige des bogues dans Accordion, Autocomplete, Button, Datepicker, Droppable, Position, Progressbar, Selectable, Sortable, Tabs, et le CSS Framework. Cette version améliore la compatibilité avec jQuery 1.7.1

    Liste des modifications

    Source

    Pour utiliser cette version, il suffit d'inclure les appels suivants dans votre page web :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    <link rel="stylesheet" type="text/css" 
    href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/themes/humanity/jquery-ui.css">
    Liste des thémes CSS disponibles :

    base, black-tie, blitzer, cupertino, dark-hive, dot-luv, eggplant, excite-bike, flick, hot-sneaks, humanity, le-frog, mint-choc, overcast, pepper-grinder, redmond, smoothness, south-street, start, sunny, swanky-purse, trontastic, ui-darkness, ui-lightness, et vader.

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    <script charset="utf-8" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
    <script charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/i18n/jquery-ui-i18n.min.js"></script>
    <script charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.min.js"></script>

    Blog

    Sans l'analyse et la conception, la programmation est l'art d'ajouter des bogues à un fichier texte vide.
    (Louis Srygley : Without requirements or design, programming is the art of adding bugs to an empty text file.)

  2. #2
    Modérateur
    Avatar de Flaburgan
    Homme Profil pro
    Développeur Web
    Inscrit en
    Avril 2010
    Messages
    1 229
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Isère (Rhône Alpes)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Électronique et micro-électronique

    Informations forums :
    Inscription : Avril 2010
    Messages : 1 229
    Par défaut
    Et si je veux utiliser JQuery sans linker vers Big Brother, le télécharger puis le mettre dans un dossier à côté, ça marche ?

  3. #3
    Membre très actif
    Profil pro
    Développeur informatique
    Inscrit en
    Avril 2009
    Messages
    527
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Avril 2009
    Messages : 527
    Par défaut
    Citation Envoyé par Flaburgan Voir le message
    Et si je veux utiliser JQuery sans linker vers Big Brother, le télécharger puis le mettre dans un dossier à côté, ça marche ?
    Oui et heureusement, car si tu n'as pas accès au net (par exemple appli en intranet), comment faire? De plus il y a d'autres serveurs que Google où jquery est dispo (là je ne sais plus lesquels, il faut chercher).

  4. #4
    Modérateur
    Avatar de Flaburgan
    Homme Profil pro
    Développeur Web
    Inscrit en
    Avril 2010
    Messages
    1 229
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Isère (Rhône Alpes)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Électronique et micro-électronique

    Informations forums :
    Inscription : Avril 2010
    Messages : 1 229
    Par défaut
    Ok merci, je n'ai encore jamais touché à JQuery mais j'avais le projet d'apprendre, mais j'en ai marre de toujours passer par ce fouineur de Google dès que j'ai besoin de quelque chose...

  5. #5
    Membre très actif

    Homme Profil pro
    Mentaliste
    Inscrit en
    Mars 2008
    Messages
    872
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Bouches du Rhône (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Mentaliste
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mars 2008
    Messages : 872
    Par défaut
    Citation Envoyé par Flaburgan Voir le message
    Ok merci, je n'ai encore jamais touché à JQuery mais j'avais le projet d'apprendre, mais j'en ai marre de toujours passer par ce fouineur de Google dès que j'ai besoin de quelque chose...
    Mais mais mais.. il ne fouine pas, il aide !

    Faut pas voir la méchanceté partout !

    De plus google s'adapte à ce qu'on lui demande, je m'explique : si tu dis ça :

    href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/blabla"

    alors il récupère la 1.8.17, ok ?

    Mais si tu dis ça :

    href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/blabla"

    il récupèrera automatiquement la dernière version de la branche 1.8, soit actuellement la 1.8.17 ! Génial !

    Et en continuant :

    href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/blabla"

    il récupèrera automatiquement la dernière version de la branche 1, soit actuellement la 1.8.17 ! Et quand la 1.9 sortira, automatiquement il passera à la 1.9 sur ton site !

    Génial !

    Faut arrêter de voir le mal partout !

  6. #6
    Rédacteur

    Avatar de danielhagnoul
    Homme Profil pro
    Étudiant perpétuel
    Inscrit en
    Février 2009
    Messages
    6 389
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 74
    Localisation : Belgique

    Informations professionnelles :
    Activité : Étudiant perpétuel
    Secteur : Enseignement

    Informations forums :
    Inscription : Février 2009
    Messages : 6 389
    Billets dans le blog
    125
    Par défaut
    Bonjour

    Tant pour jQuery que pour jQuery UI, je vous déconseille le chargement automatique de la dernière version, car il peut y avoir des problèmes de rétrocompatibilité.

    Nous avons eu le cas avec jQuery lors de l'apparition de la méthode prop et cela va être le cas avec jQuery UI 1.9, voir : http://www.developpez.net/forums/d10...te-cours-lapi/

    Blog

    Sans l'analyse et la conception, la programmation est l'art d'ajouter des bogues à un fichier texte vide.
    (Louis Srygley : Without requirements or design, programming is the art of adding bugs to an empty text file.)

  7. #7
    Rédacteur

    Avatar de danielhagnoul
    Homme Profil pro
    Étudiant perpétuel
    Inscrit en
    Février 2009
    Messages
    6 389
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 74
    Localisation : Belgique

    Informations professionnelles :
    Activité : Étudiant perpétuel
    Secteur : Enseignement

    Informations forums :
    Inscription : Février 2009
    Messages : 6 389
    Billets dans le blog
    125
    Par défaut
    Pour une version perso : http://jqueryui.com/download

    Pour les alternatives : le lien vers l'article source.

    Blog

    Sans l'analyse et la conception, la programmation est l'art d'ajouter des bogues à un fichier texte vide.
    (Louis Srygley : Without requirements or design, programming is the art of adding bugs to an empty text file.)

  8. #8
    Membre averti
    Profil pro
    Inscrit en
    Septembre 2009
    Messages
    19
    Détails du profil
    Informations personnelles :
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations forums :
    Inscription : Septembre 2009
    Messages : 19
    Par défaut pourquoi me donne t-il un DOMException ?
    excusez-moi d'avance pour ma naïveté, mais je teste en ce moment jquery et je tourne en rond depuis qq heures....
    Sur la page on ne peut plus basique qui suis, j'ai un "SYNTAX_ERR: DOM Exception 12" (console js de Chrome). Qqn saurait m'expliquer ?

    Code html : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    <html>
        <head>
        </head>
        <body>        
            <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/themes/humanity/jquery-ui.css">
            <script charset="utf-8" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
            <script charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/i18n/jquery-ui-i18n.min.js"></script>
            <script charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.min.js"></script>
        </body>
    </html>

  9. #9
    Rédacteur

    Avatar de danielhagnoul
    Homme Profil pro
    Étudiant perpétuel
    Inscrit en
    Février 2009
    Messages
    6 389
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 74
    Localisation : Belgique

    Informations professionnelles :
    Activité : Étudiant perpétuel
    Secteur : Enseignement

    Informations forums :
    Inscription : Février 2009
    Messages : 6 389
    Billets dans le blog
    125
    Par défaut
    Bonsoir

    Le <link> doit être dans le <head> !

    Nota bene : sur le serveur Google la version 1.8.16 de i18n est disponible, mais pas la 1.8.17 !

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    <link rel="stylesheet" type="text/css" 
    href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/themes/humanity/jquery-ui.css">
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    <script charset="utf-8" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
    <script charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/i18n/jquery-ui-i18n.min.js"></script>
    <script charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.min.js"></script>

    Blog

    Sans l'analyse et la conception, la programmation est l'art d'ajouter des bogues à un fichier texte vide.
    (Louis Srygley : Without requirements or design, programming is the art of adding bugs to an empty text file.)

  10. #10
    Membre averti
    Profil pro
    Inscrit en
    Septembre 2009
    Messages
    19
    Détails du profil
    Informations personnelles :
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations forums :
    Inscription : Septembre 2009
    Messages : 19
    Par défaut
    Citation Envoyé par danielhagnoul Voir le message
    Bonsoir

    Le <link> doit être dans le <head> !

    Nota bene : sur le serveur Google la version 1.8.16 de i18n est disponible, mais pas la 1.8.17 !

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    <link rel="stylesheet" type="text/css" 
    href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/themes/humanity/jquery-ui.css">
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    <script charset="utf-8" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
    <script charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/i18n/jquery-ui-i18n.min.js"></script>
    <script charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.min.js"></script>
    Il l'était au départ, mais j'ai changé tellement de fois pour que essayer toutes les options...
    Malheureusement, je confirme, le code suivant fait la même erreur :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
     
    <html>
        <head>
            <title>Bonjour !</title>
            <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/themes/humanity/jquery-ui.css">
        </head>
        <body>
            <script charset="utf-8" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
            <script charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.min.js"></script>
        </body>
    </html>

  11. #11
    Rédacteur

    Avatar de danielhagnoul
    Homme Profil pro
    Étudiant perpétuel
    Inscrit en
    Février 2009
    Messages
    6 389
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 74
    Localisation : Belgique

    Informations professionnelles :
    Activité : Étudiant perpétuel
    Secteur : Enseignement

    Informations forums :
    Inscription : Février 2009
    Messages : 6 389
    Billets dans le blog
    125
    Par défaut
    SYNTAX_ERR code 12 : In invalid or illegal string has been specified; for example setting the selectorText property of a CSSStyleRule with an invalid CSS value.
    D'après le code de l'erreur, il s'agit d'un bogue dans l'écriture des CSS.

    Je remarque que vous n'avez pas de doctype. Voici un exemple de page qui fonctionne (je viens de la tester) :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    <!doctype html>
    <html lang="fr">
    <head>
    	<meta charset="utf-8">
    	<meta name="Author" content="Daniel Hagnoul">
    	<title>Forum jQuery</title>
    	<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/themes/humanity/jquery-ui.css">
    	<link rel="stylesheet" href="http://danielhagnoul.developpez.com/lib/jPicker/css/jPicker.dvjh-1.1.6.min.css" />
    	<style>
    		/* Base */
    		html {font-size:62.5%; } /* Pour 62.5% 1rem =~ 10px */
    		div,p,h1,h2,h3,h4,h5,h6,ul,ol,dl,form,table,img {margin:0; padding:0; }
    		body {background-color:rgb(122, 79, 79); color:#000000; font-family:sans-serif; font-size:1.4rem; font-style:normal; font-weight:normal; line-height:normal; letter-spacing:normal; }
    		h1,h2,h3,h4,h5 {font-family:'Redressed', cursive; padding:0.6rem; }
    		p, div, td {word-wrap:break-word; }
    		pre, code {white-space:pre-wrap; word-wrap:break-word; }
    		img, input, textarea, select {max-width:100%; }
            img {border:none; }
    		h1 {font-size:2.4rem; text-shadow: 0.4rem 0.4rem 0.4rem #bbbbbb; text-align:center; }
    		p {padding:0.6rem; }
    		.conteneur {width:95%; min-width:80rem; min-height:30rem; margin:1.2rem auto; background-color:#ffffff; color:#000000; border:0.1rem solid #666666; }
    		footer {margin-left:3.6rem; }
     
    		/* -- */
    	</style>
    </head>
    <body>
    	<h1>Forum jQuery</h1>
    	<section class="conteneur">
     
    		<p>Date: <input type="text" id="datepicker"></p>
     
    	</section>
    	<footer itemscope itemtype="http://data-vocabulary.org/Person">
    		<time datetime="2012-01-27T19:55:51.000+01:00" pubdate>2012-01-27</time>
    		<span itemprop="name">Daniel Hagnoul</span>
    		<a href="http://www.developpez.net/forums/u285162/danielhagnoul/" itemprop="url">@danielhagnoul</a>
    	</footer>
    	<script charset="utf-8" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
    	<script charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/i18n/jquery-ui-i18n.min.js"></script>
    	<script charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.min.js"></script>
    	<script charset="utf-8" src="http://danielhagnoul.developpez.com/lib/jPicker/jpicker-1.1.6.min.js"></script>
    	<script>	
    		"use strict";
     
    		// Date ISO format long US
    		Date.prototype.formatISO = function(){
    			this._nowFormat = 'aaaa-mm-jjThh:ii:ss.000Szz:00';
    			this._toLen2 = function(_nowStr){
    				_nowStr = _nowStr.toString();
    				return ('0'+_nowStr).substr(-2,2);
    			};
    			this._nowFormat = this._nowFormat.replace(/j+/, this._toLen2(this.getDate()));
    			this._nowFormat = this._nowFormat.replace(/m+/, this._toLen2(this.getMonth()+1));
    			this._nowFormat = this._nowFormat.replace(/a+/, this.getFullYear());
    			this._nowFormat = this._nowFormat.replace(/h+/, this._toLen2(this.getHours()));
    			this._nowFormat = this._nowFormat.replace(/i+/, this._toLen2(this.getMinutes()));
    			this._nowFormat = this._nowFormat.replace(/s+/, this._toLen2(this.getSeconds()));
    			this._nowFormat = this._nowFormat.replace(/S+/, (this.getTimezoneOffset() < 0) ? ("+") : ("-"));
    			this._nowFormat = this._nowFormat.replace(/z+/, this._toLen2(Math.abs(this.getTimezoneOffset()/60)));
    			return this._nowFormat;
    		};
     
    		$(function(){
    			/* Base */
    			console.log(new Date().formatISO());
     
    			/* -- */
    			$.datepicker.setDefaults( $.datepicker.regional[ "fr" ] );
     
    			$( "#datepicker" ).datepicker();
     
    			/*
    			 * jPicker : http://www.digitalmagicpro.com/jPicker/,
    			 * est un outil pour choisir rapidement une couleur
    			 *
    			 * Sue Firefox, avec Web Developper, cette version
    			 * de jPicker provoque des avertissements CSS !
    			 *
    			 * Mais il est très pratique !
    			 */
    			$.fn.jPicker.defaults.images.clientPath="http://danielhagnoul.developpez.com/lib/jPicker/images/";
     
    			$(".conteneur").jPicker({
    				window: {
    					expandable : true,
    					title : "jPicker : choissisez une couleur :",
    					alphaSupport : true,
    					position : {
    						x : 'screenCenter',
    						y : 'top'
    					}
    				},
    				color : {
    					active : new $.jPicker.Color({
    						r : 210,
    						g : 214,
    						b : 98,
    						a : 128
    					})
    				}
    			}, function( color, context ){
    				var c = color.val("all");
    				if ( c ){
    					$( "body" ).css( "background-color", "rgba(" + c.r + "," + c.g + "," + c.b + "," + (c.a/255).toFixed(2) + ")" );
    				}
    			});
    		});
     
    		$(window).load(function(){
    		});
    	</script>
    </body>  
    </html>

    Blog

    Sans l'analyse et la conception, la programmation est l'art d'ajouter des bogues à un fichier texte vide.
    (Louis Srygley : Without requirements or design, programming is the art of adding bugs to an empty text file.)

  12. #12
    Membre averti
    Profil pro
    Inscrit en
    Septembre 2009
    Messages
    19
    Détails du profil
    Informations personnelles :
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations forums :
    Inscription : Septembre 2009
    Messages : 19
    Par défaut re:
    ben même avec le doctype, les meta et tout et tout, j'ai toujours cette erreur.
    C'est incompréhensible....

  13. #13
    Membre très actif

    Homme Profil pro
    Mentaliste
    Inscrit en
    Mars 2008
    Messages
    872
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Bouches du Rhône (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Mentaliste
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mars 2008
    Messages : 872
    Par défaut
    Citation Envoyé par charles31 Voir le message
    ben même avec le doctype, les meta et tout et tout, j'ai toujours cette erreur.
    C'est incompréhensible....
    En même temps ici c'est un forum de discussion, c'est pas le SAV jQuery hein

  14. #14
    Rédacteur

    Avatar de danielhagnoul
    Homme Profil pro
    Étudiant perpétuel
    Inscrit en
    Février 2009
    Messages
    6 389
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 74
    Localisation : Belgique

    Informations professionnelles :
    Activité : Étudiant perpétuel
    Secteur : Enseignement

    Informations forums :
    Inscription : Février 2009
    Messages : 6 389
    Billets dans le blog
    125
    Par défaut
    Bonjour

    La dix-huitième version de maintenance de jQuery UI est annoncée sur le blog officiel (http://blog.jqueryui.com/, http://jqueryui.com/download), mais au moment où j'écris elle n'est pas disponible chez Google ou Microsoft.

    Blog

    Sans l'analyse et la conception, la programmation est l'art d'ajouter des bogues à un fichier texte vide.
    (Louis Srygley : Without requirements or design, programming is the art of adding bugs to an empty text file.)

Discussions similaires

  1. jQuery UI 1.8.18 est disponible
    Par danielhagnoul dans le forum jQuery
    Réponses: 2
    Dernier message: 26/02/2012, 20h41
  2. jQuery 1.6.1 RC1 est disponible
    Par danielhagnoul dans le forum jQuery
    Réponses: 11
    Dernier message: 31/05/2011, 12h01
  3. jQuery Mobile Alpha 4.1 est disponible
    Par danielhagnoul dans le forum jQuery
    Réponses: 2
    Dernier message: 22/04/2011, 22h44
  4. jQuery UI 1.8.9 est disponible
    Par danielhagnoul dans le forum jQuery
    Réponses: 5
    Dernier message: 22/01/2011, 20h34
  5. jQuery UI 1.8.2 est disponible !
    Par danielhagnoul dans le forum jQuery
    Réponses: 7
    Dernier message: 11/06/2010, 01h29

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo