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 :

Animation avec jQuery


Sujet :

jQuery

  1. #1
    Candidat au Club
    Homme Profil pro
    Étudiant
    Inscrit en
    Mars 2013
    Messages
    8
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 31
    Localisation : France, Paris (Île de France)

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

    Informations forums :
    Inscription : Mars 2013
    Messages : 8
    Points : 4
    Points
    4
    Par défaut Animation avec jQuery
    Bonjour à vous,
    je voudrais vous faire part d'un problème qui m'agace beaucoup.
    Je voudrais faire une animation d'enroulement ou de déroulement après avoir cliqué sur un des boutons de mon menu, grâce aux méthodes click() et effect().
    Seul problème c'est que ma console de débogage m'indique l'erreur suivante quand je clique:

    Uncaught TypeError: undefined is not a function app.js:30

    Voici mon code contenu dans mon fichier JS/jQuery:

    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
     
    function loading(){
      document.getElementById('chargement').style.display='none';
      document.getElementById('site').style.visibility='visible';
    }
     
    jQuery().ready(function(){
     
    	// On cache la zone de texte
       	jQuery('.conteneur').hide();  // Zone "conteneur" caché au démarrage
       	jQuery('.conteneur2').hide(); // Zone "conteneur2" caché au démarrage
            jQuery('.conteneur3').hide(); // Zone "conteneur3" caché au démarrage
       	jQuery('.menu').hide();       // Zone "menu" caché au démarrage
     
       	var boolean_cv = false;			  // Etat du conteneur CV qui est fermé de base
       	var boolean_projet = false;		// Etat du conteneur Projets qui est fermé de base
       	var boolean_open = true;		  // Etat du contenu qui est fermé de base
     
       	// toggle() lorsque le lien avec la classe .flaticon-arrow128 est cliqué
       	jQuery('.flaticon-arrow128').click(function()
      	{
      		jQuery('.menu').slideToggle(1000); // Animation toggle du menu
        	        jQuery('.conteneur').slideToggle(2000); // Animation toggle du contenu
        	        boolean_open = false;
              	return false;
       	});
     
       	$('.menu_cv').click(function()
      	{
      		if(boolean_open == false){ // Si le menu est déroulé
    	  		$(".conteneur").effect("drop", {mode:"show"}, 1000);  // Animation de déroulement de conteneur
                            $(".conteneur2").effect("drop", {mode:"hide"}, 1000); // Animation d'enroulement de conteneur
                            /*$(".conteneur").show("drop", {direction:"up"}, 1000);
    	  		$(".conteneur2").hide("drop", {direction:"up"}, 1000);*/
      		}
       	});
     
       	$('.menu_projet').click(function()
      	{
      		if(boolean_open == false){ // Si le menu est déroulé
    	  		$(".conteneur2").effect("drop", {mode:"show"}, 1000); // Animation de déroulement de conteneur2
    	  		$(".conteneur").effect("drop", {mode:"hide"}, 1000);  // Animation d'enroulement de conteneur
                            /*$(".conteneur").hide("drop", {direction:"up"}, 1000);
                            $(".conteneur2").show("drop", {direction:"up"}, 1000);*/
    	  	}
       	});
    });
    Pourriez-vous m'aider? Merci de votre compréhension.
    PS: N'utilisez pas de termes trop technique, je débute en JavaScript et jQuery.

  2. #2
    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
    Points : 22 933
    Points
    22 933
    Billets dans le blog
    125
    Par défaut
    Bonsoir

    Impossible de tester sans la totalité des codes (HTML, CSS, JS).

    Erreur dans la ligne 30, d'accord, mais que contient cette ligne ?

  3. #3
    Candidat au Club
    Homme Profil pro
    Étudiant
    Inscrit en
    Mars 2013
    Messages
    8
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 31
    Localisation : France, Paris (Île de France)

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

    Informations forums :
    Inscription : Mars 2013
    Messages : 8
    Points : 4
    Points
    4
    Par défaut
    Bonjour danielhagnoul,
    pour ce qui est de la ligne 30, je tombe sur cette ligne précise:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    $(".conteneur").effect("drop", {mode:"show"}, 1000);  // Animation de déroulement de conteneur

    voici mon code en html:

    Code html : 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
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
    	<head>
    		<meta charset="UTF-8">
    		<link rel="stylesheet" type="text/css" href="./css/style.css">
    		<link rel="stylesheet" type="text/css" href="./css/flaticon.css">
    		<link rel="stylesheet" type="text/css" href="jqueryui/development-bundle/themes/smoothness/jquery.ui.all.css"/> 
    		<script type="text/javascript" src="./js/jquery-2.1.1.min.js"></script>
    		<!--<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/gsap/1.12.1/TweenMax.min.js"></script>-->
    		<script type="text/javascript" src="./js/app.js"></script>
    		<!--[if IE]>
          		<link rel="stylesheet" type="text/css" href="./css/ie.css" />
          	<![endif]-->
    		<title>LOREM IPSUM</title>
    	</head>
    	<body onload="loading()">
    		<div id="chargement">
    				<span class="loader loader-quart"></span>
    				Chargement...
    		</div>
     
    		<!--CADRE DE PRESENTATION-->
    		<div class="corps" id="site">
    			<div class="presentation">
    				<div class="photo_corps">
    					<img src="./img/myself.jpg">
    				</div>
    				<div class="titre_corps">
    					<div class="entete">Laurem Ipsum</div>
    					<div class="bio">Laurem Résumé<br>
    						</div>
    				</div>
    			</div>
    			<div class="arrow">
    				<i class="flaticon-arrow128">
    					<span class="popup">Je vous en prie, cliquez!</span>
    				</i>
    			</div>
    		</div>
     
    		<!-- MENU CATEGORIES -->
    		<div class="menu">
    			<div class="menu_cv">
    				Curriculum vitae
    			</div>
    			<div class="menu_projet">
    				Projets
    			</div>
    			<div class="menu_contact">
    				Me contacter
    			</div>
    		</div>
     
    		<!--CONTENEUR CURRICULUM VITAE-->
    		<div class="conteneur">
     
    			<!--COLONNE GAUCHE -->
    			<div class="parcours">
     
    				<!--CURSUS SCOLAIRE-->
    				<div class="parcours_scolaire">
    					<div class="titre_cursus">&nbsp;&nbsp;Cursus Scolaire</div>
    					<ul class="liste_des_cursus">
    						<li>
    							<span class="annee rotate">2013-2014</span>
    							<div class="etude">
    								<font class="brevet">Diplôme III</font><br>
    								<font class="etablissement">Ecole A</font><br>
    								<font class="lieu">Paris</font>
    							</div>
    							<div class="logo_etablissement">
    								<img src="./img/abc.png">
    							</div>
    						</li>
    						<li>
    							<span class="annee rotate">2013</span>
    							<div class="etude">
    								<font class="brevet">Diplome II</font><br>
    								<font class="etablissement">Ecole B</font><br>
    								<font class="lieu">Paris</font>
    							</div>
    							<div class="logo_etablissement">
    								<img src="./img/abc.png">
    							</div>
    						</li>
    						<li>
    							<span class="annee rotate">2011</span>
    							<div class="etude">
    								<font class="brevet">Diplome I<font style="font-family: Origin-ExtraBold, Arial; font-size: 10px;">- (Spé. ABCD)</font></font><br>
    								<font class="etablissement">Ecole C</font><br>
    								<font class="lieu">Paris</font>
    							</div>
    							<div class="logo_etablissement">
    								<img src="./img/abc.png">
    							</div>
    						</li>
    					</ul>
    				</div>
     
     
     
    				<!--EXPERIENCE PROFESIONNELLE-->
    				<div class="parcours_professionnel">
    					<div class="titre_cursus" style="margin-bottom: 15px">&nbsp;&nbsp;Expérience professionnelle</div>
    					<ul class="liste_des_cursus">
    						<li>
    							<span class="annee rotate">2013-2014</span>
    							<div class="etude">
    								<font class="brevet">Poste III</font><br>
    								<font class="etablissement">Lieu III</font><br>
    								<font class="lieu">Lorem Ipsum</font>
    							</div>
    							<div class="logo_etablissement">
    								<img src="./img/abc.png">
    							</div>
    						</li>
    						<li>
    							<span class="annee rotate">2012</span>
    							<div class="etude">
    								<font class="brevet">Poste II</font><br>
    								<font class="etablissement">Lieu II</font><br>
    								<font class="lieu">Lorem Ipsum</font>
    							</div>
    							<div class="logo_etablissement">
    								<img src="./img/abc.png">
    							</div>
    						</li>
    						<li>
    							<span class="annee rotate">2007</span>
    							<div class="etude">
    								<font class="brevet">Poste I</font><br>
    								<font class="etablissement">Lieu I</font><br>
    								<font class="lieu">Lorem Ipsum</font>
    							</div>
    							<div class="logo_etablissement">
    								<img src="./img/abc.png">
    							</div>
    						</li>
    					</ul>
    				</div>
     
     
    				<!--PASSIONS / INTERETS -->	
    				<div class="liste_interets">
    					<div class="titre_cursus" style="margin-bottom: 15px">&nbsp;&nbsp;Passions / intérêts</div>
    					<ul class="interets">
    						<li>
    							<div class="etude">
    								<font class="brevet">Sport:</font><br>
    								<font class="etablissement">Sport I</font>
    							</div>
    						</li>
    						<li>
    							<div class="etude">
    								<font class="brevet">Passions:</font><br>
    								<font class="etablissement">Passion I , II , III et IV</font>
    							</div>
    						</li>
    						<li>
    							<div class="etude">
    								<font class="brevet">Activités:</font><br>
    								<font class="etablissement">Activité I,<br>
    									Activité II, <br>
    									Activité III,<br>
    									Activité IV,<br>
    									Activité V,<br>
    									Activité VI.
    									</font>
    							</div>
    						</li>
    					</ul>
    				</div>
     
     
    			</div>
     
    			<!--COMPETENCES TECHNIQUES-->
    			<div class="competences">
    				<div class="titre_competences">&nbsp;&nbsp;Compétences</div>
    				<ul class="competences_liste">
    					<li>
    						<div class="competences_cat_label">Développement</div>
    						<ul class="competences_cat competences_liste_dev">
    							<li class="liste_matiere">
    								<div class="matiere">HTML5 / XHTML</div>
    								<div class="classement">
    									<img src="./img/html-tag-active-green.png"><!----><img src="./img/html-tag-active-green.png"><!--
    									--><img src="./img/html-tag-active-green.png"><!----><img src="./img/html-tag-active-green.png"><!--
    									--><img src="./img/html-tag-active-green.png"><!----><img src="./img/html-tag-active-green.png"><!--
    									--><img src="./img/html-tag.png">
    								</div>
    							</li>
    							<li class="liste_matiere">
    								<div class="matiere">CSS3</div>
    								<div class="classement">
    									<img src="./img/html-tag-active-green.png"><!----><img src="./img/html-tag-active-green.png"><!--
    									--><img src="./img/html-tag-active-green.png"><!----><img src="./img/html-tag-active-green.png"><!--
    									--><img src="./img/html-tag-active-green.png"><!----><img src="./img/html-tag-active-green.png"><!--
    									--><img src="./img/html-tag.png">
    								</div>
    							</li>
    							<li class="liste_matiere">
    								<div class="matiere">JS / jQuery / Ajax</div>
    								<div class="classement">
    									<img src="./img/html-tag-active-green.png"><!----><img src="./img/html-tag-active-green.png"><!--
    									--><img src="./img/html-tag-active-green.png"><!----><img src="./img/html-tag-active-green.png"><!--
    									--><img src="./img/html-tag.png"><!----><img src="./img/html-tag.png"><!--
    									--><img src="./img/html-tag.png">
    								</div>
    							</li>
    							<li class="liste_matiere">
    								<div class="matiere">PHP objet</div>
    								<div class="classement">
    									<img src="./img/html-tag-active-green.png"><!----><img src="./img/html-tag-active-green.png"><!--
    									--><img src="./img/html-tag-active-green.png"><!----><img src="./img/html-tag.png"><!--
    									--><img src="./img/html-tag.png"><!----><img src="./img/html-tag.png"><!--
    									--><img src="./img/html-tag.png">
    								</div>
    							</li>
    							<li class="liste_matiere">
    								<div class="matiere">CMS ( IPBoard )</div>
    								<div class="classement">
    									<img src="./img/html-tag-active-green.png"><!----><img src="./img/html-tag-active-green.png"><!--
    									--><img src="./img/html-tag-active-green.png"><!----><img src="./img/html-tag.png"><!--
    									--><img src="./img/html-tag.png"><!----><img src="./img/html-tag.png"><!--
    									--><img src="./img/html-tag.png">
    								</div>
    							</li>
    							<li class="liste_matiere">
    								<div class="matiere">Python</div>
    								<div class="classement">
    									<img src="./img/html-tag-active-green.png"><!----><img src="./img/html-tag-active-green.png"><!--
    									--><img src="./img/html-tag-active-green.png"><!----><img src="./img/html-tag.png"><!--
    									--><img src="./img/html-tag.png"><!----><img src="./img/html-tag.png"><!--
    									--><img src="./img/html-tag.png">
    								</div>
    							</li>
    							<li class="liste_matiere">
    								<div class="matiere">Java</div>
    								<div class="classement">
    									<img src="./img/html-tag-active-green.png"><!----><img src="./img/html-tag-active-green.png"><!--
    									--><img src="./img/html-tag.png"><!----><img src="./img/html-tag.png"><!--
    									--><img src="./img/html-tag.png"><!----><img src="./img/html-tag.png"><!--
    									--><img src="./img/html-tag.png">
    								</div>
    							</li>
    							<li class="liste_matiere">
    								<div class="matiere">C / C++</div>
    								<div class="classement">
    									<img src="./img/html-tag-active-green.png"><!----><img src="./img/html-tag-active-green.png"><!--
    									--><img src="./img/html-tag.png"><!----><img src="./img/html-tag.png"><!--
    									--><img src="./img/html-tag.png"><!----><img src="./img/html-tag.png"><!--
    									--><img src="./img/html-tag.png">
    								</div>
    							</li>
    							<li class="liste_matiere">
    								<div class="matiere">Shell Script</div>
    								<div class="classement">
    									<img src="./img/html-tag-active-green.png"><!----><img src="./img/html-tag-active-green.png"><!--
    									--><img src="./img/html-tag-active-green.png"><!----><img src="./img/html-tag-active-green.png"><!--
    									--><img src="./img/html-tag-active-green.png"><!----><img src="./img/html-tag.png"><!--
    									--><img src="./img/html-tag.png">
    								</div>
    							</li>
    						</ul>
    					</li>
    					<li>
    						<div class="competences_cat_label">Design</div>
    						<ul class="competences_cat competences_liste_design">
    							<li class="liste_matiere">
    								<div class="matiere">Responsive</div>
    								<div class="classement">
    									<img src="./img/html-tag-active-yellow.png"><!----><img src="./img/html-tag-active-yellow.png"><!--
    									--><img src="./img/html-tag-active-yellow.png"><!----><img src="./img/html-tag-active-yellow.png"><!--
    									--><img src="./img/html-tag.png"><!----><img src="./img/html-tag.png"><!--
    									--><img src="./img/html-tag.png">
    								</div>
    							</li>
    							<li class="liste_matiere">
    								<div class="matiere">Photoshop</div>
    								<div class="classement">
    									<img src="./img/photoshop-active-yellow.png"><!----><img src="./img/photoshop-active-yellow.png"><!--
    									--><img src="./img/photoshop-active-yellow.png"><!----><img src="./img/photoshop-active-yellow.png"><!--
    									--><img src="./img/photoshop.png"><!----><img src="./img/photoshop.png"><!--
    									--><img src="./img/photoshop.png">
    								</div>
    							</li>
    							<li class="liste_matiere">
    								<div class="matiere">Illustrator</div>
    								<div class="classement">
    									<img src="./img/illustrator-active-yellow.png"><!----><img src="./img/illustrator-active-yellow.png"><!--
    									--><img src="./img/illustrator-active-yellow.png"><!----><img src="./img/illustrator.png"><!--
    									--><img src="./img/illustrator.png"><!----><img src="./img/illustrator.png"><!--
    									--><img src="./img/illustrator.png">
    								</div>
    							</li>
    						</ul>
    					</li>
    					<li>
    						<div class="competences_cat_label">Systèmes</div>
    						<ul class="competences_cat competences_liste_sys">
    							<li class="liste_matiere">
    								<div class="matiere">Windows XP/Vista/7/8/8.1</div>
    								<div class="classement">
    									<img src="./img/windows11-active-red.png"><!----><img src="./img/windows11-active-red.png"><!--
    									--><img src="./img/windows11-active-red.png"><!----><img src="./img/windows11-active-red.png"><!--
    									--><img src="./img/windows11-active-red.png"><!----><img src="./img/windows11.png"><!--
    									--><img src="./img/windows11.png">
    								</div>
    							</li>
    							<li class="liste_matiere">
    								<div class="matiere">Linux (Debian, ... )</div>
    								<div class="classement">
    									<img src="./img/linux1-active-red.png"><!----><img src="./img/linux1-active-red.png"><!--
    									--><img src="./img/linux1-active-red.png"><!----><img src="./img/linux1-active-red.png"><!--
    									--><img src="./img/linux1.png"><!----><img src="./img/linux1.png"><!--
    									--><img src="./img/linux1.png">
    								</div>
    							</li>
    						</ul>
    					</li>
    					<li>
    						<div class="competences_cat_label">Langues</div>
    						<ul class="competences_cat competences_liste_langues">
    							<li class="liste_matiere">
    								<div class="matiere">Anglais</div>
    								<div class="classement">
    									<img src="./img/united2-active-green.png"><!----><img src="./img/united2-active-green.png"><!--
    									--><img src="./img/united2-active-green.png"><!----><img src="./img/united2-active-green.png"><!--
    									--><img src="./img/united2.png"><!----><img src="./img/united2.png"><!--
    									--><img src="./img/united2.png">
    								</div>
    							</li>
    							<li class="liste_matiere">
    								<div class="matiere">Espagnol</div>
    								<div class="classement">
    									<img src="./img/spain-active-green.png"><!----><img src="./img/spain-active-green.png"><!--
    									--><img src="./img/spain.png"><!----><img src="./img/spain.png"><!--
    									--><img src="./img/spain.png"><!----><img src="./img/spain.png"><!--
    									--><img src="./img/spain.png">
    								</div>
    							</li>
    						</ul>
    					</li>
    					<li class="legende">
    						<div class="legende_label">Légende</div>
    						<ul>
    							<li><div class="legende_points">1 point:</div>Niveau débutant</li>
    							<li><div class="legende_points">2 points:</div>Niveau débutant avancé</li>
    							<li><div class="legende_points">3 points:</div>Niveau moyen</li>
    							<li><div class="legende_points">4 points:</div>Niveau acceptable</li>
    							<li><div class="legende_points">5 points:</div>Niveau bon</li>
    							<li><div class="legende_points">6 points:</div>Niveau avancé</li>
    							<li><div class="legende_points">7 points:</div>Niveau très bon</li>
    						</ul>
    					</li>
    				</ul>
    			</div>
    		</div>
     
    		<!--CONTENEUR DE PROJETS-->
    		<div class="conteneur2">
    			<div class="projet_sites">
    				<div class="titre_projet_sites">&nbsp;&nbsp;Sites internet</div>
    				<div class="contenu_projet_sites">
    					<fieldset>
    						<legend style="font-family: Exo-Light, Arial">Exemple</legend>
    						<a href="http://www.abc.fr"><img src="./img/abc.png"></a>
    						<span style="font-family: Exo-Light, Arial">Lorem Ipsum</span>
    					</fieldset>
    				</div>
    			</div>
    			<div class="projet_design">
    				<div class="titre_projet_reas">&nbsp;&nbsp;Réalisations graphiques</div>
    				<div class="contenu_projet_reas">
    					<fieldset>
    						<legend style="font-family: Exo-Light, Arial">Exemple</legend>
    						<img src="./img/abc.png">
    						<span style="font-family: Exo-Light, Arial">Lorem Ipsum</span>
    					</fieldset>
    				</div>
    			</div>
    		</div>
     
    		<div class="conteneur3">
    			<div>&nbsp;&nbsp;Me contacter</div>
    			<div>
    				Lorem Ipsum
    			</div>
    		</div>
     
    	</body>
    </html>

    ainsi que mon fichier CSS

    Code css : 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
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    /*SUGGESTION DE PALETTES DE COULEUR*/
    /* nom de la palette Adobe Kuler: Black and Red*/
    /* #000000 #333333 #999999 #CCCCCC #F3343B*/
     
     
     
    @font-face{
    	font-family: 'BlissfulThinking';
    	src: url('../font/BlissfulThinking.otf');
    }
    @font-face{
    	font-family: 'Origin-Bold';
    	src: url('../font/Origin-Bold.ttf');
    }
    @font-face{
    	font-family: 'Origin-ExtraBold';
    	src: url('../font/Origin-ExtraBold.ttf');
    }
    @font-face{
    	font-family: 'Origin-Light';
    	src: url('../font/Origin-Light.ttf');
    }
    @font-face{
    	font-family: 'Origin-Regular';
    	src: url('../font/Origin-Regular.ttf');
    }
    @font-face{
    	font-family: 'Bariol_Regular';
    	src: url('../font/Bariol_Regular.otf');
    }
    @font-face{
    	font-family: 'Bariol_Regular_Italic';
    	src: url('../font/Bariol_Regular_Italic.otf');
    }
    @font-face{
    	font-family: 'Lovelo_Black';
    	src: url('../font/Lovelo Black.otf');
    }
    @font-face{
    	font-family: 'Exo-Light';
    	src: url('../font/exo/Exo-Light.otf');
    }
    @font-face{
    	font-family: 'Devicons';
    	src: url('../font/devicons.ttf');
    }
     
    html{
    	background: #1f253d;
    }
     
    /* BOITE DE CHARGEMENT */
    #chargement{
    	width: 850px;
    	height: 310px;
    	text-align: center;
    	margin: 0 auto;
    	margin-top: 55px;
    	background-color: #394264;
    	border-radius: 7px;
    	color: white;
    	display: block;
     
     
    	line-height: 310px;
    	font-size: 40px;
    	font-family: sans-serif;
    }
     
    .loader{
    	width: 50px;
    	height: 50px;
    	display: inline-block;
    	vertical-align: middle;
    	position: relative;
     
    }
     
    #site{
    	visibility:hidden;
    }
     
    /* ---------------------- LOADER QUART DE CERCLE ---------------------- */
     
    .loader-quart{
    	position: relative;
    	border-radius: 50px;
    	border: 6px solid rgba(255,255,255,0.4);
    }
    .loader-quart:after{
    	content: '';
    	position: absolute;
    	top:-6px;
    	left:-6px;
    	bottom:-6px;
    	right:-6px;
    	border-radius: 50px;
    	border: 6px solid transparent;
    	border-top-color:#FFF;
    	animation:spin 1s linear infinite;
    }
     
    @keyframes spin{
    	0%{ transform: rotate(0deg);
    		-ms-transform: rotate(0deg); 
    		-webkit-transform: rotate(0deg);}
    	100%{ transform: rotate(360deg); 
    		  -ms-transform: rotate(360deg);
    		  -webkit-transform: rotate(360deg);}
    }
    /* -------------------------------------------------------------------- */
     
    /* MENU DES CATEGORIES*/
    .menu{
    	cursor:pointer;
    	display: flex;
    	border-radius: 7px;
    	/*border: solid 1px black;*/
    	width: 850px;
    	height: 70px;
    	margin: 0 auto;
    	margin-top: 15px;
    	margin-bottom: 15px;
    }
     
    .menu_cv{
    	border-radius: 7px 0px 0px 7px;
    	display: inline-block;
    	background: #394264;
    	font-family:Bariol_Regular, Arial;
    	text-align: center;
    	vertical-align: middle;
    	color: white;
    	font-size: 20px;
    	width: 33%;
     
    	/*CENTRAGE DU TEXTE*/
    	height:70px;
      	line-height:70px;
     
     
    	background-image:url(../img/professional-40.png);
    	background-position: 124px 17px;
    	background-repeat: no-repeat;
     
    }
     
    .menu_projet{
    	display: inline-block;
    	background: #394264;
    	font-family:Bariol_Regular, Arial;
    	text-align: center;
    	vertical-align: middle;
    	color: white;
    	font-size: 20px;
    	width: 34%;
     
    	/*CENTRAGE DU TEXTE*/
    	height:70px;
      	line-height:70px;
     
     
    	background-image:url(../img/career-40.png);
    	background-position: 116px 17px;
    	background-repeat: no-repeat;
    }
     
    .menu_contact{
    	border-radius: 0px 7px 7px 0px;
    	display: inline-block;
    	background: #394264;
    	font-family:Bariol_Regular, Arial;
    	text-align: center;
    	vertical-align: middle;
    	color: white;
    	font-size: 20px;
    	width: 33%;
     
    	/*CENTRAGE DU TEXTE*/
    	height:70px;
      	line-height:70px;
     
     
    	background-image:url(../img/mail-40.png);
    	background-position: 111px 17px;
    	background-repeat: no-repeat;
    }
     
    .menu_cv:hover{box-shadow: -4px -13px 0px -4px #e74c3c inset;}
    .menu_projet:hover{box-shadow: -4px -13px 0px -4px #1abc9c inset;}
    .menu_contact:hover{box-shadow: 4px -13px 0px -4px #f39c12 inset;}
     
    .menu_cv:hover, .menu_projet:hover, .menu_contact:hover{
    	color:#000000;
    	background:#50597b!important;
    }
     
    /* CORPS */
    .corps{
    	width: 850px;
    	height: 310px;
    	text-align: center;
    	margin: 0 auto;
    	margin-top: 55px;
    	border-radius: 7px;
    	background-color: #394264;
    	display: block;
    }
    .presentation{
    	display: flex;
    }
    .photo_corps{
    	color: white;
    	/*border: solid 1px green;*/
    	height: 100%;
    	width: 33%;
    }
    .photo_corps img{
    	width: 65%;
    	margin-top: 45px;
    	/*box-shadow: -1px 2px 5px 1px rgba(0, 0, 0, 0.7),
                -1px 2px 20px rgba(255, 255, 255, 0.6) inset;*/
     
        border: solid 6px #e74c3c;
    	border-radius: 100px;
    }
     
    .titre_corps{
    	width: 67%;
    	height: 89%;
    	padding-top: 45px;
    	/*border: solid 1px red;*/
    	text-align: left;
    }
     
    .titre_corps .entete{
    	letter-spacing: 0.05em;
    	width: 67%;
    	font-family:Bariol_Regular, Arial;
    	font-size: 45px;
    	color: white;
    	margin-top: -10px;
    }
     
    .titre_corps .bio{
    	letter-spacing: 0.05em;
    	font-family:Exo-Light, Arial;
    	font-size: 20px;
    	margin-right: 45px;
    	color: white;
    }
     
    .arrow{
    	margin-top: 35px;
    	width: 100%;
    }
     
    /*ICONE FLAT*/
     
    .flaticon-arrow128{
    	position: relative;
        color:#ccc;
        text-shadow: -2px 1px 1px rgb(44, 44, 44);
        margin-left: 0px !important;              
    }
    .flaticon-arrow128::before{
    	margin-left: 0px !important;
    }
     
    .flaticon-arrow128:hover,.flaticon-arrow128:focus{
        /*background:rgba(0,0,0,.4);
        box-shadow:0 1px 0 rgba(255,255,255,.4);*/
    }
     
    .flaticon-arrow128 span{
        position: absolute;
    	/*margin-top: -45px;
    	margin-left: -98px;*/
     
    	top: -45px;
    	left: -65px;
     
    	color: #FFFEFC;
    	background: rgba(166, 153, 145, 0.41);
    	padding: 10px;
    	border-radius: 3px;
    	box-shadow: 0 0 2px rgba(0,0,0,.5);
    	transform: scale(0) rotate(-12deg);
    	-ms-transform: scale(0) rotate(-12deg);
    	-webkit-transform: scale(0) rotate(-12deg);
    	transition: all .25s;
    	opacity: 0;
    	font-family: Bariol_Regular, Arial;
    	font-size: 14px;
    	font-style: inherit!important;
    	width: 135px;
    }
     
    .flaticon-arrow128:hover span, .flaticon-arrow128:focus span{
        transform:scale(1) rotate(0);
        -ms-transform:scale(1) rotate(0);
        -webkit-transform:scale(1) rotate(0);
        opacity:1;        
    }
     
    /*CONTENEUR CURRICULUM VITAE*/
     
    .conteneur{
    	width: 850px;
    	margin: 0 auto;
    	display: flex;
    }
    .parcours{
    	width: 63%;
    	/*padding-top: 15px;
    	margin-top: 15px;*/
    }
    .parcours_scolaire{
    	background-color: #394264;
    	color: white!important;
    	margin-right: 15px;
    	border-radius: 7px;
    }
    .parcours_professionnel{
    	background-color: #394264;
    	color: white!important;
    	margin-right: 15px;
    	border-radius: 7px;
    }
    .liste_interets{
    	background-color: #394264;
    	color: white!important;
    	padding-bottom: 5px;
    	margin-right: 15px;
    	border-radius: 7px;
    }
    .interets{
    	list-style-type: none;
    	padding-left: 0px;
    	padding-right: 35px;
    	margin-top: 0px;
    }
     
    .interets li{
    	margin-bottom: 20px;
    }
    .liste_des_cursus{
    	list-style-type: none;
    	padding-left: 10px;
    	padding-right: 10px;
    	margin-top: 0px;
    }
    .liste_des_cursus li:nth-child(1) .etude{
    	border-left: solid 2px #1abc9c;
    }
    .liste_des_cursus li:nth-child(2) .etude{
    	border-left: solid 2px #f39c12;
    }
    .liste_des_cursus li:nth-child(3) .etude{
    	border-left: solid 2px #e74c3c;
    }
     
    .titre_cursus{
    	/* color: #374A58; */
    	font-family:Exo-Light, Arial;
    	font-size: 18px;
    	text-align: left;
    	/* margin-left: 18px; */
    	margin-right: 18px;
    	width: 100%;
    	/* height: 100%; */
    	background-color: #50597b;
    	line-height: 40px;
    	border-radius: 7px 7px 0 0;
    }
    .liste_des_cursus li{
    	display: flex;
    	margin-top: 3px;
    	margin-right: 18px;
    	padding: 0px 0px 9px 0px;
    }
    .annee{
    	font-family:Exo-Light, Arial;
    	text-align: center;
    	font-size: 10px;
    	width: 10%;
    }
    .rotate{
    	margin: auto;
    	-webkit-transform: rotate(-90deg);
    	   -moz-transform: rotate(-90deg);
    	   		transform: rotate(-90deg);
     
      	/* HACK CSS IE*/
      	-ms-transform: rotate(0deg)!important;
    }
    .etude{
    	width: 410px;
    	padding-left: 7px;
    	padding-right: 4px;
    	margin: auto;
    	border-left: solid 1px #FFFFFF;
    }
    .brevet{
    	font-family:Bariol_Regular, Arial;
    	font-size: 18px;
    }
    .etablissement{
    	font-family:Exo-Light, Arial;
    	font-size: 13px;
    }
    .lieu{
    	font-family:Exo-Light, Arial;
    	font-size: 13px;
    }
    .logo_etablissement{
    	width: 90px;
    }
    .logo_etablissement img{
    	width: 100%;
    }
    .competences{
    	width: 37%;
    	height: 100%;
    	/*padding-top: 15px;
    	padding-left: 18px;*/
    	border-radius: 7px;
    	background-color: #394264;
    	color: white;
    	/*border: solid 1px red;*/
    }
     
    .titre_competences{
    	/* color: #374A58; */
    	font-family:Exo-Light, Arial;
    	font-size: 18px;
    	text-align: left;
    	/* margin-left: 18px; */
    	margin-right: 18px;
    	width: 100%;
    	/* height: 100%; */
    	background-color: #50597b;
    	line-height: 40px;
    	border-radius: 7px 7px 0 0;
    }
    .competences_liste{
    	font-family:Exo-Light, Arial;
    	color: white;
    	padding-left: 0px;
    	margin-left: 18px;
    	margin-right: 23px;
    }
    .competences_liste, .competences_liste li{
    	list-style-type: none;
    }
    .competences_liste_dev{
    	border-left: solid 2px #1abc9c;
    }
    .competences_liste_sys{
    	border-left: solid 2px #e74c3c;
    }
    .competences_liste_design{
    	border-left: solid 2px #f39c12;
    }
    .competences_liste_langues{
    	border-left: solid 2px #1abc9c;
    }
    .competences_cat_label{
    	font-family:Bariol_Regular, Arial;
    	font-size: 25px;
    	margin-bottom: 10px;
    }
    .competences_cat{
    	padding-left: 15px;
    }
    .liste_matiere{
    	display: flex;
    	margin-bottom: 3px;
    }
    .matiere{
    	font-size: 13px;
    	width: 55%;
    }
    .classement{
    	width: 45%;
    }
    .classement img {
    	width: 13.3%;
    	padding-right: 1px;
    }
     
    .legende{
    	margin-top: 30px;
    	padding-top: 30px;
    	border-top: solid 2px #50597b;
    }
    .legende ul{
    	padding-left: 15px;
    	border-left: solid 2px #50597b;
    }
    .legende ul li{
    	margin-bottom: 7px;
    	font-size: 15px;
    }
    .legende_label{
    	margin-bottom: 10px;
    	font-size: 20px;
    }
    .legende_points{
    	font-weight: bold;
    }
     
    /* CONTENEUR PROJETS ET REALISATIONS */
    .conteneur2{
    	color: white;
    	width: 850px;
    	/*height: 500px;*/
    	margin: 0 auto;
    	margin-top: 15px;
    	display: block;
    	border-radius: 7px 7px 7px 7px;
    	/*background-color: #394264;*/
    	/*border: solid 1px white;*/
    }
     
    /* Projets - Sites */
    .projet_sites{
    	/*border: solid 1px green;*/
    }
     
    .titre_projet_sites{
    	/* color: #374A58; */
    	font-family:Exo-Light, Arial;
    	font-size: 18px;
    	text-align: left;
    	/* margin-left: 18px; */
    	margin-right: 18px;
    	width: 100%;
    	/* height: 100%; */
    	background-color: #50597b;
    	line-height: 40px;
    	border-radius: 7px 7px 0 0;
    }
     
    .contenu_projet_sites{
    	background-color: #394264;
    	padding-left: 25px;
    	padding-top: 25px;
    	padding-bottom: 25px;
    }
     
    .contenu_projet_sites fieldset img{
    	height: 58px;
    }
     
    .contenu_projet_sites fieldset{
    	padding: 0px;
    	width: 107px;
    	padding-left: 6px;
    	padding-right: 5px;
    	border-radius: 7px;
    }
     
    /* Projets - realisations */
    .projet_design{
    	/*border: solid 1px red;*/
    	height: 300px;
    	margin-top: 15px;
    }
     
    .titre_projet_reas{
    	/* color: #374A58; */
    	font-family:Exo-Light, Arial;
    	font-size: 18px;
    	text-align: left;
    	/* margin-left: 18px; */
    	margin-right: 18px;
    	width: 100%;
    	/* height: 100%; */
    	background-color: #50597b;
    	line-height: 40px;
    	border-radius: 7px 7px 0 0;
    }
     
    .contenu_projet_reas{
    	background-color: #394264;
    	padding-left: 25px;
    	padding-top: 25px;
    	padding-bottom: 25px;
    }
     
    .contenu_projet_reas fieldset img{
    	height: 58px;
    }
     
    .contenu_projet_reas fieldset{
    	padding: 0px;
    	width: 107px;
    	padding-left: 6px;
    	padding-right: 5px;
    	border-radius: 7px;
    }
     
    /* CONTENEUR ME CONTACTER */
    .conteneur3{
     
    }

    j'espère que cela pourra t'aider.

  4. #4
    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
    Points : 22 933
    Points
    22 933
    Billets dans le blog
    125
    Par défaut
    Bonsoir

    J'ai dû faire des modifications (suppression des liens vers les images, classe "conteneur1" au lieu de "conteneur" déjà utilisé dans mon code, modifications sur display CSS) pour arriver à voir, à disposer correctement dans la page et à tester vos codes, mais je n'ai pas eu de problème avec l'animation jQuery.
    Je me demande si l'utilisation de "display: flex;" est compatible avec les effets UI.

    Voici un lien vers ma page de test.

    Pour l'instant, elle fonctionne uniquement sous Chrome 36+.

    Votre code est dans les parties commentées "Début code du test" et "Fin code du test".

  5. #5
    Candidat au Club
    Homme Profil pro
    Étudiant
    Inscrit en
    Mars 2013
    Messages
    8
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 31
    Localisation : France, Paris (Île de France)

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

    Informations forums :
    Inscription : Mars 2013
    Messages : 8
    Points : 4
    Points
    4
    Par défaut
    Effectivement je suis sous Chrome 36, j'ai essayé sous FF 31 et sous IE11 et j'ai la même erreur JavaScript.
    Cependant ta page de test n'a bizarrement pas le bon rendu de ma page.

    Voici le rendu de ma page:



    et pour ce qui est de mon erreur JS, mon erreur s'affiche dès que j'essaye de cliquer sur les boutons Cursus et Projets


Discussions similaires

  1. probléme avec le tutoriel menu déroulant animé avec jquery
    Par VIRGINIE87 dans le forum Général Conception Web
    Réponses: 1
    Dernier message: 05/04/2011, 21h02
  2. animation avec jquery
    Par bil123 dans le forum jQuery
    Réponses: 1
    Dernier message: 14/04/2010, 09h32
  3. [Article] Créez un menu animé avec jQuery
    Par Kerod dans le forum jQuery
    Réponses: 6
    Dernier message: 10/02/2010, 20h05
  4. [Article] En-tête animé avec jQuery
    Par Bovino dans le forum jQuery
    Réponses: 5
    Dernier message: 21/04/2009, 14h08
  5. [Article] Menu déroulant animé avec jQuery
    Par freegreg dans le forum jQuery
    Réponses: 0
    Dernier message: 02/03/2009, 23h23

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