<?xml 
version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
>

<channel xml:lang="fr">
	<title>jQuery.info</title>
	<link>http://www.jquery.info/</link>
	<description>D&#233;couvrir et utiliser jQuery, la librairie javascript du XXII&#232;me si&#232;cle</description>
	<language>fr</language>
	<generator>SPIP - www.spip.net</generator>

	<image>
		<title>jQuery.info</title>
		<url>http://www.jquery.info/local/cache-vignettes/L75xH75/siteon0-e5814.png</url>
		<link>http://www.jquery.info/</link>
		<height>75</height>
		<width>75</width>
	</image>



<item xml:lang="fr">
		<title>jQuery 1.4.2 &#224; peine sortie d&#233;j&#224; dans SPIP !</title>
		<link>http://www.jquery.info/spip.php?article99</link>
		<guid isPermaLink="true">http://www.jquery.info/spip.php?article99</guid>
		<dc:date>2010-02-20T13:47:06Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>b_b</dc:creator>



		<description>La version 1.4.2 de jQuery a &#233;t&#233; annonc&#233;e hier sur le blog officiel du projet. Cette nouvelle version est int&#233;gr&#233;e &#224; la version beta de SPIP 2.1 dans la foul&#233;e. Cette mise &#224; jour de jQuery corrige quelques bugs et apporte des am&#233;liorations de performances (comme d'habitude chez jQuery, mais comment font-ils ?). Nouvelles fonctionnalit&#233;s La liste compl&#232;te des changements peut &#234;tre trouv&#233;e sur la page de la version 1.4.2 du site de documentation de l'API. Deux nouvelles fonctions voient le jour : (...)

-
&lt;a href="http://www.jquery.info/spip.php?rubrique3" rel="directory"&gt;Actualit&#233;s&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;La version 1.4.2 de jQuery a &#233;t&#233; annonc&#233;e hier &lt;a href='http://blog.jquery.com/2010/02/19/jquery-142-released/' class='spip_out' rel='external'&gt;sur le blog officiel du projet&lt;/a&gt;. Cette nouvelle version est &lt;a href='http://trac.rezo.net/trac/spip/changeset/15278/' class='spip_out' rel='external'&gt;int&#233;gr&#233;e &#224; la version beta de SPIP 2.1&lt;/a&gt; dans la foul&#233;e.&lt;/p&gt; &lt;p&gt;Cette mise &#224; jour de jQuery corrige quelques bugs et apporte des am&#233;liorations de performances (comme d'habitude chez jQuery, mais comment font-ils ?).&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Nouvelles fonctionnalit&#233;s&lt;/h3&gt;
&lt;p&gt;La liste compl&#232;te des changements peut &#234;tre trouv&#233;e &lt;a href='http://api.jquery.com/category/version/1.4.2/' class='spip_out' rel='external'&gt;sur la page de la version 1.4.2&lt;/a&gt; du site de documentation de l'API.&lt;/p&gt; &lt;p&gt;Deux nouvelles fonctions voient le jour : delegate() et undelegate(). Ces fonctions viennent compl&#233;ter les fonctions live() et die() de jQuery.&lt;/p&gt; &lt;p&gt;Le code suivant qui suit utliise .live() :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;$(&quot;table&quot;).each(function(){&lt;br /&gt; $(&quot;td&quot;, this).live(&quot;hover&quot;, function(){&lt;br /&gt; $(this).toggleClass(&quot;hover&quot;);&lt;br /&gt; });&lt;br /&gt; });&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Et voici son &#233;quivalent en utilisant delegate() :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;$(&quot;table&quot;).delegate(&quot;td&quot;, &quot;hover&quot;, function(){&lt;br /&gt; $(this).toggleClass(&quot;hover&quot;);&lt;br /&gt; });&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Vous remarquerez la similitude des &#233;critures et la simplification apport&#233;e par la deuxi&#232;me.&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Am&#233;lioration des performances&lt;/h3&gt;
&lt;p&gt;Comme toujours, l'&#233;quipe de d&#233;veloppement a travaill&#233; dur pour am&#233;liorer les performances de jQuery. D'apr&#232;s le tableau ci-dessous, la vitesse d'ex&#233;cution a &#233;t&#233; multipli&#233; par 2 par rapport &#224; la version 1.4.1, et par 3 si on la compare avec la version 1.3.2.&lt;/p&gt; &lt;dl class='spip_document_93 spip_documents spip_documents_center'&gt;
&lt;dt&gt;&lt;img src='http://www.jquery.info/local/cache-vignettes/L500xH375/4366089781_520b6-f21c5.jpg' width='500' height='375' alt='JPEG - 73.2 ko' style='height:375px;width:500px;' /&gt;&lt;/dt&gt;
&lt;dt class='crayon document-titre-93 spip_doc_titre' style='width:350px;'&gt;&lt;strong&gt;Test de rapidit&#233; jQuery&lt;/strong&gt;&lt;/dt&gt;
&lt;/dl&gt;
&lt;p&gt;Le travail effectu&#233; concerne essentiellement :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; les fonctions bind() et unbind()&lt;/li&gt;&lt;li&gt; les fonctions empty(), remove() et html()&lt;/li&gt;&lt;li&gt; performances lors de l'insertion d'un seul &#233;l&#233;ment DOM dans le document&lt;/li&gt;&lt;li&gt; performances lors de l'utilisation de $('body')&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Vous pouvez consulter la liste d&#233;taill&#233;e de ces am&#233;liorations &lt;a href='http://blog.jquery.com/2010/02/19/jquery-142-released/' class='spip_out' rel='external'&gt;sur l'article d'annonce de jQuery 1.4.2&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>JQuery 1.4 !</title>
		<link>http://www.jquery.info/spip.php?article98</link>
		<guid isPermaLink="true">http://www.jquery.info/spip.php?article98</guid>
		<dc:date>2010-01-14T20:20:59Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>Olivier G.</dc:creator>



		<description>Ok, &#231;a manque cruellement d'activit&#233; sur ce site, mais le d&#233;veloppement de jQuery ne nous attends pas&#8230; JQuery 1.4 est sorti ! (nous allons essayer de rattraper le retard de traduction &#8212; en esp&#233;rant que &#231;a serve. et puis il faut aussi r&#233;organiser les rubriques du site)

-
&lt;a href="http://www.jquery.info/spip.php?rubrique3" rel="directory"&gt;Actualit&#233;s&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;Ok, &#231;a manque cruellement d'activit&#233; sur ce site, mais le d&#233;veloppement de jQuery ne nous attends pas&#8230;&lt;/p&gt; &lt;p&gt;&lt;a href='http://jquery14.com/day-01/jquery-14' class='spip_out' rel='external'&gt;JQuery 1.4 est sorti !&lt;/a&gt;&lt;/p&gt; &lt;p&gt;(nous allons essayer de rattraper le retard de traduction &#8212; en esp&#233;rant que &#231;a serve. et puis il faut aussi r&#233;organiser les rubriques du site)&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Du texte mouvant qui habille une image fixe</title>
		<link>http://www.jquery.info/spip.php?article97</link>
		<guid isPermaLink="true">http://www.jquery.info/spip.php?article97</guid>
		<dc:date>2009-12-28T22:34:48Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>ARNO*</dc:creator>



		<description>J'ai d&#233;velopp&#233;, pour Blog-Mode.info, un effet que je crois in&#233;dit en HTML : il s'agit de faire circuler le texte autour d'une image (en jargon typographique : &#171; habiller l'image avec le texte &#187;), cette image &#233;tant fixe dans la page, et le texte conservant ses possibilit&#233;s de d&#233;placement vertical (scroll). Comme c'est assez difficile &#224; d&#233;crire, autant aller voir &#224; quoi cela ressemble sur cette page. Tout se passe dans la partie en bas &#224; droite de la page : on a un mannequin, qui se d&#233;tache sur le fond (...)

-
&lt;a href="http://www.jquery.info/spip.php?rubrique3" rel="directory"&gt;Actualit&#233;s&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;J'ai d&#233;velopp&#233;, pour &lt;a href='http://www.blog-mode.info/' class='spip_out' rel='external'&gt;Blog-Mode.info&lt;/a&gt;, un effet que je crois in&#233;dit en HTML : il s'agit de faire circuler le texte autour d'une image (en jargon typographique : &#171; habiller l'image avec le texte &#187;), cette image &#233;tant fixe dans la page, et le texte conservant ses possibilit&#233;s de d&#233;placement vertical (scroll).&lt;/p&gt; &lt;p&gt;Comme c'est assez difficile &#224; d&#233;crire, autant aller voir &#224; quoi cela ressemble &lt;a href='http://www.blog-mode.info/haute-couture/article/dany-atrache' class='spip_out' rel='external'&gt;sur cette page&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;&lt;span class='spip_document_90 spip_documents spip_documents_center'&gt;
&lt;img src='http://www.jquery.info/local/cache-vignettes/L500xH375/image1-27479.jpg' width='500' height='375' alt=&quot;&quot; style='height:375px;width:500px;' /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;Tout se passe dans la partie en bas &#224; droite de la page : on a un mannequin, qui se d&#233;tache sur le fond vert, et le texte s'affiche en suivant les limites de l'image (et non, comme c'est habituellement le cas en HTML, suivant le rectangle du fichier image). Pour r&#233;aliser l'habillage, j'utilise &lt;a href='http://www.paris-beyrouth.org/Un-habillage-irregulier' class='spip_out' rel='external'&gt;le script pour SPIP que j'ai d&#233;velopp&#233; en mars 2006&lt;/a&gt;, qui fabrique automatiquement le code HTML &#224; partir du fichier image. Ce script a, depuis, &#233;t&#233; &lt;a href='http://plugins.spip.net/Image-detouree-dans-le-texte' class='spip_out' rel='external'&gt;transform&#233; en plugin pour SPIP&lt;/a&gt;, et c'est cette version que j'utilise sur Blog-Mode (j'en ai profit&#233;, au passage, pour l'am&#233;liorer).&lt;/p&gt; &lt;p&gt;Mais, ici, &#231;a n'est pas l'habillage irr&#233;gulier (d&#233;velopp&#233; en 2006) qui est original : c'est le fait que l'image est fix&#233;e en bas &#224; droite de l'&#233;cran. Si on fait d&#233;filer le texte verticalement, l'image ne &#171; bouge &#187; pas &#224; l'&#233;cran, et le texte se d&#233;place en continuant &#224; respecter la forme irr&#233;guli&#232;re de l'habillage.&lt;/p&gt; &lt;p&gt;Et &#231;a, c'est &#224; ma connaissance totalement in&#233;dit.&lt;/p&gt; &lt;p&gt;Commen&#231;ons par cr&#233;er le contenu et la structure de notre page.&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_html4strict cadre&quot;&gt;&lt;div class=&quot;html4strict&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/html.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;html&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/head.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;head&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/head.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;head&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/body.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;body&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;contenu&quot;&lt;/span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;elastique&quot;&lt;/span&gt;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;image&quot;&lt;/span&gt;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/img.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;img&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;image.png&quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;&quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;width&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;236&quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;300&quot;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;pave_texte&quot;&lt;/span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/h1.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;h1&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;Le titre&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/h1.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;h1&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;texte&quot;&lt;/span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. In luctus, sapien vel feugiat hendrerit, ante felis mollis nunc, eget rutrum sapien arcu et turpis. Proin blandit sapien quis ante ullamcorper eget malesuada mi facilisis. Aenean risus velit, eleifend vitae lacinia nec, varius nec lorem. Aenean nisi urna, faucibus et lacinia a, dictum at erat. Maecenas laoreet eros nec felis tempor ac tempus felis lacinia. Vivamus aliquet semper ullamcorper. Donec ligula nisi, pellentesque non aliquet eget, malesuada nec sem. Sed ultricies arcu ut mauris eleifend pretium. Integer mattis, diam quis ultrices faucibus, lectus diam laoreet lectus, eu rutrum nunc lacus eu enim. Suspendisse potenti. Vestibulum hendrerit dolor a eros fermentum nec consectetur massa congue. Proin ornare rutrum arcu non tempor. Aliquam fermentum nulla et justo porttitor sit amet tristique dolor commodo. Fusce turpis sem, suscipit porttitor euismod eleifend, vehicula vestibulum nisl.&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;Cras dui erat, vulputate nec dictum vel, commodo id ante. Fusce bibendum varius fermentum. Maecenas lacinia egestas mi vel ultrices. In augue sapien, gravida quis vestibulum porttitor, congue et enim. Aenean condimentum tempus nisi, at vehicula magna luctus non. Nam ultricies urna in purus facilisis non venenatis ligula tincidunt. Quisque porta varius lectus, vitae vestibulum leo commodo nec. Morbi justo neque, ultrices in egestas ut, consectetur sed neque. Maecenas egestas malesuada gravida. Cras eleifend quam accumsan leo sodales viverra. Aliquam erat volutpat. Morbi nec sapien vel orci commodo volutpat nec ut ipsum.&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;Vivamus nec rutrum est. Curabitur lectus turpis, adipiscing et commodo a, blandit eu nisi. Nulla eget mi id mauris interdum accumsan vel et quam. Morbi sed neque felis. Duis sit amet dolor neque, nec tincidunt magna. Duis iaculis elementum lacus, nec elementum metus vehicula eu. Aenean sed tortor at erat blandit consectetur et vel lectus. Sed ligula nisl, posuere et pretium nec, facilisis ut nisl. Vivamus ultrices suscipit feugiat. Pellentesque eleifend varius lectus et iaculis. In gravida nisl id elit facilisis tempor. Sed eros dolor, fermentum quis aliquet id, ornare bibendum enim. Pellentesque fringilla pharetra sem, vitae interdum tellus varius quis. Sed tempor dignissim risus, vitae mattis quam aliquam in. Mauris facilisis magna a urna ultricies suscipit. Integer semper gravida nibh sed luctus. In hac habitasse platea dictumst. Nulla facilisi. Vivamus ac purus accumsan magna hendrerit ornare.&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;Praesent porta egestas orci, hendrerit consequat mi posuere non. Donec egestas posuere sapien, nec cursus elit sodales vel. Donec hendrerit mi non tellus luctus ullamcorper. Etiam eget magna et ante convallis pellentesque ut id augue. Curabitur tincidunt, velit a hendrerit aliquam, quam est fringilla purus, non scelerisque velit purus auctor est. Proin elit neque, venenatis quis iaculis et, cursus id dui. Quisque vehicula dignissim egestas. Nam viverra tincidunt eros porta sollicitudin. Cras porta mauris mollis ante bibendum id condimentum leo posuere. Maecenas lacinia pretium vehicula. Nam non metus tortor, quis dictum risus. Vivamus facilisis adipiscing arcu a commodo. Nulla consequat pulvinar risus, eu varius diam gravida sed. In hac habitasse platea dictumst. Etiam eget risus dolor, semper aliquam nisi. In hac habitasse platea dictumst. Aenean elementum hendrerit lacus eu luctus.&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;Suspendisse porttitor condimentum enim vitae aliquam. Fusce ultricies tristique sem, vel pellentesque mi consequat id. Nunc vulputate vehicula lorem, non gravida dui vulputate a. Nulla euismod ligula et sem luctus fermentum. Mauris sodales est id magna rhoncus molestie. Praesent non felis in ipsum dapibus feugiat. Nulla eget sem a urna dictum interdum. Proin eu metus sed nisl pellentesque eleifend at vel lectus. Mauris bibendum eros et nulla pretium lobortis. Aenean blandit lacus non nulla mollis mollis. Maecenas non ultricies ligula.&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/body.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;body&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/html.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;html&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='cadre_download' style='text-align: right;'&gt; &lt;a href='http://www.jquery.info/local/cache-code/3fbd0227f320e3f8f119056eb7fd59f2.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;La structure est tr&#232;s simple :
&lt;br /&gt;&lt;img src=&quot;http://www.jquery.info/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; style='height:11px;width:8px;' /&gt; un div #contenu contenant la partie qui nous int&#233;resse ici (on pourra ajouter, &#233;videmment, un #header, un #footer par ailleurs) ;
&lt;br /&gt;&lt;img src=&quot;http://www.jquery.info/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; style='height:11px;width:8px;' /&gt; un premer div #elastique qui, pour l'instant, ne sert &#224; rien ;
&lt;br /&gt;&lt;img src=&quot;http://www.jquery.info/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; style='height:11px;width:8px;' /&gt; un div #image qui contient l'image que nous allons chercher &#224; afficher en bas &#224; droite de notre document ;
&lt;br /&gt;&lt;img src=&quot;http://www.jquery.info/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; style='height:11px;width:8px;' /&gt; un #pave_texte qui contient le texte du document (titre et texte libre).&lt;/p&gt; &lt;p&gt;Commen&#231;ons par donner un style &#224; ces diff&#233;rents &#233;l&#233;ments :&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_css cadre&quot;&gt;&lt;div class=&quot;css&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;style style&lt;span style=&quot;color: #00AA00;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;text/css&quot;&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; body &lt;span style=&quot;color: #00AA00;&quot;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;margin&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;0px&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;padding&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;0px&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #00AA00;&quot;&gt;&#125;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #cc00cc;&quot;&gt;#contenu&lt;/span&gt; &lt;span style=&quot;color: #00AA00;&quot;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;100%&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;overflow&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #993333;&quot;&gt;auto&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #00AA00;&quot;&gt;&#125;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #cc00cc;&quot;&gt;#pave_texte&lt;/span&gt; &lt;span style=&quot;color: #00AA00;&quot;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;padding&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;20px&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #00AA00;&quot;&gt;&#125;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #cc00cc;&quot;&gt;#pave_texte&lt;/span&gt; &lt;span style=&quot;color: #6666ff;&quot;&gt;.texte&lt;/span&gt; &lt;span style=&quot;color: #00AA00;&quot;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;text-align&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #993333;&quot;&gt;justify&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #00AA00;&quot;&gt;&#125;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #cc00cc;&quot;&gt;#elastique&lt;/span&gt; &lt;span style=&quot;color: #00AA00;&quot;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;width&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;5px&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;150px&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;float&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;right&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;overflow&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #993333;&quot;&gt;hidden&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;background-color&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;blue&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #00AA00;&quot;&gt;&#125;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #cc00cc;&quot;&gt;#image&lt;/span&gt; &lt;span style=&quot;color: #00AA00;&quot;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;width&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;236px&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;300px&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;clear&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;right&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;float&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;right&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;background-color&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #993333;&quot;&gt;red&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #00AA00;&quot;&gt;&#125;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;/style&lt;span style=&quot;color: #00AA00;&quot;&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='cadre_download' style='text-align: right;'&gt; &lt;a href='http://www.jquery.info/local/cache-code/dba952a1257b2fe252a7a63579094f33.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Quelques astuces sont &#224; noter ici :
&lt;br /&gt;&lt;img src=&quot;http://www.jquery.info/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; style='height:11px;width:8px;' /&gt; je donne une couleur de fond &#224; #elastique et #image, uniquement dans le but de visualiser mon effet ; dans la version finale, on supprimera &#233;videmment ces couleurs ;
&lt;br /&gt;&lt;img src=&quot;http://www.jquery.info/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; style='height:11px;width:8px;' /&gt; body colle directement aux bords de la fen&#234;tre, avec margin et padding &#224; z&#233;ro ;
&lt;br /&gt;&lt;img src=&quot;http://www.jquery.info/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; style='height:11px;width:8px;' /&gt; c'est #contenu qui va servir, ici, de fen&#234;tre d&#233;filante : on lui donne une hauteur de 100% et un overflow automatique ; il occupe ainsi toute la fen&#234;tre ;
&lt;br /&gt;&lt;img src=&quot;http://www.jquery.info/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; style='height:11px;width:8px;' /&gt; &lt;strong&gt;tr&#232;s important :&lt;/strong&gt; #elastique et #image sont en float right, ce qui force leur affichage &#224; droite de la fen&#234;tre et oblige le texte &#224; les habiller ; l'astuce ici est d'indiquer, pour #image, un clear right, qui permet d'obtenir l'effet suivant : #image est bien un &#233;l&#233;ment flottant &#224; droite, mais il se positionne &lt;strong&gt;sous&lt;/strong&gt; l'&#233;l&#233;ment flottant pr&#233;c&#233;dent (#elastique).&lt;/p&gt; &lt;p&gt;Notez bien : le clear right est &#224; l'int&#233;rieur du style de #image, et pas dans un div qui le pr&#233;c&#233;derait. Tout est dans cette s&#233;quence de #image :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_css cadre&quot;&gt;&lt;div class=&quot;css&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;clear&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;right&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;float&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;right&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='cadre_download' style='text-align: right;'&gt; &lt;a href='http://www.jquery.info/local/cache-code/25b7c828247f050a56a05e5698715c44.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;C'est le pr&#233;sence du clear et du float dans le m&#234;me style qui permet d'avoir cet habillage qui concerne plusieurs float &#224; la suite (le texte qui suit habille &#224; la fois #elastique et #image, qui ont pourtant des largeurs diff&#233;rentes).&lt;/p&gt; &lt;p&gt;&lt;span class='spip_document_91 spip_documents spip_documents_center'&gt;
&lt;img src='http://www.jquery.info/local/cache-vignettes/L500xH392/image2-ed599.jpg' width='500' height='392' alt=&quot;&quot; style='height:392px;width:500px;' /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;On constate ici que :
&lt;br /&gt;&lt;img src=&quot;http://www.jquery.info/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; style='height:11px;width:8px;' /&gt; l'&#233;l&#233;ment bleu, #elastique, a pour l'instant une hauteur fix&#233;e de 150 pixels ;
&lt;br /&gt;&lt;img src=&quot;http://www.jquery.info/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; style='height:11px;width:8px;' /&gt; l'&#233;l&#233;ment rouge, #image, chasse bien le texte, et commence &#224; 150 pixels du haut de la fen&#234;tre.&lt;/p&gt; &lt;p&gt;Que se passe-t-il si l'on fait varier la hauteur du pav&#233; bleu (#elastique) ? On aurait l'#image qui se d&#233;calerait vers le haut ou vers le bas, et le texte l'habillerait &#224; sa nouvelle position.&lt;/p&gt; &lt;p&gt;Et si l'on calcule correctement la hauteur du pav&#233; bleu, on peut d&#233;cider de positionner, au pixel pr&#232;s, le pav&#233; rouge pour qu'il s'affiche en bas &#224; droite de la fen&#234;tre.&lt;/p&gt; &lt;p&gt;Nous allons donc ajouter du jQuery pour calculer et modifier la hauteur de #elastique.&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_javascript cadre&quot;&gt;&lt;div class=&quot;javascript&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;script src=&quot;jquery.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;&lt;/span&gt;script type&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;!--&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt; hauteur_elastique&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; hpage &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#contenu&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;-&lt;/span&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#image&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#elastique&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;hpage&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;document&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;ready&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; hauteur_elastique&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #339933;&quot;&gt;--&gt;&lt;/&lt;/span&gt;script&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='cadre_download' style='text-align: right;'&gt; &lt;a href='http://www.jquery.info/local/cache-code/0c8709c4f52997b1f7ab33a84d5e3751.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Et voil&#224; : l'image se positionne en bas &#224; droite de la fen&#234;tre, parce qu'elle est repouss&#233;e par le pav&#233; bleu dont la hauteur est calcul&#233;e en javascript :&lt;/p&gt; &lt;p&gt;&lt;span class='spip_document_92 spip_documents spip_documents_center'&gt;
&lt;img src='http://www.jquery.info/local/cache-vignettes/L500xH396/image3-1dc10.jpg' width='500' height='396' alt=&quot;&quot; style='height:396px;width:500px;' /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;La hauteur de l'&#233;lastique, c'est tout simplement : la hauteur de la fen&#234;tre moins la hauteur de l'image.&lt;/p&gt; &lt;p&gt;On obtient l&#224; le bon affichage au chargement de l'&#233;cran. Mais en revanche, &#231;a ne fonctionne pas quand on scrolle...&lt;/p&gt; &lt;p&gt;Modifions donc notre code :&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_javascript cadre&quot;&gt;&lt;div class=&quot;javascript&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&lt;&lt;/span&gt;script type&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;!--&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt; hauteur_elastique&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; hpage &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#contenu&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;+&lt;/span&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#contenu&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;scrollTop&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;-&lt;/span&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#image&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#elastique&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;hpage&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;document&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;ready&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; hauteur_elastique&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#contenu&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #000066;&quot;&gt;scroll&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; hauteur_elastique&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #339933;&quot;&gt;--&gt;&lt;/&lt;/span&gt;script&lt;span style=&quot;color: #339933;&quot;&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='cadre_download' style='text-align: right;'&gt; &lt;a href='http://www.jquery.info/local/cache-code/75d5b8909f850d308219aafb78274796.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;D&#233;sormais, on demande de recalculer la hauteur du pav&#233; bleu &#224; chaque fois qu'on d&#233;tecte que le contenu a &#233;t&#233; scroll&#233; (c'est la fonction &#171; scroll &#187; de jQuery qui permet de red&#233;clencher le calcul hauteur_elastique()).&lt;/p&gt; &lt;p&gt;Et, dans le calcul de la hauteur de l'&#233;lastique (jusqu'&#224; pr&#233;sent &#233;gale &#224; la hauteur de la fen&#234;tre moins la hauteur de l'image), on ajoute la position du scroll de la fen&#234;tre. Si on a scroll&#233; de 100 pixels (le &#171; haut &#187; du pav&#233; de texte se situe donc 100 pixels au-dessus du d&#233;but de la fen&#234;tre), il faut bien descendre l'image de 100 pixels suppl&#233;mentaires.&lt;/p&gt; &lt;p&gt;Que se passe-t-il si la hauteur de la fen&#234;tre est inf&#233;rieure &#224; la hauteur de l'image (ce qui arrive assez souvent si l'image est grande, comme sur Blog-Mode) ? On obtient une hauteur de l'&#233;l&#233;ment #elastique n&#233;gative ; et on ne doit &#233;videmment pas cr&#233;er d'&#233;l&#233;ment de hauteur inf&#233;rieure &#224; z&#233;ro ou nulle.&lt;/p&gt; &lt;p&gt;On compl&#232;te donc par un petit test :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_javascript cadre&quot;&gt;&lt;div class=&quot;javascript&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt; hauteur_elastique&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; hpage &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#contenu&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;+&lt;/span&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#contenu&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;scrollTop&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;-&lt;/span&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#image&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;hpage &lt;span style=&quot;color: #339933;&quot;&gt;&lt;&lt;/span&gt; &lt;span style=&quot;color: #CC0000;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#elastique&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;hide&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#elastique&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;show&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#elastique&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;hpage&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='cadre_download' style='text-align: right;'&gt; &lt;a href='http://www.jquery.info/local/cache-code/61ffe035edb4a372eea9f64849820e86.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Si la hauteur calcul&#233;e pour l'&#233;l&#233;ment #elastique est inf&#233;rieure &#224; 1 pixel, on se contente de cacher l'&#233;l&#233;ment. Sinon on l'affiche et on applique sa nouvelle hauteur.&lt;/p&gt; &lt;p&gt;On a maintenant l'affichage correct au chargement de la page, puis lorsqu'on scroll le texte. Il reste un &#233;l&#233;ment &#224; corriger : quand on redimensionne la page. Il nous suffit de red&#233;clencher le calcul de la hauteur #elastique quand on d&#233;tecte l'&#233;v&#233;nement &lt;code class='spip_code' dir='ltr'&gt;$(window).resize()&lt;/code&gt;. Notre code devient :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_javascript cadre&quot;&gt;&lt;div class=&quot;javascript&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;document&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;ready&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; hauteur_elastique&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#contenu&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #000066;&quot;&gt;scroll&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; hauteur_elastique&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;window&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;resize&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; hauteur_elastique&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='cadre_download' style='text-align: right;'&gt; &lt;a href='http://www.jquery.info/local/cache-code/09d797e5ab8bf8d74a4a7f50db2f695c.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Voil&#224;, le gros du travail est fait, avec un principe tr&#232;s simple et du code javascript/jquery tout aussi simple. Des codeurs avanc&#233;s pourront certainement rendre le code javascript beaucoup plus compacte, mais j'aime bien conserver un code tr&#232;s simple et tr&#232;s lisible.&lt;/p&gt; &lt;p&gt;Il reste cependant une difficult&#233; &#224; r&#233;soudre : &#224; moins de consulter cette page avec Safari ou Chrome, on a un effet de sautillement tr&#232;s disgracieux lors du scroll.&lt;/p&gt; &lt;p&gt;La solution que j'applique : je n'affiche pas l'image directement dans le pav&#233; #image, mais en background du pav&#233; qui contient l'ensemble de la page. Le pav&#233; #image se contente alors de cr&#233;er l'espace (de hauteur et de la largeur identiques &#224; l'image) pour l'habillage du texte.&lt;/p&gt; &lt;p&gt;On rencontre alors une seconde difficult&#233; : on ne peut pas appliquer l'image en background de #contenu, parce que cet &#233;l&#233;ment est scrollable. Et Internet Explorer se comporte alors d'une fa&#231;on sp&#233;cifique : le background se d&#233;place avec le contenu complet de la page et non dans la partie r&#233;ellement affichable du pav&#233;.&lt;/p&gt; &lt;p&gt;Je fabrique donc, uniquement dans le but de positionner correctement l'image en bas &#224; droite, un pav&#233; suppl&#233;mentaire (#contenu_image qui contient #contenu).&lt;/p&gt; &lt;p&gt;Mon code est d&#233;sormais complet :&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_html4strict cadre&quot;&gt;&lt;div class=&quot;html4strict&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/html.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;html&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/head.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;head&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/script.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;script&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;jquery.js&quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/script.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;script&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/script.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;script&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&gt;&lt;/span&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;&lt;!--&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; function hauteur_elastique() {&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; hpage = $(&quot;#contenu&quot;).height() + $(&quot;#contenu&quot;).scrollTop() - $(&quot;#image&quot;).height();&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; if (hpage &lt; 1) {&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; $(&quot;#elastique&quot;).hide();&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; }&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; else {&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; $(&quot;#elastique&quot;).show();&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; $(&quot;#elastique&quot;).height(hpage);&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; }&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; }&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; $(document).ready(function(){&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; hauteur_elastique(); &lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; $(&quot;#contenu&quot;).scroll(function() {&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; hauteur_elastique();&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; });&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; $(window).resize(function(){&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; hauteur_elastique(); &lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; }); &lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; }); &lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt; --&gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/script.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;script&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/style.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;style&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;style&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;text/css&quot;&lt;/span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; body {&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; margin: 0px;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; padding: 0px;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; }&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; #contenu_image {&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; height: 100%;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; background: url(image.png) bottom right no-repeat;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; }&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; #contenu {&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; height: 100%;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; overflow: auto;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; }&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; #pave_texte {&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; padding: 20px;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; }&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; #pave_texte .texte {&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; text-align: justify;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; }&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; #elastique {&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; width: 5px;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; height: 150px;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; float: right;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; overflow: hidden;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; }&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; #image {&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; width: 236px;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; height: 300px;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; clear: right;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; float: right;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; }&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/style.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;style&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/head.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;head&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/body.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;body&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;contenu_image&quot;&lt;/span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;contenu&quot;&lt;/span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;elastique&quot;&lt;/span&gt;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;image&quot;&lt;/span&gt;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;pave_texte&quot;&lt;/span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/h1.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;h1&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;Le titre&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/h1.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;h1&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&quot;texte&quot;&lt;/span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. In luctus, sapien vel feugiat hendrerit, ante felis mollis nunc, eget rutrum sapien arcu et turpis. Proin blandit sapien quis ante ullamcorper eget malesuada mi facilisis. Aenean risus velit, eleifend vitae lacinia nec, varius nec lorem. Aenean nisi urna, faucibus et lacinia a, dictum at erat. Maecenas laoreet eros nec felis tempor ac tempus felis lacinia. Vivamus aliquet semper ullamcorper. Donec ligula nisi, pellentesque non aliquet eget, malesuada nec sem. Sed ultricies arcu ut mauris eleifend pretium. Integer mattis, diam quis ultrices faucibus, lectus diam laoreet lectus, eu rutrum nunc lacus eu enim. Suspendisse potenti. Vestibulum hendrerit dolor a eros fermentum nec consectetur massa congue. Proin ornare rutrum arcu non tempor. Aliquam fermentum nulla et justo porttitor sit amet tristique dolor commodo. Fusce turpis sem, suscipit porttitor euismod eleifend, vehicula vestibulum nisl.&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;Cras dui erat, vulputate nec dictum vel, commodo id ante. Fusce bibendum varius fermentum. Maecenas lacinia egestas mi vel ultrices. In augue sapien, gravida quis vestibulum porttitor, congue et enim. Aenean condimentum tempus nisi, at vehicula magna luctus non. Nam ultricies urna in purus facilisis non venenatis ligula tincidunt. Quisque porta varius lectus, vitae vestibulum leo commodo nec. Morbi justo neque, ultrices in egestas ut, consectetur sed neque. Maecenas egestas malesuada gravida. Cras eleifend quam accumsan leo sodales viverra. Aliquam erat volutpat. Morbi nec sapien vel orci commodo volutpat nec ut ipsum.&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;Vivamus nec rutrum est. Curabitur lectus turpis, adipiscing et commodo a, blandit eu nisi. Nulla eget mi id mauris interdum accumsan vel et quam. Morbi sed neque felis. Duis sit amet dolor neque, nec tincidunt magna. Duis iaculis elementum lacus, nec elementum metus vehicula eu. Aenean sed tortor at erat blandit consectetur et vel lectus. Sed ligula nisl, posuere et pretium nec, facilisis ut nisl. Vivamus ultrices suscipit feugiat. Pellentesque eleifend varius lectus et iaculis. In gravida nisl id elit facilisis tempor. Sed eros dolor, fermentum quis aliquet id, ornare bibendum enim. Pellentesque fringilla pharetra sem, vitae interdum tellus varius quis. Sed tempor dignissim risus, vitae mattis quam aliquam in. Mauris facilisis magna a urna ultricies suscipit. Integer semper gravida nibh sed luctus. In hac habitasse platea dictumst. Nulla facilisi. Vivamus ac purus accumsan magna hendrerit ornare.&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;Praesent porta egestas orci, hendrerit consequat mi posuere non. Donec egestas posuere sapien, nec cursus elit sodales vel. Donec hendrerit mi non tellus luctus ullamcorper. Etiam eget magna et ante convallis pellentesque ut id augue. Curabitur tincidunt, velit a hendrerit aliquam, quam est fringilla purus, non scelerisque velit purus auctor est. Proin elit neque, venenatis quis iaculis et, cursus id dui. Quisque vehicula dignissim egestas. Nam viverra tincidunt eros porta sollicitudin. Cras porta mauris mollis ante bibendum id condimentum leo posuere. Maecenas lacinia pretium vehicula. Nam non metus tortor, quis dictum risus. Vivamus facilisis adipiscing arcu a commodo. Nulla consequat pulvinar risus, eu varius diam gravida sed. In hac habitasse platea dictumst. Etiam eget risus dolor, semper aliquam nisi. In hac habitasse platea dictumst. Aenean elementum hendrerit lacus eu luctus.&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;Suspendisse porttitor condimentum enim vitae aliquam. Fusce ultricies tristique sem, vel pellentesque mi consequat id. Nunc vulputate vehicula lorem, non gravida dui vulputate a. Nulla euismod ligula et sem luctus fermentum. Mauris sodales est id magna rhoncus molestie. Praesent non felis in ipsum dapibus feugiat. Nulla eget sem a urna dictum interdum. Proin eu metus sed nisl pellentesque eleifend at vel lectus. Mauris bibendum eros et nulla pretium lobortis. Aenean blandit lacus non nulla mollis mollis. Maecenas non ultricies ligula.&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/p.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;p&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;div&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/body.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;body&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;&lt;span style=&quot;color: #66cc66;&quot;&gt;/&lt;/span&gt;&lt;a href=&quot;http://december.com/html/4/element/html.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;html&lt;/span&gt;&lt;/a&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='cadre_download' style='text-align: right;'&gt; &lt;a href='http://www.jquery.info/local/cache-code/896f5d01ce515959a1fa52de99f073e5.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;En pratique, j'ai encore quelques modifications : la hauteur de #contenu_image n'est pas de 100% de mon &#233;cran (je veux afficher un footer et un header), et les solutions purement CSS ne fonctionnent pas avec Internet Explorer 6 (alors que la bidouille Javascript, elle, est totalement compatible, je ne vais donc pas me f&#226;cher avec MSIE 6 juste parce que je dois calculer la hauteur d'un pav&#233;).&lt;/p&gt; &lt;p&gt;J'ajoute donc un petit morceau de script qui calcule la hauteur r&#233;elle de #contenu_image en fonction de la hauteur de la fen&#234;tre.&lt;/p&gt; &lt;p&gt;Sous Internet Explorer, la barre de scroll verticale de la fen&#234;tre compl&#232;te ne dispara&#238;t pas : elle est seulement d&#233;sactiv&#233;e, et la scrollbar de #contenu appara&#238;t &#171; &#224; l'int&#233;rieur &#187; au lieu de bien se positionner &#224; sa place. J'ajoute donc un &#233;l&#233;ment de style pour la compatibilit&#233; avec IE 6 et IE 7 :&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_css cadre&quot;&gt;&lt;div class=&quot;css&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;html&lt;span style=&quot;color: #00AA00;&quot;&gt;,&lt;/span&gt; body &lt;span style=&quot;color: #00AA00;&quot;&gt;&#123;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;overflow&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #993333;&quot;&gt;hidden&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;&#125;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='cadre_download' style='text-align: right;'&gt; &lt;a href='http://www.jquery.info/local/cache-code/6efd02462d21df258bcafafcdd2aced2.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Attention &#224; n'ins&#233;rer ce genre de bidouille que tout &#224; la fin de vos d&#233;veloppements : en effet, il ne faut surtout pas utiliser ce genre de choses pour masquer des &#233;l&#233;ments &#171; qui d&#233;passent &#187; de votre page &#8212; ces &#233;l&#233;ments devraient &#234;tre corrig&#233;s proprement dans vos feuilles de style &#8212;, mais simplement pour ne pas afficher les scrollbar d&#233;sactiv&#233;es. Le overflow hidden du body doit jamais servir &#224; masquer la mis&#232;re d'un code mal fichu (ici, il s'agit seulement de masquer des scrollbar qui sont d&#233;j&#224; inactives).&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Je passe dans SPIP&lt;/h3&gt;
&lt;p&gt;Il nous reste &#224; r&#233;aliser l'habillage irr&#233;gulier. Pour cela, il suffit de supprimer le pav&#233; #image et de le remplacer par la s&#233;rie de div calcul&#233;s par le filtre image_ragged de SPIP.&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_spip2 cadre&quot;&gt;&lt;div class=&quot;spip2&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;&lt;div id=&quot;elastique&quot;&gt;&lt;/div&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #CA5200;&quot;&gt;#LOGO_ARTICLE_NORMAL&lt;/span&gt;|&lt;span style=&quot;color: #E1861A;&quot;&gt;|image_reduire&lt;/span&gt;&lt;span style=&quot;color: #74B900;&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&#123;&lt;/span&gt;0,300&lt;span class=&quot;br0&quot;&gt;&#125;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E1861A;&quot;&gt;|image_ragged&lt;/span&gt;&lt;span style=&quot;color: #74B900;&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&#123;&lt;/span&gt;right,5&lt;span class=&quot;br0&quot;&gt;&#125;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt; &lt;span style=&quot;color: #E1861A;&quot;&gt;|replace&lt;/span&gt;&lt;span style=&quot;color: #74B900;&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&#123;&lt;/span&gt;url&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;.*&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;,rien.gif&lt;span class=&quot;br0&quot;&gt;&#125;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='cadre_download' style='text-align: right;'&gt; &lt;a href='http://www.jquery.info/local/cache-code/dd2dd9dcb53cea012a26aafca33bd3f8.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Je prends le logo de mon article, je force sa hauteur &#224; 300 pixels, et l&#224;-dessus je demande &#224; SPIP de me fabriquer les &#233;l&#233;ments flottants tr&#232;s fins qui permettent l'habillage irr&#233;gulier. Chacun de ces &#233;l&#233;ments flottants contient (comme pour le #image initial) la s&#233;quence clear right et float right (attention &#224; ne pas installer le logo pass&#233; par image_ragged &#224; l'int&#233;rieur d'un grand pav&#233; tel que #image : sinon on casserait la s&#233;quence d'&#233;l&#233;ments flottants).&lt;/p&gt; &lt;p&gt;Comme j'ai d&#233;cid&#233; de placer l'image en fond de #contenu_image, je ne dois logiquement pas la r&#233;afficher ici, et ne conserver que les div qui fabriquent la forme irr&#233;guli&#232;re. Or, image_ragged place l'image en fond (background) de chacun des div qu'il fabrique. Le filtre &lt;code class='spip_code' dir='ltr'&gt;|replace{url(.*),rien.gif}&lt;/code&gt; me permet donc de remplacer les images en fond par l'image vide par d&#233;faut de SPIP.&lt;/p&gt; &lt;p&gt;Je dois finalement modifier l&#233;g&#232;rement mon javascript : dans hauteur_elastique, je ne peux plus demander de retirer &lt;code class='spip_code' dir='ltr'&gt;$(&quot;#image&quot;).height()&lt;/code&gt; &#224; la hauteur de la fen&#234;tre, puisqu'il n'y a plus de pav&#233; #image. Comme j'ai d&#233;cid&#233; de forcer la hauteur de mon image &#224; 300 pixels, inutile de faire faire le calcul par jQuery, je peux directement indiquer la valeur de mon choix : ici 320 (parce qu'image_ragged ajoute un bloc de 20 pixels en haut de l'image, pour &#233;viter que le texte ne vienne se superposer sur le haut de l'image) :&lt;/p&gt;
&lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_javascript cadre&quot;&gt;&lt;div class=&quot;javascript&quot;&gt;&lt;ol&gt;&lt;li style=&quot;font-weight: normal; vertical-align:top;&quot;&gt;&lt;div style=&quot;&quot;&gt;hpage &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#contenu&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;+&lt;/span&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;#contenu&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;scrollTop&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;-&lt;/span&gt; &lt;span style=&quot;color: #CC0000;&quot;&gt;320&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;h3 class=&quot;spip&quot;&gt;Inconv&#233;nients&lt;/h3&gt;
&lt;p&gt;Il y a deux principaux inconv&#233;nients li&#233;s &#224; cette m&#233;thode.&lt;/p&gt; &lt;p&gt;&lt;img src=&quot;http://www.jquery.info/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; style='height:11px;width:8px;' /&gt; Le premier est un probl&#232;me de lisibilit&#233; du texte ; la largeur de chaque ligne de texte qui habille l'image change lorsqu'on scrolle (puisque l'image habill&#233;e, elle, ne se d&#233;place pas). On a donc, pendant le scroll, des mots qui changent de ligne en permanence, et c'est tr&#232;s difficile &#224; lire.&lt;/p&gt; &lt;p&gt;Pour limiter les d&#233;g&#226;ts : n'appliquer l'effet que sur des textes courts et avec des paragraphes pas trop longs (les changements de paragraphes sont plus faciles &#224; retrouver quand la mise en page a chang&#233; lors du scroll).&lt;/p&gt; &lt;p&gt;&lt;img src=&quot;http://www.jquery.info/local/cache-vignettes/L8xH11/puce-32883.gif&quot; width='8' height='11' class='puce' alt=&quot;-&quot; style='height:11px;width:8px;' /&gt; Vous ne pouvez utiliser aucun &#233;l&#233;ment de type float dans le texte. M&#234;me pas des float left. La s&#233;quence float right, clear right rejette en effet tous les float en dehors de la page, y compris les &#233;l&#233;ments flottant &#224; gauche. Pas d'images flottantes, donc, dans le corps de votre article.&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Plan&#232;te jQuery FR</title>
		<link>http://www.jquery.info/spip.php?article96</link>
		<guid isPermaLink="true">http://www.jquery.info/spip.php?article96</guid>
		<dc:date>2009-12-16T11:12:29Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>damdec</dc:creator>



		<description>Plan&#232;te jQuery est un planet visant &#224; regrouper un ensemble de flux RSS de divers sites/blogs parlant de jQuery en fran&#231;ais. Plan&#232;te jQuery a vu le jour il y a peu de temps, le but est de regrouper de l'actualit&#233;, des plugins, des tutoriels, &#8230;, sur jQuery et en fran&#231;ais. Si vous avez un site ou blog dans lequel vous publiez des articles sur jQuery en fran&#231;ais, n'h&#233;sitez pas &#224; vous inscrire ou &#224; me contacter si &#231;a vous int&#233;resse ! Le but du jeu est de centraliser les infos qui circulent sur jQuery en (...)

-
&lt;a href="http://www.jquery.info/spip.php?rubrique3" rel="directory"&gt;Actualit&#233;s&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;Plan&#232;te jQuery est un &lt;span lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;planet&lt;/span&gt; visant &#224; regrouper un ensemble de flux &lt;abbr&gt;RSS&lt;/abbr&gt; de divers sites/blogs parlant de jQuery en fran&#231;ais.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;Plan&#232;te jQuery a vu le jour il y a peu de temps, le but est de regrouper de l'actualit&#233;, des &lt;span lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;plugins&lt;/span&gt;, des tutoriels, &#8230;, sur jQuery et en fran&#231;ais. Si vous avez un site ou blog dans lequel vous publiez des articles sur jQuery en fran&#231;ais, n'h&#233;sitez pas &#224; vous inscrire ou &#224; &lt;a href='http://damdec.fr/contactez-moi/' class='spip_out' rel='external'&gt;me contacter&lt;/a&gt; si &#231;a vous int&#233;resse !&lt;/p&gt; &lt;p&gt;Le but du jeu est de centraliser les infos qui circulent sur jQuery en fran&#231;ais et pourquoi pas devenir un espace d'&#233;changes avec un forum&#8230; &lt;span lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;let's go&lt;/span&gt; !&lt;/p&gt; &lt;p&gt;&lt;a href='http://planete-jquery.fr/' class='spip_out' rel='nofollow external'&gt;http://planete-jquery.fr&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Quels bugs doivent absolument &#234;tre r&#233;solus pour jQuery 1.4</title>
		<link>http://www.jquery.info/spip.php?article95</link>
		<guid isPermaLink="true">http://www.jquery.info/spip.php?article95</guid>
		<dc:date>2009-10-31T13:53:12Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>John Resig, Olivier G.</dc:creator>



		<description>traduction d'un billet de John Resig paru sur le blog jQuery Vous voulez &#234;tre s&#251;rs que votre bug de jQuery &#171; favori &#187; soit corrig&#233; &#224; temps pour la toute prochaine version 1.4 ? Alors dites-le &#224; l'&#233;quipe de d&#233;veloppement de jQuery en utilisant le formulaire d&#233;di&#233; (en anglais)

-
&lt;a href="http://www.jquery.info/spip.php?rubrique3" rel="directory"&gt;Actualit&#233;s&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;traduction d'un &lt;a href='http://blog.jquery.com/2009/10/30/what-bug-needs-to-be-fixed-for-jquery-14/' class='spip_out' rel='external'&gt;billet de John Resig paru sur le blog jQuery&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;Vous voulez &#234;tre s&#251;rs que votre bug de jQuery &#171; favori &#187; soit corrig&#233; &#224; temps pour la toute prochaine version 1.4 ? Alors dites-le &#224; l'&#233;quipe de d&#233;veloppement de jQuery en utilisant &lt;a href='http://spreadsheets.google.com/viewform?formkey=dDByOTVnY2xjbHI2dkxma01obDJiYVE6MA' class='spip_out' hreflang='en' rel='external'&gt;le formulaire d&#233;di&#233; (en anglais)&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>jQuery 1.3.2</title>
		<link>http://www.jquery.info/spip.php?article94</link>
		<guid isPermaLink="true">http://www.jquery.info/spip.php?article94</guid>
		<dc:date>2009-10-06T07:29:17Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>John Resig, Olivier G.</dc:creator>



		<description>Traduction (tr&#232;s) tardive de la documentation de jQuery consacr&#233; &#224; la sortie de jQuery 1.3.2, paru le 20 f&#233;vrier 2009. 20 f&#233;vrier 2009 : ceci est une version de maintenance pour jQuery 1.3. Vous pouvez voir la liste compl&#232;te de ce qui a &#233;t&#233; chang&#233; ou corrig&#233; sur le traqueur de bugs T&#233;l&#233;chargement jQuery 1.3.2 : jQuery compact&#233; (19kb avec la compression Gzip) jQuery normal (120kb) jQuery h&#233;berg&#233; chez Google : http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js Si (...)

-
&lt;a href="http://www.jquery.info/spip.php?rubrique3" rel="directory"&gt;Actualit&#233;s&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;Traduction (tr&#232;s) tardive de la documentation de jQuery consacr&#233; &#224; &lt;a href='http://docs.jquery.com/Release:jQuery_1.3.2' class='spip_out' hreflang='en' rel='external'&gt;la sortie de jQuery 1.3.2&lt;/a&gt;, paru le 20 f&#233;vrier 2009.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;&lt;strong&gt;20 f&#233;vrier 2009&lt;/strong&gt; : ceci est une version de maintenance pour &lt;a href='http://docs.jquery.com/Release:jQuery_1.3' class='spip_out' rel='external'&gt;jQuery 1.3&lt;/a&gt;. Vous pouvez voir la liste compl&#232;te de ce qui a &#233;t&#233; chang&#233; ou corrig&#233; sur le &lt;a href='http://dev.jquery.com/report/33' class='spip_out' rel='external'&gt;traqueur de bugs&lt;/a&gt;&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;T&#233;l&#233;chargement&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;jQuery 1.3.2 :&lt;/strong&gt;&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; &lt;a href='http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.2.min.js' class='spip_out' rel='external'&gt;jQuery compact&#233;&lt;/a&gt; (19kb avec la &lt;a href='http://www.julienlecomte.net/blog/2007/08/13/' class='spip_out' rel='external'&gt;compression Gzip&lt;/a&gt;)&lt;/li&gt;&lt;li&gt; &lt;a href='http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.2.js' class='spip_out' rel='external'&gt;jQuery normal&lt;/a&gt; (120kb)&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;jQuery h&#233;berg&#233; chez Google :&lt;/strong&gt;&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; &lt;a href='http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js' class='spip_out' rel='external'&gt;http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Si vous d&#233;sirez r&#233;cup&#233;rer la version compl&#232;te depuis le &lt;a href='http://dev.jquery.com/browser' class='spip_out' rel='external'&gt;d&#233;p&#244;t subversion&lt;/a&gt;, vous pouvez le faire en suivant &lt;a href='http://docs.jquery.com/Downloading_jQuery#Subversion_.28SVN.29' class='spip_out' hreflang='en' rel='external'&gt;ces instructions&lt;/a&gt; et en r&#233;cup&#233;rant le code source depuis l'adresse suivante :&lt;/p&gt; &lt;p&gt;&lt;code class='spip_code' dir='ltr'&gt;svn co http://jqueryjs.googlecode.com/svn/tags/1.3.2&lt;/code&gt;&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Changements&lt;/h3&gt;
&lt;h4&gt;Les &#233;l&#233;ments sont retourn&#233;e dans l'ordre du document&lt;/h4&gt;
&lt;p&gt;C'est un changement dans le moteur de s&#233;lecteurs de jQuery qui a r&#233;organis&#233; les &#233;l&#233;ments retourn&#233;s de mani&#232;re &#224; ce qu'ils soient dans l'ordre du document, plut&#244;t que dans l'ordre dans lequel les s&#233;lecteurs &#233;taient envoy&#233;s. Ce changement a &#233;t&#233; fait afin d'&#234;tre en accord avec la sp&#233;cification &lt;a href='http://www.w3.org/TR/selectors-api/' class='spip_out' rel='external'&gt;API des s&#233;lecteurs&lt;/a&gt; (qui est utilis&#233;e en interne par jQuery dans les navigateurs qui la supportent).&lt;/p&gt; &lt;p&gt;Un exemple :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt; // jQuery 1.3.1 (et pr&#233;c&#233;dentes)&lt;br /&gt; $(&quot;h1, h2, h3&quot;)&lt;br /&gt; =&gt; [ h1, h1, h2, h2, h3, h3 ]&lt;br /&gt; &lt;br /&gt; // jQuery 1.3.2&lt;br /&gt; $(&quot;h1, h2, h3&quot;)&lt;br /&gt; =&gt; [ h1, h2, h3, h3, h1, h2 ]&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Je voudrais remercier Diego Perini pour nous avoir pouss&#233;s &#224; faire cette impl&#233;mentation.&lt;/p&gt; &lt;h4&gt;&lt;code class='spip_code' dir='ltr'&gt;.live()&lt;/code&gt; peut maintenant &#233;viter le bouillonement (&lt;span lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;bubbling&lt;/span&gt;)&lt;/h4&gt;
&lt;p&gt;Il est maintenant possible d'appeler &lt;code class='spip_code' dir='ltr'&gt;event.stopPropagation()&lt;/code&gt; ou &lt;code class='spip_code' dir='ltr'&gt;return false&lt;/code&gt; dans la fonction de rappel (&lt;span lang=&quot;'en&quot; xml:lang=&quot;en&quot;&gt;Callback&lt;/span&gt;) d'un &lt;a href='http://docs.jquery.com/Events/live' class='spip_out' rel='external'&gt;&lt;code class='spip_code' dir='ltr'&gt;.live()&lt;/code&gt;&lt;/a&gt; et de lui faire stopper le bouillonnement de l'&#233;v&#233;nement. Cela signifie que vous pouvez maintenant lier des &#233;v&#233;nements &lt;code class='spip_code' dir='ltr'&gt;live&lt;/code&gt; &#224; l'int&#233;rieur les uns des autres et emp&#234;cher les gestionnaires (&lt;span lang=&quot;'en&quot; xml:lang=&quot;en&quot;&gt;handlers&lt;/span&gt;) internes de d&#233;clencher les gestionnaires externes.&lt;/p&gt; &lt;p&gt;Par exemple :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;&lt;b&gt;Google&lt;/b&gt;&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;b&gt;Yahoo&lt;/b&gt;&lt;/li&gt;&lt;br /&gt; &lt;/ul&gt;&lt;br /&gt; &lt;script&gt;&lt;br /&gt; $(&quot;li&quot;).live(&quot;click&quot;, function(){&lt;br /&gt; $(this).addClass(&quot;active&quot;);&lt;br /&gt; });&lt;br /&gt; $(&quot;li b&quot;).live(&quot;click&quot;, function(){&lt;br /&gt; $(this).addClass(&quot;active&quot;);&lt;br /&gt; return false;&lt;br /&gt; });&lt;br /&gt; &lt;/script&gt;&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Je voudrais remercier Ira&#234; pour la solutions qu'il a propos&#233; pour ce probl&#232;me.&lt;/p&gt; &lt;p&gt;Pour ceux qui se poseraient des questions &#224; propos des fonctionnalit&#233;s encore manquantes dans &lt;code class='spip_code' dir='ltr'&gt;.live()&lt;/code&gt; (comme par exemple les &#233;v&#233;nements &lt;code class='spip_code' dir='ltr'&gt;submit&lt;/code&gt; et &lt;code class='spip_code' dir='ltr'&gt;change&lt;/code&gt;), vous pouvez vous attendre &#224; ce que tout ceci soit pr&#233;sent dans jQuery 1.3.3, qui devrait arriver dans le courant du prochain mois (&lt;abbr title=&quot;Note du Traducteur&quot;&gt;NdT&lt;/abbr&gt; : pas de nouvelles de cette version depuis).&lt;/p&gt; &lt;h4&gt;Am&#233;liorations de &lt;code class='spip_code' dir='ltr'&gt;:visible/:hidden&lt;/code&gt;&lt;/h4&gt;
&lt;p&gt;Nous avons chang&#233; le fonctionnement des s&#233;lecteurs &lt;a href='http://docs.jquery.com/Selectors/visible' class='spip_out' rel='external'&gt;&lt;code class='spip_code' dir='ltr'&gt;:visible&lt;/code&gt;&lt;/a&gt; et &lt;a href='http://docs.jquery.com/Selectors/hidden' class='spip_out' rel='external'&gt;&lt;code class='spip_code' dir='ltr'&gt;:hidden&lt;/code&gt;&lt;/a&gt; (qui &#233;taient utilis&#233;s dans jQuery pour d&#233;terminer la visibilit&#233; d'un &#233;l&#233;ment) :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; dans jQuery 1.3.1 (et pr&#233;c&#233;dents) un &#233;l&#233;ment &#233;tait visible si sa propri&#233;t&#233; &lt;abbr&gt;CSS&lt;/abbr&gt; &lt;code class='spip_code' dir='ltr'&gt;display&lt;/code&gt; n'&#233;tait pas &lt;var&gt;none&lt;/var&gt;, si sa propri&#233;t&#233; &lt;abbr&gt;CSS&lt;/abbr&gt; &lt;code class='spip_code' dir='ltr'&gt;visibility&lt;/code&gt; n'&#233;tait pas &lt;var&gt;hidden&lt;/var&gt; et si son type (s'il s'agissait d'un &lt;code class='spip_code' dir='ltr'&gt;input&lt;/code&gt;) n'&#233;tait pas &lt;var&gt;hidden&lt;/var&gt; ;&lt;/li&gt;&lt;li&gt; dans jQuery 1.3.2 un &#233;l&#233;ment est visible si les valeurs &lt;code class='spip_code' dir='ltr'&gt;offsetWidth&lt;/code&gt; ou &lt;code class='spip_code' dir='ltr'&gt;offsetHeight&lt;/code&gt; annonc&#233;es par le navigateur sont sup&#233;rieures &#224; 0. &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Que signifie ce changement ? Il signifie que si l'attribut &lt;abbr&gt;CSS&lt;/abbr&gt; &lt;code class='spip_code' dir='ltr'&gt;display&lt;/code&gt; de votre &#233;l&#233;ment ou de l'un de ses parents et anc&#234;tres est &lt;var&gt;none&lt;/var&gt;, ou si la largeur ou la hauteur de votre &#233;l&#233;ment est &lt;var&gt;0&lt;/var&gt;, alors cet &#233;l&#233;ment sera d&#233;clar&#233; cach&#233; (&lt;var&gt;hidden&lt;/var&gt;).&lt;/p&gt; &lt;p&gt;Quels sont les avantages de ce changement ? Il y a deux aspects :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; Les performances sont bien bien meilleures (voir ci-dessous) ;&lt;/li&gt;&lt;li&gt; un &#233;l&#233;ment est d&#233;clar&#233; &lt;var&gt;hidden&lt;/var&gt; s'il est dans un &#233;l&#233;ment &lt;var&gt;hidden&lt;/var&gt; (ce qui n'&#233;tait pas possible auparavant sans l'utilisation d'un &lt;a href='http://remysharp.com/2008/10/17/jquery-really-visible/' class='spip_out' rel='external'&gt;plugin&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;dl class='spip_document_86 spip_documents spip_documents_center'&gt;
&lt;dt&gt;&lt;img src='http://www.jquery.info/local/cache-vignettes/L500xH375/3296388756_c319f-46295.jpg' width='500' height='375' alt='JPEG - 66 ko' style='height:375px;width:500px;' /&gt;&lt;/dt&gt;
&lt;dt class='crayon document-titre-86 spip_doc_titre' style='width:350px;'&gt;&lt;strong&gt;graphique des am&#233;liorations de &lt;code class='spip_code' dir='ltr'&gt;:visible/:hidden&lt;/code&gt;&lt;/strong&gt;&lt;/dt&gt;
&lt;/dl&gt;
&lt;p&gt;Je voudrais remercier Matheus Almeida d'avoir propos&#233; certains des changement que nous avons effectu&#233; pour am&#233;liorer les performances de ces s&#233;lecteurs.&lt;/p&gt; &lt;h4&gt;Am&#233;liorations de &lt;code class='spip_code' dir='ltr'&gt;.height()/.width()&lt;/code&gt;&lt;/h4&gt;
&lt;p&gt;&lt;a href='http://docs.jquery.com/CSS/height' class='spip_out' rel='external'&gt;&lt;code class='spip_code' dir='ltr'&gt;.height()&lt;/code&gt;&lt;/a&gt;, &lt;a href='http://docs.jquery.com/CSS/width' class='spip_out' rel='external'&gt;&lt;code class='spip_code' dir='ltr'&gt;.width()&lt;/code&gt;&lt;/a&gt;, &lt;a href='http://docs.jquery.com/CSS/innerHeight' class='spip_out' rel='external'&gt;&lt;code class='spip_code' dir='ltr'&gt;.innerHeight()&lt;/code&gt;&lt;/a&gt;, &lt;a href='http://docs.jquery.com/CSS/innerWidth' class='spip_out' rel='external'&gt;&lt;code class='spip_code' dir='ltr'&gt;.innerWidth()&lt;/code&gt;&lt;/a&gt;, &lt;a href='http://docs.jquery.com/CSS/outerHeight' class='spip_out' rel='external'&gt;&lt;code class='spip_code' dir='ltr'&gt;.outerHeight()&lt;/code&gt;&lt;/a&gt;, et &lt;a href='http://docs.jquery.com/CSS/outerWidth' class='spip_out' rel='external'&gt;&lt;code class='spip_code' dir='ltr'&gt;.outerWidth()&lt;/code&gt;&lt;/a&gt; ont &#233;t&#233; am&#233;lior&#233;s, accroissant largement leur vitesse dans tous les navigateurs.&lt;/p&gt; &lt;dl class='spip_document_87 spip_documents spip_documents_center'&gt;
&lt;dt&gt;&lt;img src='http://www.jquery.info/local/cache-vignettes/L500xH375/3296388660_8f487-24d36.jpg' width='500' height='375' alt='JPEG - 66.3 ko' style='height:375px;width:500px;' /&gt;&lt;/dt&gt;
&lt;dt class='crayon document-titre-87 spip_doc_titre' style='width:350px;'&gt;&lt;strong&gt;Graphique des am&#233;liorations de &lt;code class='spip_code' dir='ltr'&gt;.height()/.width()&lt;/code&gt;&lt;/strong&gt;&lt;/dt&gt;
&lt;/dl&gt;
&lt;p&gt;je voudrais remercier Mike Helgeson pour ses contributions sur ce sujet qui ont &#233;t&#233; largement responsables de certains des gains importants que nous avons avec ces m&#233;thodes.&lt;/p&gt; &lt;h4&gt;Acc&#233;l&#233;ration des s&#233;lecteurs dans &lt;abbr&gt;IE&lt;/abbr&gt;&lt;/h4&gt;
&lt;p&gt;Les b&#233;n&#233;fices du nouveau &lt;a href='http://sizzlejs.com/' class='spip_out' hreflang='en' rel='external'&gt;moteur de s&#233;lection Sizzle&lt;/a&gt; commencent &#224; vraiment se faire sentir alors que des contributions venant des plus importantes communaut&#233;s &lt;span lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;JavaScript&lt;/span&gt; arrivent. Un grand nombre d'am&#233;liorations ont &#233;t&#233; envoy&#233;es et ont aid&#233; &#224; am&#233;liorer les performances du moteur, sp&#233;cialement dans &lt;span lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;Internet Explorer&lt;/span&gt;&lt;/p&gt; &lt;dl class='spip_document_88 spip_documents spip_documents_center'&gt;
&lt;dt&gt;&lt;img src='http://www.jquery.info/local/cache-vignettes/L500xH375/3295562379_aa177-b3dc8.jpg' width='500' height='375' alt='JPEG - 54.5 ko' style='height:375px;width:500px;' /&gt;&lt;/dt&gt;
&lt;dt class='crayon document-titre-88 spip_doc_titre' style='width:350px;'&gt;&lt;strong&gt;Acc&#233;l&#233;ration des s&#233;lecteurs dans &lt;abbr&gt;IE&lt;/abbr&gt;&lt;/strong&gt;&lt;/dt&gt;
&lt;/dl&gt;
&lt;p&gt;Je voudrais remercier Fabio Buffoni pour sa contribution qui ont &#233;t&#233; largement responsables de ces acc&#233;l&#233;rations.&lt;/p&gt; &lt;p&gt;De m&#234;me, il y a maintenant une &lt;a href='http://wiki.github.com/jeresig/sizzle' class='spip_out' hreflang='en' rel='external'&gt;documentation pour Sizzle&lt;/a&gt;, si vous &#234;tes int&#233;ress&#233;s &#224; &#233;tendre ou int&#233;grer cette biblioth&#232;que dans la v&#244;tre.&lt;/p&gt; &lt;h4&gt;&lt;code class='spip_code' dir='ltr'&gt;.appendTo()&lt;/code&gt;, etc. retournent d&#233;sormais les &#233;l&#233;ments ins&#233;r&#233;s&lt;/h4&gt;
&lt;p&gt;C'est un changement (mineur) dans l'API qui r&#233;sout un bug de jQuery. Les m&#233;thodes &lt;a href='http://docs.jquery.com/Manipulation/appendTo' class='spip_out' rel='external'&gt;appendTo&lt;/a&gt;, &lt;a href='http://docs.jquery.com/Manipulation/prependTo' class='spip_out' rel='external'&gt;prependTo&lt;/a&gt;, &lt;a href='http://docs.jquery.com/Manipulation/insertBeforehttp:/docs.jquery.com/Manipulation/insertAfter' class='spip_out' rel='external'&gt;insertBefore&lt;/a&gt;, &lt;a href='http://docs.jquery.com/Manipulation/insertAfter' class='spip_out' rel='external'&gt;insertAfter&lt;/a&gt;, et &lt;a href='http://docs.jquery.com/Manipulation/replaceAll' class='spip_out' rel='external'&gt;replaceAll&lt;/a&gt; retournent d&#233;sormais le groupe d'&#233;l&#233;ments ins&#233;r&#233;s, au lieu de retourner le groupe d'&#233;l&#233;ments orignaux.&lt;/p&gt; &lt;p&gt;Pour comprendre ce changement, voici un exemple simple.&lt;/p&gt; &lt;p&gt;Soit le code suivant :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt; &lt;div&gt;&lt;/div&gt;&lt;br /&gt; &lt;script&gt;&lt;br /&gt; $(&quot;&lt;p/&gt;&quot;)&lt;br /&gt; .appendTo(&quot;div&quot;)&lt;br /&gt; .addClass(&quot;test&quot;);&lt;br /&gt; &lt;/script&gt;&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Voici le r&#233;sultat avec jQuery 1.3.1 (et pr&#233;c&#233;dents) :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;&lt;div&gt;&lt;p class=&quot;test&quot;&gt;&lt;/p&gt;&lt;/div&gt;&lt;br /&gt; &lt;div&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;C'est le r&#233;sultat obtenu parce que ces m&#233;thodes ne retournent que l'&#233;l&#233;ment qui leur a &#233;t&#233; pass&#233;, au lieu de retourner tous les &#233;l&#233;ments qui ont effectivement &#233;t&#233; ins&#233;r&#233;s (et comme seul un paragraphe a &#233;t&#233; pass&#233; &#8212; le premier a &#234;tre ins&#233;r&#233; &#8212; seul le premier paragraphe re&#231;oit la classe).&lt;/p&gt; &lt;p&gt;Mais, si vous utilisez le m&#234;me code dans jQuery 1.3.2, voil&#224; le r&#233;sultat :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt; &lt;div&gt;&lt;p class=&quot;test&quot;&gt;&lt;/p&gt;&lt;/div&gt;&lt;br /&gt; &lt;div&gt;&lt;p class=&quot;test&quot;&gt;&lt;/p&gt;&lt;/div&gt;&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Ce qui est le r&#233;sultat attendu. Le seul probl&#232;me est que &lt;code class='spip_code' dir='ltr'&gt;appendTo&lt;/code&gt;, &lt;code class='spip_code' dir='ltr'&gt;prependTo&lt;/code&gt;, &lt;code class='spip_code' dir='ltr'&gt;insertBefore&lt;/code&gt;, &lt;code class='spip_code' dir='ltr'&gt;insertAfter&lt;/code&gt;, et &lt;code class='spip_code' dir='ltr'&gt;replaceAll&lt;/code&gt; sont d&#233;sormais pouss&#233;s dans la pile jQuery (ce qui signifie qu'ils sont affect&#233;s par &lt;a href='http://docs.jquery.com/Traversing/end' class='spip_out' rel='external'&gt;&lt;code class='spip_code' dir='ltr'&gt;.end()&lt;/code&gt;&lt;/a&gt;).&lt;/p&gt; &lt;p&gt;Nous avons men&#233; une &#233;tude sur les usages actuels des m&#233;thodes ci-dessus et nous n'avons pas trouv&#233; de cas o&#249; ce changement affecterait un code existant, nous nous sommes donc sentis autoris&#233;s &#224; faire le changement (surtout en consid&#233;rant que c'&#233;tait le comportement attendu).&lt;/p&gt; &lt;h4&gt;Tester&lt;/h4&gt;
&lt;p&gt;Nous avons deux annonces &#224; faire concernant notre jeu de tests et notre m&#233;thodologie de test dans le projet jQuery :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; Nous supportons maintenant, en plus de la s&#233;lection habituelle de navigateurs, &lt;span lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;Internet Explorer&lt;/span&gt; 8&lt;abbr title=&quot;Release Candidate&quot; lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;rc&lt;/abbr&gt;1 et Chrome 2 (version de d&#233;veloppement &#8212; &lt;span lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;Nightly&lt;/span&gt;), et le jeu de tests passe dans ces deux navigateurs sans erreur ;&lt;/li&gt;&lt;li&gt; Le jeu de tests &#224; d&#233;pass&#233; les 1 500 tests (1 504 pour &#234;tre pr&#233;cis).&lt;/li&gt;&lt;/ul&gt;
&lt;dl class='spip_document_89 spip_documents spip_documents_center'&gt;
&lt;dt&gt;&lt;img src='http://www.jquery.info/local/cache-vignettes/L500xH313/3293905444_e2508-09ab6.jpg' width='500' height='313' alt='JPEG - 90 ko' style='height:313px;width:500px;' /&gt;&lt;/dt&gt;
&lt;dt class='crayon document-titre-89 spip_doc_titre' style='width:350px;'&gt;&lt;strong&gt;r&#233;sultat du jeu de test sur jQuery 1.3.2&lt;/strong&gt;&lt;/dt&gt;
&lt;/dl&gt;
&lt;p&gt;Cela signifie que nous testons avec succ&#232;s 11 navigateurs : Chrome 1, la version de d&#233;veloppement de Chrome, IE 6, IE 7, IE 8&lt;abbr&gt;rc&lt;/abbr&gt;1, Opera 9.6, Safari 3.2, la version de d&#233;veloppement de Webkit, Firefox 2, Firefox 3, la version de d&#233;veloppement de Firefox.&lt;/p&gt; &lt;p&gt;(Nous attendons la prochaine beta d'Opera 10 avant de commencer &#224; la supporter enti&#232;rement, il y a quelques probl&#232;mes critiques avec la beta actuelle)&lt;/p&gt; &lt;h4&gt;Performances&lt;/h4&gt;
&lt;p&gt;Pour mesurer les performances de diff&#233;rentes parties de jQuery, nous utilisons une copie modif&#233;e de la suite de tests &lt;span lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;SlickSpeed&lt;/span&gt; pour lancer nos tests (adapt&#233;e pour g&#233;rer les tests qui ne rel&#232;vent pas des s&#233;lecteurs). Les r&#233;sultats bruts de ces tests peuvent &#234;tre trouv&#233;s ci-dessous (tous les temps sont en millisecondes).&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href='http://ejohn.org/files/jquery1.3.2/slick/?type=selectors' class='spip_out' rel='external'&gt;Tests sur les s&#233;lecteurs&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Nous utilisons une copie de la page d'accueil de Yahoo! (dont la complexit&#233; est repr&#233;sentative d'une page web) et nous utilisons une s&#233;lection des &lt;a href='http://ejohn.org/blog/selectors-that-people-actually-use/' class='spip_out' rel='external'&gt;s&#233;lecteurs que les gens utilisent vraiment&lt;/a&gt;. Cela nous aide &#224; am&#233;liorer les performances &#224; la fois pour les applications existantes et les applications futures.&lt;/p&gt; &lt;table class=&quot;spip&quot;&gt;
&lt;thead&gt;&lt;tr class='row_first'&gt;&lt;th scope='col'&gt;Frameworks&lt;/th&gt;&lt;th scope='col'&gt;jQuery 1.2.6&lt;/th&gt;&lt;th scope='col'&gt;jQuery 1.3&lt;/th&gt;&lt;th scope='col'&gt;jQuery 1.3.2&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr class='row_even'&gt;
&lt;td&gt;IE 6&lt;/td&gt;
&lt;td style='text-align: right'&gt;1059&lt;/td&gt;
&lt;td style='text-align: right'&gt;799&lt;/td&gt;
&lt;td style='text-align: right'&gt;626&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href='http://ejohn.org/files/jquery1.3.2/slick/?type=hidden' class='spip_out' rel='external'&gt;Tests sur &lt;code class='spip_code' dir='ltr'&gt;:hidden/:visible&lt;/code&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Nous avons test&#233; &#224; la fois les s&#233;lecteur &lt;code class='spip_code' dir='ltr'&gt;:hidden&lt;/code&gt; et &lt;code class='spip_code' dir='ltr'&gt;:visible&lt;/code&gt; sur un un grand nombre d'&#233;l&#233;ments de notre page de tests.&lt;/p&gt; &lt;table class=&quot;spip&quot;&gt;
&lt;thead&gt;&lt;tr class='row_first'&gt;&lt;th scope='col'&gt;Frameworks&lt;/th&gt;&lt;th scope='col'&gt;jQuery 1.3&lt;/th&gt;&lt;th scope='col'&gt;jQuery 1.3.2&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr class='row_even'&gt;
&lt;td&gt;Firefox 3&lt;/td&gt;
&lt;td style='text-align: right'&gt;1512&lt;/td&gt;
&lt;td style='text-align: right'&gt;190&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_odd'&gt;
&lt;td&gt;Firefox 3.1&lt;/td&gt;
&lt;td style='text-align: right'&gt;1202&lt;/td&gt;
&lt;td style='text-align: right'&gt;161&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_even'&gt;
&lt;td&gt;Safari 3.2&lt;/td&gt;
&lt;td style='text-align: right'&gt;592&lt;/td&gt;
&lt;td style='text-align: right'&gt;80&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_odd'&gt;
&lt;td&gt;Safari &lt;span lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;Nightly&lt;/span&gt;&lt;/td&gt;
&lt;td style='text-align: right'&gt;334&lt;/td&gt;
&lt;td style='text-align: right'&gt;43&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_even'&gt;
&lt;td&gt;Opera 9.6&lt;/td&gt;
&lt;td style='text-align: right'&gt;1307&lt;/td&gt;
&lt;td style='text-align: right'&gt;497&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_odd'&gt;
&lt;td&gt;IE 6&lt;/td&gt;
&lt;td style='text-align: right'&gt;1948&lt;/td&gt;
&lt;td style='text-align: right'&gt;738&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_even'&gt;
&lt;td&gt;IE 7&lt;/td&gt;
&lt;td style='text-align: right'&gt;1295&lt;/td&gt;
&lt;td style='text-align: right'&gt;830&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_odd'&gt;
&lt;td&gt;Chrome&lt;/td&gt;
&lt;td style='text-align: right'&gt;490&lt;/td&gt;
&lt;td style='text-align: right'&gt;30&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;[Tests sur&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;width/height-&gt;http://ejohn.org/files/jquery1.3.2/slick/?type=widthheight]}}&lt;br /&gt; &lt;br /&gt; Nous avons test&#233; &#224; la fois les m&#233;thodes &lt;code&gt;width&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;, &lt;code class='spip_code' dir='ltr'&gt;height&lt;/code&gt;, &lt;code class='spip_code' dir='ltr'&gt;innerWidth&lt;/code&gt;, &lt;code class='spip_code' dir='ltr'&gt;innerHeight&lt;/code&gt;, &lt;code class='spip_code' dir='ltr'&gt;outerWidth&lt;/code&gt; et &lt;code class='spip_code' dir='ltr'&gt;outerHeight&lt;/code&gt;.&lt;/p&gt; &lt;table class=&quot;spip&quot;&gt;
&lt;thead&gt;&lt;tr class='row_first'&gt;&lt;th scope='col'&gt;Frameworks&lt;/th&gt;&lt;th scope='col'&gt;jQuery 1.3&lt;/th&gt;&lt;th scope='col'&gt;jQuery 1.3.2&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr class='row_even'&gt;
&lt;td&gt;Firefox 3&lt;/td&gt;
&lt;td style='text-align: right'&gt;310&lt;/td&gt;
&lt;td style='text-align: right'&gt;106&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_odd'&gt;
&lt;td&gt;Firefox 3.1&lt;/td&gt;
&lt;td style='text-align: right'&gt;281&lt;/td&gt;
&lt;td style='text-align: right'&gt;84&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_even'&gt;
&lt;td&gt;Safari 3.2&lt;/td&gt;
&lt;td style='text-align: right'&gt;146&lt;/td&gt;
&lt;td style='text-align: right'&gt;37&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_odd'&gt;
&lt;td&gt;Safari Nightly&lt;/td&gt;
&lt;td style='text-align: right'&gt;166&lt;/td&gt;
&lt;td style='text-align: right'&gt;32&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_even'&gt;
&lt;td&gt;Opera 9.6&lt;/td&gt;
&lt;td style='text-align: right'&gt;345&lt;/td&gt;
&lt;td style='text-align: right'&gt;116&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_odd'&gt;
&lt;td&gt;IE 6&lt;/td&gt;
&lt;td style='text-align: right'&gt;313&lt;/td&gt;
&lt;td style='text-align: right'&gt;124&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_even'&gt;
&lt;td&gt;IE 7&lt;/td&gt;
&lt;td style='text-align: right'&gt;283&lt;/td&gt;
&lt;td style='text-align: right'&gt;123&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_odd'&gt;
&lt;td&gt;Chrome&lt;/td&gt;
&lt;td style='text-align: right'&gt;113&lt;/td&gt;
&lt;td style='text-align: right'&gt;27&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Starter, un outil pour bien commencer un plugin jQuery</title>
		<link>http://www.jquery.info/spip.php?article93</link>
		<guid isPermaLink="true">http://www.jquery.info/spip.php?article93</guid>
		<dc:date>2009-08-13T11:36:50Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>Olivier G.</dc:creator>



		<description>Alors que nous venons de publier un nouveau tutoriel de cr&#233;ation de plugins pour jQuery, il existe un petit outil pour vous simplifier la toute premi&#232;re &#233;tape de la cr&#233;ation du plugin : Starter. Starter vous fourni les premi&#232;res lignes de code du plugin, celles qui sont communes &#224; tous les plugins jQuery : l'ajout de la nouvelle m&#233;thode &#224; jQuery ($.fn.mon_plugin), la surcharge des options par d&#233;faut (base.options = $.extend(,$.mon_plugin.defaultOptions, options);), l'encapsulation dans une fonction (...)

-
&lt;a href="http://www.jquery.info/spip.php?rubrique3" rel="directory"&gt;Actualit&#233;s&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;Alors que nous venons de publier un &lt;a href='http://www.jquery.info/spip.php?article92' class='spip_in'&gt;nouveau tutoriel de cr&#233;ation de &lt;span lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;plugins&lt;/span&gt; pour jQuery&lt;/a&gt;, il existe un petit outil pour vous simplifier la toute premi&#232;re &#233;tape de la cr&#233;ation du &lt;span lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;plugin&lt;/span&gt; : &lt;a href='http://starter.pixelgraphics.us/' class='spip_out' hreflang='en' rel='external'&gt;Starter&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Starter vous fourni les premi&#232;res lignes de code du plugin, celles qui sont communes &#224; tous les plugins jQuery : l'ajout de la nouvelle m&#233;thode &#224; jQuery (&lt;code class='spip_code' dir='ltr'&gt;$.fn.mon_plugin&lt;/code&gt;), la surcharge des options par d&#233;faut (&lt;code class='spip_code' dir='ltr'&gt;base.options = $.extend({},$.mon_plugin.defaultOptions, options);&lt;/code&gt;), l'encapsulation dans une fonction anonyme (&lt;code class='spip_code' dir='ltr'&gt;(function($){})(jQuery);&lt;/code&gt;), &#8230;&lt;/p&gt; &lt;p&gt;Mais il propose aussi quelques options avanc&#233;es, comme l'utilisation d'un espace de nommage (&lt;span lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;namespace&lt;/span&gt;) ou la cr&#233;ation d'un &lt;code lang=&quot;en&quot; xml:lang=&quot;en&quot; class='spip_code' dir='ltr'&gt;getter&lt;/code&gt; pour r&#233;cup&#233;rer la variable contenue dans la fonction, ainsi que le pr&#233;remplissage des options par d&#233;faut et des param&#232;tres de la fonction.&lt;/p&gt; &lt;p&gt;Bref, un outil pratique et assez puissant.&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>JQuery 1.3.1 publi&#233;</title>
		<link>http://www.jquery.info/spip.php?article90</link>
		<guid isPermaLink="true">http://www.jquery.info/spip.php?article90</guid>
		<dc:date>2009-02-19T12:15:33Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>John Resig, Olivier G.</dc:creator>



		<description>Traduction de l'article de John Resig publi&#233; dans le blog jQuery publi&#233; le 21 janvier 2009. Il s'agit d'une version corrective pour jQuery 1.3. Vous pouvez voir la liste compl&#232;te de ce qui a &#233;t&#233; corrig&#233; sur le traqueur de bugs. Il n'y a pas d'autre changements significatifs dans la 1.3.1 par rapport &#224; la 1.3 que des corrections de bugs. Si vous utilisez encore jQuery 1.2.6 et que vous voulez mettre &#224; jour, utilisez directement cette version. t&#233;l&#233;chargement jQuery minifi&#233;e (18 kb gzipp&#233;e) jQuery (...)

-
&lt;a href="http://www.jquery.info/spip.php?rubrique3" rel="directory"&gt;Actualit&#233;s&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;Traduction de l'&lt;a href='http://blog.jquery.com/2009/01/21/jquery-131-released/' class='spip_out' hreflang='en' rel='external'&gt;article de &lt;span lang=&quot;en&quot;&gt;John Resig&lt;/span&gt; publi&#233; dans le blog &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt;&lt;/a&gt; publi&#233; le 21 janvier 2009.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;Il s'agit d'une version corrective pour &lt;a href='http://docs.jquery.com/Release:jQuery%201.3' class='spip_out' hreflang='en' rel='external'&gt;&lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; 1.3&lt;/a&gt;. Vous pouvez voir la liste compl&#232;te de ce qui a &#233;t&#233; corrig&#233; &lt;a href='http://dev.jquery.com/report/30' class='spip_out' hreflang='en' rel='external'&gt;sur le traqueur de bugs&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Il n'y a pas d'autre changements significatifs dans la 1.3.1 par rapport &#224; la 1.3 que des corrections de bugs. Si vous utilisez encore &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; 1.2.6 et que vous voulez mettre &#224; jour, utilisez directement cette version.&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;t&#233;l&#233;chargement&lt;/h3&gt;
&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; &lt;a href='http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.1.min.js' class='spip_out' hreflang='en' rel='external'&gt;&lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; minifi&#233;e&lt;/a&gt; (18 &lt;abbr&gt;kb&lt;/abbr&gt; &lt;a href='http://www.julienlecomte.net/blog/2007/08/13/' class='spip_out' hreflang='en' rel='external'&gt;gzipp&#233;e&lt;/a&gt;)&lt;/li&gt;&lt;li&gt; &lt;a href='http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.1.js' class='spip_out' hreflang='en' rel='external'&gt;&lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; normale&lt;/a&gt; (114 &lt;abbr&gt;kb&lt;/abbr&gt;)&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Une copie de &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; 1.3.1 est aussi disponible sur le &lt;a href='http://code.google.com/apis/ajaxlibs/documentation/index.html#jquery' class='spip_out' hreflang='en' rel='external'&gt;&lt;abbr title=&quot;Content Delevery network&quot; lang=&quot;en&quot;&gt;CDN&lt;/abbr&gt; de google&lt;/a&gt; (sentez-vous libres de copier l'URL directement dans votre site).&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; &lt;a href='http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js' class='spip_out' hreflang='fr' rel='external'&gt;&lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; minif&#233;e&lt;/a&gt;&lt;/li&gt;&lt;li&gt; &lt;a href='http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.js' class='spip_out' hreflang='fr' rel='external'&gt;&lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; normale&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Si vous souhaitez r&#233;cup&#233;rer la version compl&#232;te depuis &lt;a href='http://dev.jquery.com/browser' class='spip_out' hreflang='en' rel='external'&gt;le d&#233;p&#244;t Subversion&lt;/a&gt;, vous pouvez le faire en &lt;a href='http://blog.jquery.com/2009/01/21/jquery-131-released/Downloading_jQuery#Subversion_.28SVN.29' class='spip_out' hreflang='en' rel='external'&gt;suivant les instructions&lt;/a&gt; et en r&#233;cup&#233;rant les sources depuis l'endroit suivant :&lt;/p&gt; &lt;p&gt;&lt;kbd&gt;svn co &lt;a href='http://jqueryjs.googlecode.com/svn/tags/1.3.1' class='spip_out' rel='nofollow external'&gt;http://jqueryjs.googlecode.com/svn/...&lt;/a&gt;&lt;/kbd&gt;&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Quelques remarques rapides&lt;/h3&gt;
&lt;p&gt;Certains d'entre vous ont remarqu&#233; dans les notes de version de la 1.3 que nous n'avons pas test&#233; pour &lt;span lang=&quot;en&quot;&gt;Firefox&lt;/span&gt; 2, m&#234;me s'il est toujours support&#233;. C'&#233;tait une erreur de notre part : nous supportons toujours &lt;span lang=&quot;en&quot;&gt;Firefox&lt;/span&gt; 2, et nous le testons avant les publications. Vous pouvez voir le r&#233;sultat de l'ensemble du jeu de tests ci-dessous.&lt;/p&gt; &lt;dl class='spip_document_84 spip_documents spip_documents_center'&gt;
&lt;dt&gt;&lt;a href=&quot;http://www.flickr.com/photos/jeresig/3216876984/&quot; class=&quot;spip_out&quot; title='PNG - 82.6 ko'&gt;&lt;img src='http://www.jquery.info/local/cache-vignettes/L90xH150/3216876984_56725-498bb-b0c88.png' width='90' height='150' alt='PNG - 82.6 ko' style='height:150px;width:90px;' /&gt;&lt;/a&gt;&lt;/dt&gt;
&lt;/dl&gt;
&lt;h3 class=&quot;spip&quot;&gt;&lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; 1.3.1&lt;/h3&gt;
&lt;p&gt;Il a aussi &#233;t&#233; remarqu&#233; que Safari 2 n'&#233;tait pas montr&#233; dans la liste des navigateurs test&#233;s avant la publication de la 1.3. C'est exact &#8212; nous sommes en train de pr&#233;voir le retrait du support de Safari 2 dans &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt;. Consid&#233;rant que &lt;a href='http://marketshare.hitslink.com/browser-market-share.aspx?qprid=2' class='spip_out' hreflang='en' rel='external'&gt;Safari 2 a tr&#232;s peu de parts de march&#233;&lt;/a&gt; et qu'il a &#233;t&#233; remplac&#233; par trois versions diff&#233;rentes de Safari (3.0, 3.1 et 3.2), nous ne ressentons plus le besoin de faire de tests significatifs de cette version.&lt;/p&gt; &lt;p&gt;Enfin, quelques utilisateurs ont remarqu&#233; que nous ne fournissons plus de version &lt;q&gt;compact&#233;e&lt;/q&gt; de &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; (une version de &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; pass&#233;e dans &lt;a href='http://dean.edwards.name/packer/' class='spip_out' hreflang='en' rel='external'&gt;le compacteur de &lt;span lang=&quot;en&quot;&gt;Dean Edwards&lt;/span&gt;&lt;/a&gt; avec l'encodage en base 62 activ&#233;). Nous l'avons fait pour les raisons suivantes :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; les scripts compact&#233;s sont significativement plus difficiles &#224; d&#233;boguer (m&#234;me plus difficiles que les scripts minifi&#233;s) ;&lt;/li&gt;&lt;li&gt; les scripts compact&#233;s ne sont pas capable de fonctionner sur toutes les plates-formes sans probl&#232;mes (comme par exemple avec Adobe AIR et les environnements &lt;span lang=&quot;en&quot;&gt;Caja-capable&lt;/span&gt;) ;&lt;/li&gt;&lt;li&gt; mais plus important : les scripts compact&#233;s sont plus lents pour l'utilisateur que ce que vous obtiendriez en utilisant la seule minification. Cela peut sembler contre-intuitif puisque la taille d'un script compact&#233; est inf&#233;rieure &#224; celle d'un script minifi&#233;, mais le temps de chargement final est beaucoup plus &#233;lev&#233; (&#224; cause de l'&#233;tape de compactage par laquelle il doit n&#233;cessairement passer). Nous avons &lt;a href='http://ejohn.org/blog/library-loading-speed/' class='spip_out' hreflang='en' rel='external'&gt;des donn&#233;es&lt;/a&gt; quand aux performances de chargement des scripts minifi&#233;s par rapport aux scripts compact&#233;s, pour ceux que &#231;a int&#233;resse.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;La copie minifi&#233;e de &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; que nous fournissons, &#224; travers le &lt;a href='http://developer.yahoo.com/yui/compressor/' class='spip_out' hreflang='en' rel='external'&gt;compresseur &lt;abbr title=&quot;Yahoo! User Interface&quot; lang=&quot;en&quot;&gt;YUI&lt;/span&gt;&lt;/a&gt;, devrait &#234;tre la forme optimale de &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; &#224; utiliser dans un environnement de production (servie en utilisant la compression gzip, si possible).&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>jQuery 1.3 et la fondation jQuery</title>
		<link>http://www.jquery.info/spip.php?article88</link>
		<guid isPermaLink="true">http://www.jquery.info/spip.php?article88</guid>
		<dc:date>2009-01-19T13:37:08Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>John Resig, Olivier G.</dc:creator>



		<description>Traduction de l'annonce de la publication de jQuery 1.3 et de la cr&#233;ation de la fondation jQuery par John Resig. Joyeux anniversaire &#224; jQuery ! jQuery est ag&#233; de trois ans aujourd'hui [NdT : ce message a &#233;t&#233; &#233;crit le 14 janvier], il a &#233;t&#233; publi&#233; pour la premi&#232;re fois le 14 janvier 2006 lors du premier bar camp NYC par John Resig. Nous avons 4 annonces aujourd'hui. Nous esp&#233;rons que vous les appr&#233;cierez. jQuery Premi&#232;rement, vous pouvez vous r&#233;jouir d'une superbe nouvelle version de jQuery. Les grandes (...)

-
&lt;a href="http://www.jquery.info/spip.php?rubrique3" rel="directory"&gt;Actualit&#233;s&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;Traduction de l'&lt;a href='http://blog.jquery.com/2009/01/14/jquery-13-and-the-jquery-foundation/' class='spip_out' hreflang='en' rel='external'&gt;annonce de la publication de &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; 1.3 et de la cr&#233;ation de la fondation jQuery&lt;/a&gt; par &lt;span lan=&quot;en&quot;&gt;John Resig&lt;/span&gt;.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;Joyeux anniversaire &#224; &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; ! &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; est ag&#233; de trois ans aujourd'hui [&lt;abbr title=&quot;note du traducteur&quot;&gt;NdT&lt;/abbr&gt; : ce message a &#233;t&#233; &#233;crit le 14 janvier], il a &#233;t&#233; publi&#233; pour la premi&#232;re fois le 14 janvier 2006 lors du premier &lt;span lang=&quot;en&quot;&gt;bar camp &lt;abbr&gt;NYC&lt;/abbr&gt;&lt;/span&gt; par &lt;span lan=&quot;en&quot;&gt;John Resig&lt;/span&gt;.&lt;/p&gt; &lt;p&gt;Nous avons 4 annonces aujourd'hui. Nous esp&#233;rons que vous les appr&#233;cierez.&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;&lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;Premi&#232;rement, vous pouvez vous r&#233;jouir d'une superbe nouvelle version de &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt;. Les grandes fonctionnalit&#233;s de cette version sont :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; sizzle : un moteur de s&#233;lection bas&#233; sur les &lt;abbr&gt;CSS&lt;/abbr&gt;, tout chaud sorti du four ;&lt;/li&gt;&lt;li&gt; &lt;span lang=&quot;en&quot;&gt;live event&lt;/span&gt; (&#233;v&#232;nements en direct) : de la d&#233;l&#233;gation d'&#233;v&#232;nements (&lt;span lang=&quot;en&quot;&gt;event delegation&lt;/span&gt;) avec un zeste de &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; ;&lt;/li&gt;&lt;li&gt; r&#233;vision des &#233;v&#232;nements &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; : la gestion des &#233;v&#232;nements a &#233;t&#233; compl&#232;tement r&#233;vis&#233;e pour la simplifier ;&lt;/li&gt;&lt;li&gt; r&#233;&#233;criture de l'injection &lt;abbr&gt;HTML&lt;/abbr&gt; : le &lt;abbr&gt;HTML&lt;/abbr&gt; est ajout&#233; &#224; la vitesse de l'&#233;clair ;&lt;/li&gt;&lt;li&gt; r&#233;&#233;criture de &lt;code class='spip_code' dir='ltr'&gt;offset&lt;/code&gt; : calcul de la position super-rapide ;&lt;/li&gt;&lt;li&gt; abandon de la d&#233;tection de navigateur (&lt;span lang=&quot;en&quot;&gt;browser sniffing&lt;/span&gt;) : nous utilisons la d&#233;tection de fonctionnalit&#233;s pour aider jQuery &#224; durer encore de nombreuses ann&#233;es.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Tous les d&#233;tails de cette version peuvent &#234;tre trouv&#233;s dans les &lt;a href='http://docs.jquery.com/Release:jQuery_1.3' class='spip_out' hreflang='en' rel='external'&gt;notes de version&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Nous pr&#233;voyons une version de suivi &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; 1.3.1 dans une semaine ou deux pour &#233;liminer les bugs diss&#233;min&#233;s dans le code qui pourraient &#234;tre pass&#233;s &#224; travers les mailles du filet. Si vous rep&#233;rez un bug, merci de les signaler dans le &lt;a href='http://dev.jquery.com/' class='spip_out' hreflang='en' rel='external'&gt;traqueur de bugs&lt;/a&gt;.&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;&lt;span lang=&quot;en&quot;&gt;Sizzle&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; a un tout nouveau moteur de s&#233;lection bas&#233; sur les &lt;abbr&gt;CSS&lt;/abbr&gt;, surnomm&#233; &lt;a href='http://sizzlejs.com/' class='spip_out' hreflang='en' rel='external'&gt;&lt;q lang=&quot;en&quot;&gt;Sizzle&lt;/q&gt;&lt;/a&gt;. Vous pouvez lire tous les d&#233;tails &#224; son sujet dans les &lt;a href='http://docs.jquery.com/Release:jQuery_1.3' class='spip_out' hreflang='en' rel='external'&gt;notes de version de &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; 1.3&lt;/a&gt; (qui comprennent les mesures de performance).&lt;/p&gt; &lt;p&gt;Plus important pourtant, nous faisons un grand saut en avant avec &lt;span lang=&quot;en&quot;&gt;Sizzle&lt;/span&gt; : nous le publions comme un projet compl&#232;tement ind&#233;pendant destin&#233; &#224; &#234;tre d&#233;velopp&#233; en collaboration par beaucoup de cr&#233;ateurs et de d&#233;veloppeurs de biblioth&#232;ques. Nous avons vu l&#224; une opportunit&#233; de rendre quelque chose en retour pas seulement &#224; la communaut&#233; &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; mais &#224; toute la communaut&#233; de d&#233;veloppement &lt;span lang=&quot;en&quot;&gt;Javascript&lt;/span&gt; ; et dans le m&#234;me temps d'&#234;tre capable de collaborer avec les d&#233;veloppeurs d'autres biblioth&#232;ques sur un unique moteur de s&#233;lection unifi&#233;. Nous pensons qu'il y a trop de comp&#233;tition et pas assez de coop&#233;ration, et nous voyons donc notre code comme un premier pas vers un travail en collaboration.&lt;/p&gt; &lt;p&gt;En signe de bonne foi et de bonne volont&#233; de coop&#233;rer, nous avons confi&#233; le projet &lt;span lang=&quot;en&quot;&gt;Sizzle&lt;/span&gt; &#224; la &lt;a href='http://dojofoundation.org/' class='spip_out' hreflang='en' rel='external'&gt;fondation Dojo&lt;/a&gt; (une tr&#232;s bonne organisation &#224; but non lucratif taill&#233;e pour ce projet, &#224; ne pas confondre avec le &lt;span lang=&quot;en&quot;&gt;Dojo toolkit&lt;/span&gt;). Nous avons voulu un terrain de rencontre commun o&#249; tous les d&#233;veloppeurs seraient capable de travailler ensemble et pour lequel il y a aurait un d&#233;tenteur des droits d'auteurs clairement identifi&#233; sur le long terme.&lt;/p&gt; &lt;p&gt;Notre proposition de collaboration a d&#233;j&#224; re&#231;u d'incroyable r&#233;actions : les d&#233;veloppeurs de Prototype, Dojo, &lt;span lang=&quot;en&quot;&gt;Yahoo &lt;abbr&gt;UI&lt;/abbr&gt;&lt;/span&gt; et &lt;span lang=&quot;en&quot;&gt;Tiny&lt;/span&gt;&lt;abbr&gt;MCE&lt;/abbr&gt; (et de beaucoup d'autres projets) ont tous montr&#233; de l'int&#233;r&#234;t &#224; am&#233;liorer &lt;span lang=&quot;en&quot;&gt;Sizzle&lt;/span&gt; jusqu'&#224; la perfection.&lt;/p&gt; &lt;p&gt;Une page d'accueil sommaire du projet &lt;span lang=&quot;en&quot;&gt;Sizzle&lt;/span&gt; peut-&#234;tre trouv&#233;e sur &lt;a href='http://sizzlejs.com/' class='spip_out' hreflang='en' rel='external'&gt;http://sizzlejs.com/&lt;/a&gt;, ainsi que &lt;a href='http://github.com/jeresig/sizzle/tree/master' class='spip_out' hreflang='en' rel='external'&gt;le code source&lt;/a&gt;&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Un nouvel explorateur pour l'&lt;abbr&gt;API&lt;/abbr&gt;&lt;/h3&gt;
&lt;p&gt;Avec la version de &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; 1.3, je suis heureux de pr&#233;senter le nouvel explorateur de l'&lt;abbr&gt;API&lt;/abbr&gt;, d&#233;velopp&#233; par &lt;a href='http://remysharp.com/' class='spip_out' hreflang='en' rel='external'&gt;Remy Sharp&lt;/a&gt;, et disponible sur &lt;a href='http://api.jquery.com/' class='spip_out' hreflang='en' rel='external'&gt;http://api.jquery.com/&lt;/a&gt;.&lt;/p&gt; &lt;dl class='spip_document_83 spip_documents spip_documents_center'&gt;
&lt;dt&gt;&lt;a href=&quot;http://www.flickr.com/photos/jeresig/3196865884/&quot; class=&quot;spip_out&quot; title='JPEG - 66.4 ko'&gt;&lt;img src='http://www.jquery.info/local/cache-vignettes/L500xH362/3196865884_2e24b-749de.jpg' width='500' height='362' alt='JPEG - 66.4 ko' style='height:362px;width:500px;' /&gt;&lt;/a&gt;&lt;/dt&gt;
&lt;/dl&gt;
&lt;p&gt;C'est une alternative &#224; l'&lt;a href='http://docs.jquery.com/' class='spip_out' hreflang='en' rel='external'&gt;&lt;abbr&gt;API&lt;/abbr&gt; &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt;&lt;/a&gt; existante qui devrait &#234;tre facile &#224; parcourir et utiliser.&lt;/p&gt; &lt;p&gt;Le nouvel explorateur de l'&lt;abbr&gt;API&lt;/abbr&gt; inclus les fonctionnalit&#233;s suivantes :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; toutes les derni&#232;res documentation sur &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; et &lt;span lang=&quot;en&quot;&gt;jQuery &lt;abbr&gt;UI&lt;/abbr&gt;&lt;/span&gt; ;&lt;/li&gt;&lt;li&gt; la possibilit&#233; de marquer des pages comme pr&#233;f&#233;r&#233;es pour celles sur lesquelles vous revenez souvent ;&lt;/li&gt;&lt;li&gt; mise en valeur syntaxique dans les exemples de code ;&lt;/li&gt;&lt;li&gt; des exemples qui se lancent en direct dans le navigateur ;&lt;/li&gt;&lt;li&gt; des liens pour &#233;diter les exemples de code et exp&#233;rimenter.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Plus important cependant, le navigateur d'&lt;abbr&gt;API&lt;/abbr&gt; est aussi disponible hors-ligne en tant qu'application Adobe AIR (merci au &lt;span lang=&quot;en&quot;&gt;framework&lt;/span&gt; AIR de &lt;a href='http://digitalspaghetti.me.uk/' class='spip_out' hreflang='en' rel='external'&gt;Tane Piper&lt;/a&gt;). L'interface et le fonctionnement sont les m&#234;mes, et il est inclus un syst&#232;me de mise &#224; jour automatique, ce qui fait que vous serez toujours &#224; jour.&lt;/p&gt; &lt;p&gt;&lt;a href='http://api.jquery.com/' class='spip_out' hreflang='en' rel='external'&gt;T&#233;l&#233;charger et installer l'explorateur d'&lt;abbr&gt;API&lt;/abbr&gt; AIR&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Si vous d&#233;couvrez des probl&#232;mes, merci de soumettre un bug dans le &lt;a href='http://dev.jquery.com/' class='spip_out' hreflang='en' rel='external'&gt;traqueur de bugs&lt;/a&gt; dans le composant &lt;q&gt;site&lt;/q&gt;.&lt;/p&gt; &lt;p&gt;Ce qui nous m&#234;me au dernier, mais certainement pas le moins important, point&#8230;&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Fondation &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;Alors que le projet &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; croissait &#224; une vitesse &#233;poustouflante, il &#233;tait important pour nous, en tant qu'&#233;quipe, de prendre du recul et de d&#233;terminer comment la propri&#233;t&#233; du projet devait &#234;tre g&#233;r&#233;e. Actuellement, &lt;span lang=&quot;en&quot;&gt;John Resig&lt;/span&gt;, fondateur de &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; et principal d&#233;veloppeur, et &lt;span lang=&quot;de&quot;&gt;Paul Bakaus&lt;/span&gt;, d&#233;veloppeur principal de &lt;span lang=&quot;en&quot;&gt;jQuery &lt;abbr&gt;UI&lt;/abbr&gt;&lt;/span&gt;, ont tous deux les droits d'auteurs sur leurs projets respectifs. Cela pose plusieurs inqui&#233;tudes tant d'un point de vue pratique que juridique puisque cela fait que deux individus sont les propri&#233;taires des projets plut&#244;t qu'une organisation formelle. Et alors que de plus en plus de personnes et d'entreprises commencent &#224; contribuer au projet, ces inqui&#233;tudes sont devenues de plus en plus pr&#233;gnantes, cr&#233;ant de la confusion quand &#224; qui &#233;tait l'ayant droit r&#233;el de pans de travail sp&#233;cifiques.&lt;/p&gt; &lt;p&gt;Apr&#232;s nous &#234;tre rencontr&#233;s lors de la r&#233;cente conf&#233;rence &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt;, nous avons d&#233;cid&#233; de faire un effort concert&#233; pour r&#233;gler ce probl&#232;me et d&#233;terminer comment nous pourrions transf&#233;rer la propri&#233;t&#233; des projets &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; &#224; une organisation de type fondation qui :&lt;/p&gt; &lt;ol class=&quot;spip&quot;&gt;&lt;li&gt; comprendrait la nature du d&#233;veloppement de logiciel libre ;&lt;/li&gt;&lt;li&gt; nous permettrait de continuer de diriger les projets sans entraves ;&lt;/li&gt;&lt;li&gt; nous assurerait que les projets continuent de vivre quelque soit les personnes impliqu&#233;es.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Apr&#232;s avoir examin&#233; beaucoup d'options nous sommes arriv&#233;s &#224; une derni&#232;re conclusion, et nous sommes heureux d'annoncer que la &lt;a href=&quot;http://conservancy.softwarefreedom.org/&quot; hreflang=&quot;en&quot; lang=&quot;en&quot;&gt;Software Freedom Conservancy&lt;/a&gt; a invit&#233; les projets &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; &#224; la rejoindre et &#224; continuer son d&#233;veloppement sous ses auspices. En rejoignant la &lt;span lang=&quot;en&quot;&gt;Software Freedom Conservancy&lt;/span&gt;
les projets et la communaut&#233; &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; ont imm&#233;diatement eu certains avantages importants :&lt;/p&gt; &lt;ol class=&quot;spip&quot;&gt;&lt;li&gt; cela permet aux membres actuels des projets de continuer de diriger les projets et de conserver la ma&#238;trise des axes de d&#233;veloppements actuels et futurs ;&lt;/li&gt;&lt;li&gt; cela permet aux projets d'&#234;tre consid&#233;r&#233;s comme de vraies activit&#233;s &#224; buts non lucratifs, ce qui nous rends capables d'accepter les dons et les contributions sans impliquer &#224; titre personnel d'&#233;normes responsabilit&#233;s financi&#232;res.&lt;/li&gt;&lt;li&gt; la propri&#233;t&#233; du code sera donn&#233;e &#224; la &lt;span lang=&quot;en&quot;&gt;Software Freedom Conservancy&lt;/span&gt;, ce qui nous assure qu'aucun individu ne poss&#232;de de contribution ou n'a de droits sur les projets ;&lt;/li&gt;&lt;li&gt; cela pourrait permettre &#224; des entreprises d'amortir le temps que passe un employ&#233; sur le projet ;&lt;/li&gt;&lt;li&gt; plus important, cela assure que le projet &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; sera toujours un logiciel libre et ouvert.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;C'est une grande &#233;tape dans la formalisation des projets &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; et une r&#233;ussite importante quant &#224; s'assurer que les investissements faits par la communaut&#233; &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; sont prot&#233;g&#233;s. Nous effectuerons le transfert vers la &lt;span lang=&quot;en&quot;&gt;Software Freedom Conservancy&lt;/span&gt; dans les semaines qui viennent. Il y aura tr&#232;s peu, voire pas du tout de changements dans la mani&#232;re dont le projet est men&#233;. L'&#233;quipe &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; m&#232;nera et g&#233;rera toujours le projet et nous continuerons de travailler dur pour construire la meilleurs biblioth&#232;que &lt;span lang=&quot;en&quot;&gt;Javascript&lt;/span&gt; possible. &#201;ventuellement, cela va m&#234;me nous aider &#224; lib&#233;rer un peu de notre temps, que nous pourrons passer &#224; coder &#8212; et qui n'aime pas entendre &#231;a ?&lt;/p&gt; &lt;p&gt;Joyeux troisi&#232;me anniversaire &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; !&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Aidez &#224; tester jQuery 1.3 beta 2</title>
		<link>http://www.jquery.info/spip.php?article87</link>
		<guid isPermaLink="true">http://www.jquery.info/spip.php?article87</guid>
		<dc:date>2009-01-14T09:51:57Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>John Resig, Olivier G.</dc:creator>



		<description>Traduction de l'article de John Resig publi&#233; sur le site de jQuery. Cet article est &#224; ce jour largement obsol&#232;te car nous en sommes &#224; la release candidate 2, donc beaucoup plus proches de la version d&#233;finitive, mais d'une part vous pouvez encore d&#233;couvrir des bugs (et donc vous couvrir de gloire), d'autre part et surtout, il y a des informations importantes quand &#224; la migration vers cette nouvelle version. Nous sommes toujours plus proches de la version d&#233;finitive de jQuery 1.3 ! Dans la continuit&#233; (...)

-
&lt;a href="http://www.jquery.info/spip.php?rubrique3" rel="directory"&gt;Actualit&#233;s&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;Traduction de l'&lt;a href='http://blog.jquery.com/2009/01/05/help-test-jquery-13-beta-2/' class='spip_out' hreflang='en' rel='external'&gt;article de John Resig&lt;/a&gt; publi&#233; sur le site de jQuery. Cet article est &#224; ce jour largement obsol&#232;te car nous en sommes &#224; la &lt;span lang=&quot;en&quot;&gt;release candidate&lt;/span&gt; 2, donc beaucoup plus proches de la version d&#233;finitive, mais d'une part vous pouvez encore d&#233;couvrir des bugs (et donc vous couvrir de gloire), d'autre part et surtout, il y a des informations importantes quand &#224; la migration vers cette nouvelle version.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;Nous sommes toujours plus proches de la version d&#233;finitive de &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; 1.3 ! Dans la continuit&#233; de la r&#233;cente 1.3 &lt;span lang=&quot;la&quot;&gt;beta&lt;/span&gt; 1, nous avons une autre version de test que tout le monde peut essayer. Comme pr&#233;c&#233;demment, elle n'est pas encore pr&#234;tes pour une utilisation en production, mais nous avons un besoin d'aide important dans la traque de tous les bugs que nous pourrions avoir rat&#233;.&lt;/p&gt; &lt;p&gt;S'il vous plais, ne testez plus la 1.3 &lt;span lang=&quot;la&quot;&gt;beta&lt;/span&gt; 1, tous les tests doivent &#234;tre faits sur la &lt;span lang=&quot;la&quot;&gt;beta&lt;/span&gt; 2 La version finale de &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; 1.3 sera publi&#233;e le 14 janvier avec une version candidate finale disponible quelques jours auparavant [&lt;abbr title=&quot;Note du Traducteur&quot;&gt;NdT&lt;/abbr&gt; : Il y en a m&#234;me eu deux &#224; cette heure. La seconde est encore &lt;a href='http://code.jquery.com/jquery-1.3rc2.js' class='spip_out' title=&quot;jQuery 1.3 RC2&quot; rel='external'&gt;disponible en t&#233;l&#233;chargement&lt;/a&gt;].&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;T&#233;l&#233;chargement&lt;/h3&gt;
&lt;p&gt;Une copie de &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; peut &#234;tre trouv&#233;e sur &lt;a href='http://code.jquery.com/jquery-1.3b2.js' class='spip_out' rel='external'&gt;http://code.jquery.com/jquery-1.3b2.js&lt;/a&gt;&lt;/p&gt; &lt;p&gt;S'il vous pla&#238;t n'utilisez pas de version minifi&#233;e ou compress&#233;e de &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; pendant les tests, cela rend la localisation des bugs plus difficile.&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Changements&lt;/h3&gt;
&lt;p&gt;Jusqu'&#224; pr&#233;sent il y a deux changements dans la 1.3 qui ont &#233;t&#233; les plus susceptibles de poser probl&#232;me :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; Les anciens s&#233;lecteurs d'attributs &#224; la mani&#232;re d'&lt;span lang=&quot;en&quot;&gt;XPath&lt;/span&gt; : &lt;code class='spip_code' dir='ltr'&gt;[@attr=value]&lt;/code&gt;. Ils ont &#233;t&#233; d&#233;pr&#233;ci&#233;s il y a quelques temps d&#233;j&#224;, et sont maintenant supprim&#233;s. Pour les corriger, retirez juste le &lt;code class='spip_code' dir='ltr'&gt;@&lt;/code&gt; ;&lt;/li&gt;&lt;li&gt; La propagation (&lt;span lang=&quot;en&quot;&gt;bubbling&lt;/span&gt;) des &#233;v&#233;nements d&#233;clench&#233;s (&lt;code lang=&quot;en&quot; class='spip_code' dir='ltr'&gt;trigger()&lt;/code&gt;). Les &#233;v&#233;nements d&#233;clench&#233;s se propagent maintenant dans le &lt;abbr&gt;DOM&lt;/abbr&gt; (certains &lt;span lang=&quot;en&quot;&gt;plugins&lt;/span&gt; ne pr&#233;voyaient pas &#231;a et doivent s'adapter). Il est assez facile de corriger votre code pour le prot&#233;ger contre la propagation : ajoutez l'expression suivante dans votre gestionnaire li&#233; : &lt;code class='spip_code' dir='ltr'&gt;if ( this === event.target ) { &#8230; }&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;h3 class=&quot;spip&quot;&gt;Tests&lt;/h3&gt;
&lt;p&gt;Le jeu de tests fonctionne plut&#244;t bien. Nous avons actuellement 1.370 tests couvrant tous les aspects de la biblioth&#232;que et qui passent dans tous les navigateurs importants :&lt;/p&gt;
&lt;dl class='spip_document_81 spip_documents spip_documents_center'&gt;
&lt;dt&gt;&lt;a href=&quot;http://www.flickr.com/photos/jeresig/3172304238/&quot; class=&quot;spip_out&quot; title='JPEG - 135.4 ko'&gt;&lt;img src='http://www.jquery.info/local/cache-vignettes/L439xH500/3172304238_b23e1-166af.jpg' width='439' height='500' alt='JPEG - 135.4 ko' style='height:500px;width:439px;' /&gt;&lt;/a&gt;&lt;/dt&gt;
&lt;dt class='crayon document-titre-81 spip_doc_titre' style='width:350px;'&gt;&lt;strong&gt;r&#233;sultat des test unitaires de jQuery 1.3 beta 2&lt;/strong&gt;&lt;/dt&gt;
&lt;/dl&gt;
&lt;h3 class=&quot;spip&quot;&gt;Comment faire des retours&lt;/h3&gt;
&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; Soumettez un bug dans le &lt;a href='http://dev.jquery.com/' class='spip_out' hreflang='en' rel='external'&gt;traqueur de bugs de &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt;&lt;/a&gt; (vous devrez d'abord cr&#233;er un compte) ;&lt;/li&gt;&lt;li&gt; soyez s&#251;rs d'inclure un cas de test simple pour tout probl&#232;me que vous rencontreriez (que vous joigniez le cas au bug ou que vous fournissiez un lien) ;&lt;/li&gt;&lt;li&gt; Signalez que vous testez &lt;q&gt;&lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt; 1.3 beta 2&lt;/q&gt; (ou votre ticket pourrait &#234;tre examin&#233; pour une autre version) ;&lt;/li&gt;&lt;li&gt; envoyez dans un email un lien vers votre cas-test et votre rapport de bug &#224; la &lt;a href='http://groups.google.com/group/jquery-dev' class='spip_out' hreflang='en' rel='external'&gt;liste de d&#233;veloppement de &lt;span lang=&quot;en&quot;&gt;jQuery&lt;/span&gt;&lt;/a&gt; pour que l'&#233;quipe de d&#233;veloppement soit pr&#233;venue de votre probl&#232;me.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Merci &#224; tout le monde, par avance, pour votre aide dans le test de cette version. Nous sommes tr&#232;s excit&#233;s &#224; ce sujet et nous avons h&#226;te de la mettre entre vos mains.&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>



</channel>

</rss>
