<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Le pret a surfer</title>
	<atom:link href="http://www.le-pret-a-surfer.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.le-pret-a-surfer.com</link>
	<description>Le web sous toute ses coutures</description>
	<lastBuildDate>Tue, 08 Nov 2011 11:34:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>plugin jQuery mLivre : un flipbook javascript</title>
		<link>http://www.le-pret-a-surfer.com/non-classe/plugin-jquery-mlivre-un-flipbook-javascript/</link>
		<comments>http://www.le-pret-a-surfer.com/non-classe/plugin-jquery-mlivre-un-flipbook-javascript/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 11:34:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Non classé]]></category>

		<guid isPermaLink="false">http://www.le-pret-a-surfer.com/?p=253</guid>
		<description><![CDATA[MLivre est un plugin sorti au début de l&#8217;été, transformant une suite d&#8217;images en un flipbook à la manière d&#8217;un magazine. L&#8217;utilisation est très simple : afficher une suite d&#8217;image de même taille dans un div puis lancer le plugin. &#60;div id=&#34;demo1&#34;&#62;&#60;img src=&#34;celestin/couverture.jpg&#34; alt=&#34;&#34; width=&#34;650&#34; height=&#34;325&#34; /&#62; &#60;img src=&#34;celestin/illustration2.jpg&#34; alt=&#34;&#34; width=&#34;650&#34; height=&#34;325&#34; /&#62; &#60;img src=&#34;celestin/illustration7.jpg&#34; alt=&#34;&#34; [...]
Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/mselect-plugin-jquery-pour-realiser-des-listes-html-personnalisees/' rel='bookmark' title='mSelect : Plugin Jquery pour réaliser des listes html personnalisées'>mSelect : Plugin Jquery pour réaliser des listes html personnalisées</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/sortie-de-jquery-1-4-4-ans-de-loyaux-services/' rel='bookmark' title='Sortie de jQuery 1.4, 4 ans de loyaux services'>Sortie de jQuery 1.4, 4 ans de loyaux services</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/un-textarea-qui-se-redimensionne-avec-jquery/' rel='bookmark' title='Un textarea qui se redimensionne avec Jquery'>Un textarea qui se redimensionne avec Jquery</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fnon-classe%2Fplugin-jquery-mlivre-un-flipbook-javascript%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fnon-classe%2Fplugin-jquery-mlivre-un-flipbook-javascript%2F&amp;source=mandonnaud&amp;style=normal&amp;service=is.gd&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><strong>MLivre</strong> est un plugin sorti au début de l&#8217;été, transformant une <strong>suite d&#8217;images</strong> en un flipbook à la manière d&#8217;<strong>un magazine</strong>. L&#8217;utilisation est très simple : afficher une suite d&#8217;image de même taille dans un div puis lancer le plugin.</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;demo1&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;celestin/couverture.jpg&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;650&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;325&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;celestin/illustration2.jpg&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;650&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;325&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;celestin/illustration7.jpg&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;650&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;325&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;celestin/illustration10.jpg&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;650&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;325&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;celestin/illustration13.jpg&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;650&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;325&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;celestin/4couverture.jpg&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;650&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;325&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span>// <span style="color: #404040;">&lt;![CDATA[</span><br />
<span style="color: #404040;"> &nbsp; $('#demo1').mLivre({ &nbsp; &nbsp; width:650, &nbsp; &nbsp; height:325 &nbsp; });</span><br />
<span style="color: #404040;">// ]]&gt;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span></div></div>
<h3>Des options, méthodes et événements pour personnaliser vos scripts</h3>
<p>Les premières options sont <strong>obligatoires</strong>, <em>width</em> / <em>height</em> et parlent d&#8217;elles mêmes. <em>dossier</em> quant à lui permet de définir le <strong>chemin du dossier</strong> contenant quelques images nécessaires au bon fonctionnement du plugin afin de vous permettre de garder un minimum d&#8217;organisation dans votre ftp.</p>
<p><em>PageDefault</em> permet de choisir <strong>la première page</strong> (ou image) qui doit être affichée, la première image est la numéro zéro</p>
<p><em>Loader</em> active (ou désactive) <strong>le chargement des images</strong> avant l&#8217;affichage</p>
<p>Il reste comme dernière option <em>over</em> qui permet d&#8217;activer ou non <strong>l’animation au survole</strong> de la souris.</p>
<p>mLivre comporte également deux événements <em>eventLoad</em> appelés une fois que le livre est <strong>prêt à être affiché</strong> et <em>eventOpen</em> qui se lance à chaque <strong>changement de page</strong> !</p>
<p>Afin d&#8217;imaginer votre interface, les méthodes <em>suivant </em>et <em>précédent</em> permettent un changement de page et la méthode <em>page</em> vous permet, par exemple, d&#8217;ajouter <strong>une pagination</strong> !</p>
<p>Vous pouvez consulter des <strong>exemples</strong> dans la <strong>documentation</strong> sur http://www.le-pret-a-surfer.com/mLivre/</p>
<p><strong>Vous souhaitez de nouvelle fonctionnalité ?</strong> n&#8217;hésitez pas à les proposer</p>
<p>Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/mselect-plugin-jquery-pour-realiser-des-listes-html-personnalisees/' rel='bookmark' title='mSelect : Plugin Jquery pour réaliser des listes html personnalisées'>mSelect : Plugin Jquery pour réaliser des listes html personnalisées</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/sortie-de-jquery-1-4-4-ans-de-loyaux-services/' rel='bookmark' title='Sortie de jQuery 1.4, 4 ans de loyaux services'>Sortie de jQuery 1.4, 4 ans de loyaux services</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/un-textarea-qui-se-redimensionne-avec-jquery/' rel='bookmark' title='Un textarea qui se redimensionne avec Jquery'>Un textarea qui se redimensionne avec Jquery</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.le-pret-a-surfer.com/non-classe/plugin-jquery-mlivre-un-flipbook-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[MAJ]Jquery : mSelect ajout d&#8217;une scrollbar personnalisable</title>
		<link>http://www.le-pret-a-surfer.com/web/jquery-mselect-ajout-dune-scrollbar-personnalisable/</link>
		<comments>http://www.le-pret-a-surfer.com/web/jquery-mselect-ajout-dune-scrollbar-personnalisable/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 18:46:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Développement Web]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[formulaire html]]></category>
		<category><![CDATA[html select]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[scrollbar]]></category>

		<guid isPermaLink="false">http://www.le-pret-a-surfer.com/?p=232</guid>
		<description><![CDATA[mSelect est un plugin jQuery que j&#8217;ai développé en avril 2010 qui permet de personnaliser totalement un select html et de pouvoir avoir des options comprenant du html (formatage ou image). Quelques semaines après la version 1.1 ajoutait la gestion événement. Aujourd&#8217;hui je passe mon plugin en version 1.2 pour amener une nouveauté très demandée. [...]
Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/mselect-plugin-jquery-pour-realiser-des-listes-html-personnalisees/' rel='bookmark' title='mSelect : Plugin Jquery pour réaliser des listes html personnalisées'>mSelect : Plugin Jquery pour réaliser des listes html personnalisées</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/un-textarea-qui-se-redimensionne-avec-jquery/' rel='bookmark' title='Un textarea qui se redimensionne avec Jquery'>Un textarea qui se redimensionne avec Jquery</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/sortie-de-jquery-1-4-4-ans-de-loyaux-services/' rel='bookmark' title='Sortie de jQuery 1.4, 4 ans de loyaux services'>Sortie de jQuery 1.4, 4 ans de loyaux services</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fweb%2Fjquery-mselect-ajout-dune-scrollbar-personnalisable%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fweb%2Fjquery-mselect-ajout-dune-scrollbar-personnalisable%2F&amp;source=mandonnaud&amp;style=normal&amp;service=is.gd&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><strong>mSelect</strong> est un <strong>plugin jQuery</strong> que j&#8217;ai développé en avril 2010 qui permet de <strong>personnaliser totalement un select</strong> html et de pouvoir avoir des <strong>options comprenant du html</strong> (formatage ou image). Quelques semaines après la version 1.1 ajoutait la gestion événement.</p>
<p>Aujourd&#8217;hui je passe mon plugin en version 1.2 pour amener<strong> une nouveauté très demandée</strong>.</p>
<h3>ScrollBar personnalisable avec mSelect</h3>
<p>Pour<strong> les listes html longues</strong> l&#8217;utilisation d&#8217;une <strong>scrollBar</strong> devient indispensable, <strong>le plugin</strong> l&#8217;ajoute donc maintenant automatiquement à partir de sept options (se nombre est paramétrable via <em>nbVisible</em>)</p>
<p>Pour rester cohérent avec le reste du plugin cette scrollBar est entièrement personnalisable en css via plusieurs class.</p>
<h3>Rendre inactif le champ mSelect</h3>
<p>Seconde fonctionnalité qu&#8217;apporte cette mise à jour, la possibilité d&#8217;activer et désactiver le champ à l&#8217;aide de deux méthodes.</p>
<h3>Optimisation du plugin et documentation complète</h3>
<p>J&#8217;ai également optimisé l&#8217;ensemble du code, corrigé quelques petits bugs et rédigé une feuille css d&#8217;exemple.</p>
<p>Et pour faciliter la vie des utilisateurs d&#8217;mSelect, j&#8217;ai rédigé une documentation complète avec beaucoup d&#8217;exemples.</p>
<p><a href="http://www.le-pret-a-surfer.com/mSelect/">Voir la documentation complète de mSelect : Plugin jQuery</a></p>
<h3>Mise à jour 1.3 : mCurrent</h3>
<p>Suite à vos retour, voici une version 1.3 :</p>
<ul>
<li>Ajout d&#8217;une class mCurrent sur l&#8217;option sélectionné</li>
<li>Correction du bug : mSelect plante en l&#8217;absence de jQuery-ui 1.8</li>
<li>Correction du bug : variable html de l&#8217;événement click manquante</li>
<li>Optimisation : réduction du nombre d&#8217;écouteur.</li>
</ul>
<h3>Mise à jour 1.4 : manipulation des données</h3>
<p>Mise à jour du 27 juin 2011</p>
<ul>
<li>Ajout de la méthode add</li>
<li>Ajout de la méthode options</li>
<li>Ajout de la méthode selected</li>
</ul>
<p><a href="http://www.le-pret-a-surfer.com/mSelect/">Voir la documentation complète de mSelect : Plugin jQuery</a></p>
<p>&nbsp;</p>
<p>Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/mselect-plugin-jquery-pour-realiser-des-listes-html-personnalisees/' rel='bookmark' title='mSelect : Plugin Jquery pour réaliser des listes html personnalisées'>mSelect : Plugin Jquery pour réaliser des listes html personnalisées</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/un-textarea-qui-se-redimensionne-avec-jquery/' rel='bookmark' title='Un textarea qui se redimensionne avec Jquery'>Un textarea qui se redimensionne avec Jquery</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/sortie-de-jquery-1-4-4-ans-de-loyaux-services/' rel='bookmark' title='Sortie de jQuery 1.4, 4 ans de loyaux services'>Sortie de jQuery 1.4, 4 ans de loyaux services</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.le-pret-a-surfer.com/web/jquery-mselect-ajout-dune-scrollbar-personnalisable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Controler des projecteurs avec l&#8217;iphone et sunlite</title>
		<link>http://www.le-pret-a-surfer.com/non-classe/controler-des-projecteurs-avec-liphone-et-sunlite/</link>
		<comments>http://www.le-pret-a-surfer.com/non-classe/controler-des-projecteurs-avec-liphone-et-sunlite/#comments</comments>
		<pubDate>Fri, 27 May 2011 13:08:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Non classé]]></category>
		<category><![CDATA[Utilitaire]]></category>
		<category><![CDATA[sunlite]]></category>

		<guid isPermaLink="false">http://www.le-pret-a-surfer.com/?p=226</guid>
		<description><![CDATA[Depuis que j&#8217;ai acheté une interface et la suite logiciel Sunlite, j&#8217;avais bien envie de pouvoir utiliser l&#8217;iphone pour prendre le contrôle de Sunlite à distance. Après quelques recherches voici une solution ! Pour réaliser la manipulation suivante, il faut avoir un ordinateur (PC ou MAC) et un Iphone connecté sur le même réseau wifi. [...]
Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/iphone/utilitaire/tarots-une-application-iphone-plein-datouts/' rel='bookmark' title='Tarots une application iPhone plein d&#8217;atouts'>Tarots une application iPhone plein d&#8217;atouts</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/un-textarea-qui-se-redimensionne-avec-jquery/' rel='bookmark' title='Un textarea qui se redimensionne avec Jquery'>Un textarea qui se redimensionne avec Jquery</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/css/enlever-les-pointilles-des-liens-avec-du-css/' rel='bookmark' title='Enlever les pointillés des liens avec du CSS'>Enlever les pointillés des liens avec du CSS</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fnon-classe%2Fcontroler-des-projecteurs-avec-liphone-et-sunlite%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fnon-classe%2Fcontroler-des-projecteurs-avec-liphone-et-sunlite%2F&amp;source=mandonnaud&amp;style=normal&amp;service=is.gd&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Depuis que j&#8217;ai acheté une interface et la suite logiciel Sunlite, j&#8217;avais bien envie de pouvoir utiliser l&#8217;iphone pour prendre le contrôle de Sunlite à distance. Après quelques recherches voici une solution !</p>
<p>Pour réaliser la manipulation suivante, il faut avoir un ordinateur (PC ou MAC) et un Iphone connecté sur le même réseau wifi. Sur l&#8217;ordinateur est installé Sunlite version 1 ou 2.</p>
<h2>L&#8217;application Iphone un &laquo;&nbsp;émulateur&nbsp;&raquo; de contrôleur MIDI</h2>
<p>Les contrôleurs MIDI sont des surfaces de contrôle permettant d&#8217;envoyer des ordres en MIDI (protocole de communication) vers un instrument ou un ordinateur. Un contrôleur à une prise MIDI-OUT, mais voila notre Iphone n&#8217;en possède pas c&#8217;est pour ça que j’emploie le terme d&#8217;émulateur.</p>
<p>Mon choix c&#8217;est arrêté pour l&#8217;instant à l&#8217;application RemoteKBLE, un simple piano allant de 0 à 127 qui à l&#8217;avantage d’être gratuit et de fonctionner.</p>
<p><a href="http://itunes.apple.com/us/app/remotekble/id364871647?mt=8">Télécharger l&#8217;application RemoteKBLE sur itunes</a></p>
<p>A savoir qu&#8217;il existe une version payante appelée RemoteKB à 1.59 €, cette version de l&#8217;application donne le droit d&#8217;appuyer sur plusieurs touches en même temps.</p>
<p>Mon utilisation étant de faciliter la phase de réglage dans une petite association de théâtre, la version simple de l&#8217;application me suffit !</p>
<p><a href="http://itunes.apple.com/us/app/remotekb/id364870855?mt=8">Télécharger l&#8217;application RemoeKB sur itunes</a></p>
<h2>Les logiciels pour récupérer les données MIDI via le WIFI</h2>
<p>Avant de passer à la configuration de sunlite, il nous faut récupérer deux logiciels.</p>
<p>Le premier permet de recevoir les données de l&#8217;iphone, les développeurs de RemoteKB et RemobeKBLE utilisent DSWifiMIDI qui comme son nom l&#8217;indique, vous l&#8217;avez peut être fait deviner, permet d&#8217;envoyer les données MIDI, non seulement de l&#8217;iphone mais aussi de la nintendo DS vers l&#8217;ordinateur.</p>
<p>Vous trouverez <a href="http://dsmidiwifi.tobw.net">le logiciel sur le site dsmidiwifi.tobw.net</a> que vous pouvez télécharger, on verra après son utilisation.</p>
<p>Le deuxième logiciel permet de transférer ses données MIDI d&#8217;un logiciel à un autre c&#8217;est le rôle que rempli très bien <a href="http://www.clubic.com/telecharger-fiche201214-loopbe1.html">LoopBe1 que vous pouvez trouver sur Clubic.</a> A télécharger, installer et lancer !</p>
<h2>Configuration et utilisation de SUNLITE via l&#8217;application Iphone</h2>
<p>Après avoir lancé LoopBe1, puis l&#8217;application RemoteKBLE vous pouvez lancer SUNLITE et enfin DSWifiMIDI.</p>
<p>Première chose la fenêtre du logiciel DSWifi est composée de deux listes, chez moi je sélectionne dans les deux listes LoopBe Internal MIDI. Pour information si dans la seconde liste c&#8217;est microsft Internal MIDI qui est sélectionné et que vous pianotez sur l&#8217;application vous allez entendre une douce mélodie (enfin selon votre niveau au piano)</p>
<p>Sur SunLite version 1 : Je vous montre simplement l&#8217;exemple simple d&#8217;activer/désactiver un bouton switch préalablement crée. Allez dans la fenêtre paramètre du bouton, puis dans &laquo;&nbsp;l&#8217;onglet&nbsp;&raquo; déclenchement, vous cochez &laquo;&nbsp;Notes Midi&nbsp;&raquo; puis vous choisissez le circuit (appeler &laquo;&nbsp;Ch&nbsp;&raquo; ou &laquo;&nbsp;Channel&nbsp;&raquo; sur l&#8217;application le 0 correspondant au 1) et note (numéro de la touche sur le piano le 1 correspondant au 1 mais sunlite ne propose pas le 0)</p>
<p>Et sur sunLite 2 me direz-vous ? La fonctionnalité disparait pour laisser place à un mode console, à priori il faut créer une console virtuelle reprenant les boutons dont on a besoin pour l&#8217;iphone puis les assigner. Mais voila chez moi impossible de créer une nouvelle console. La solution ouvrir une console proposée par sunlite, clique droit sur un bouton, dans l&#8217;onglet live, édition ou général on choisi &laquo;&nbsp;l&#8217;action&nbsp;&raquo; et dans l&#8217;onglet midi on clique sur &laquo;&nbsp;auto setup MIDI&nbsp;&raquo; puis sur une touche du piano de l&#8217;iphone.</p>
<p>Bon courage !</p>
<p>Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/iphone/utilitaire/tarots-une-application-iphone-plein-datouts/' rel='bookmark' title='Tarots une application iPhone plein d&#8217;atouts'>Tarots une application iPhone plein d&#8217;atouts</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/un-textarea-qui-se-redimensionne-avec-jquery/' rel='bookmark' title='Un textarea qui se redimensionne avec Jquery'>Un textarea qui se redimensionne avec Jquery</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/css/enlever-les-pointilles-des-liens-avec-du-css/' rel='bookmark' title='Enlever les pointillés des liens avec du CSS'>Enlever les pointillés des liens avec du CSS</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.le-pret-a-surfer.com/non-classe/controler-des-projecteurs-avec-liphone-et-sunlite/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Optimiser son blog wordpress pour le référencement</title>
		<link>http://www.le-pret-a-surfer.com/web/optimiser-son-blog-wordpress-pour-le-referencement/</link>
		<comments>http://www.le-pret-a-surfer.com/web/optimiser-son-blog-wordpress-pour-le-referencement/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 09:39:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Développement Web]]></category>
		<category><![CDATA[optimisation]]></category>
		<category><![CDATA[référencement]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.le-pret-a-surfer.com/?p=177</guid>
		<description><![CDATA[Voici un regroupement d&#8217;optimisations que j&#8217;ai réalisées sur un blog installé sous wordpress. Le but étant d&#8217;améliorer le référencement naturel, la vitesse d&#8217;affichage des pages et l&#8217;expérience utilisateur des visiteurs. J&#8217;ai reparti les optimisations en trois catégories les extensions, les configurations et les ajouts au thème. Pour information le blog référent que j&#8217;ai mal mené [...]
Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/iphone/rope-nfly-le-spiderman-de-liphone-pour-une-bonne-ballade/' rel='bookmark' title='Rope n&#8217;fly : le SpiderMan de l&#8217;iPhone pour une bonne ballade'>Rope n&#8217;fly : le SpiderMan de l&#8217;iPhone pour une bonne ballade</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/mselect-plugin-jquery-pour-realiser-des-listes-html-personnalisees/' rel='bookmark' title='mSelect : Plugin Jquery pour réaliser des listes html personnalisées'>mSelect : Plugin Jquery pour réaliser des listes html personnalisées</a></li>
<li><a href='http://www.le-pret-a-surfer.com/non-classe/plugin-jquery-mlivre-un-flipbook-javascript/' rel='bookmark' title='plugin jQuery mLivre : un flipbook javascript'>plugin jQuery mLivre : un flipbook javascript</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fweb%2Foptimiser-son-blog-wordpress-pour-le-referencement%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fweb%2Foptimiser-son-blog-wordpress-pour-le-referencement%2F&amp;source=mandonnaud&amp;style=normal&amp;service=is.gd&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignleft size-thumbnail wp-image-184" title="wordpress" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/12/wordpress-150x150.png" alt="" width="150" height="150" />Voici un regroupement <strong>d&#8217;optimisations</strong> que j&#8217;ai réalisées sur un <strong>blog installé sous wordpress</strong>. Le but étant d&#8217;améliorer le <strong>référencement</strong> naturel, la <strong>vitesse</strong> d&#8217;affichage des pages et l&#8217;expérience utilisateur des visiteurs. J&#8217;ai reparti les optimisations en trois catégories les extensions, les configurations et les ajouts au thème.</p>
<p>Pour information le blog référent que j&#8217;ai mal mené est <a href="http://www.laure-illustrations.com" target="_blank">www.laure-illustrations.com le ptit blog d&#8217;une illustratrice jeunesse : Laure Phelipon</a>. Avec une moyenne de 20 messages et 2500 visiteurs par mois, il est présent dans les premières places sur google pour la recherche &laquo;&nbsp;illustratrice&nbsp;&raquo;</p>
<h2>Le choix des extensions wordpress (plugin)</h2>
<p>J&#8217;ai essayé d&#8217;en limiter le nombre au maximum, en gardant uniquement celles qui ne pouvaient pas être mises en dure dans le thème, car les plugins c&#8217;est bien mais trop c&#8217;est trop.</p>
<h3><em>Akismet</em>, protection contre le spam dans les commentaires</h3>
<p style="text-align: center;"><em>(A-kiz-mit) n. Probablement la meilleure façon dans le monde pour vous protéger du spam web.</em></p>
<p><img class="alignright size-full wp-image-194" title="Spam" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/12/spam1.png" alt="" width="134" height="138" />Voila comment se définit ce service, présent à l&#8217;installation de wordpress depuis pas mal de temps, il <strong>vous évitera</strong> une quantité de <strong>spams coté commentaire</strong>. Très utile, <strong>300 spams évités en six mois</strong> sur mon blog référent, surtout que certains vicieux robots s&#8217;amusent à copier coller des commentaires (en rajoutant juste un lien qui va bien) pour tromper votre vigilance.</p>
<p><strong>Facile à configurer</strong>, il suffit de demander une clef sur le site d&#8217;<em>akismet</em> et de la rentrer dans le menu <em>extensions</em> puis configuration <em>akismet</em>.</p>
<p><a href="http://wordpress.org/extend/plugins/akismet/" target="_blank">Télécharger <em>Akismet</em></a></p>
<h3><em>All in One SEO Pack</em> : optimiser votre référencement (étape 1)</h3>
<p><img class="alignright size-full wp-image-192" title="Google Yahoo Bing" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/12/recherche1.png" alt="" width="211" height="147" />En terme de référencement parmi les choses qui comptent, il y a <strong>le titre de la page </strong>(balise title) et <strong>la méta description</strong>, elles doivent être <strong>unique</strong> pour chaque page et <strong>bien réfléchi</strong>.<br />
<strong>Le titre</strong> doit comporter <strong>les principaux termes abordés</strong> dans le post et surtout il sera, sur les moteurs de recherche, <strong>la phrase d&#8217;accroche</strong> pour que vos futurs visiteurs viennent vous voir !<br />
<strong>La description</strong>, de moins en moins apparente dans les moteurs, permet d&#8217;en dire un peu plus sur le contenu de l&#8217;article.<br />
Dans les grandes lignes voila se que permet de renseigner <em>All in One SEO pack</em>.</p>
<p><a href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/">Télécharger <em>All in One SEO Pack</em></a></p>
<h3><em>Google XML Sitemaps</em> : Plan du site pour les robots et donc le référencement</h3>
<p>Je n&#8217;ai pas trouvé (encore) de solution sans passer par un plugin pour avoir <strong>un sitemap complet de tous les billets et pages du site</strong> (catégorie, archive). <em>Google XML sitemaps</em> réalise ça très bien en proposant diverses options comme la possibilité de donner des<strong> &laquo;&nbsp;notes&nbsp;&raquo; d&#8217;importance</strong> à chaque page ou de rajouter des <strong>pages en dur </strong>manuellement. La page de configuration est simple mais néanmoins complète. N&#8217;hésitez pas à vous inscrire sur <strong><em>Google Webmaster</em> </strong>pour voir comment <em>Google</em> digère votre sitemaps.</p>
<p><a href="http://wordpress.org/extend/plugins/google-sitemap-generator/">Télécharger <em>Google XML Sitemaps</em></a></p>
<h3><em>Subcribe to comments</em> : Proposer un abonnement au commentaire à vos visiteurs</h3>
<p><img class="alignright size-full wp-image-197" title="commentaire" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/12/commentaire.png" alt="" width="150" height="150" />Un outil qui m&#8217;a semblé indispensable est de permettre au visiteur <strong>de suivre les commentaires</strong>, ça leur permet de <strong>suivre une conversation</strong> sur le sujet ou de ne pas louper <strong>la réponse à leur question</strong>. <em>Sucribe to comments</em> c&#8217;est donc <strong>donner une raison à vos visiteurs de revenir</strong> et leur proposer les outils pour le faire facilement. <em>Subcribe to comments</em> permet, en plus, à chaque visiteur de gérer ces abonnements.</p>
<p>Coté configuration, vous devez pour les blogs francophones, traduire les trois phrases utilisées par le plugin</p>
<p><a href="http://wordpress.org/extend/plugins/subscribe-to-comments/">Télécharger <em>Subcribe to comments</em></a></p>
<h3><em>WP &#8211; PageNavi</em> : Ajouter une pagination avec blog</h3>
<p><img class="alignright size-full wp-image-199" title="Pagination" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/12/Panination.png" alt="" width="150" height="106" />Le plugin ajoute en bas de la page d&#8217;accueil et des pages d&#8217;archives <strong>une pagination</strong>.<br />
Je l&#8217;ai vraiment apprécié sur différent site : quand on arrive sur un nouveau blog, <strong>offrir la possibilité</strong> de pouvoir <strong>fouiner dans les précédents posts</strong> facilement, incite vos visiteurs à voir votre contenu et facilite la recherche de message récent.</p>
<p>Côté configuration <strong>quelques petits réglages</strong> bienvenus et une possibilité très bien vue de <strong>ne pas charger de CSS complémentaire</strong>.</p>
<p><a href="http://wordpress.org/extend/plugins/wp-pagenavi/" target="_blank">Télécharger <em>WP &#8211; PageNavi</em></a></p>
<h3><em>WP Super Cache</em> : Mettre en cache vos pages pour optimiser l&#8217;affichage</h3>
<p>Un blog comme <em>WordPress</em> demande pas mal de <strong>calcul pour le serveur</strong>, avoir un bon cache permet un <strong>gain de temps</strong> au niveau de l&#8217;<strong>affichage</strong> et de faire souffler vos serveur. Grossomodo <em>WP Super Cache</em> sauvegarde une version html de chaque  page.  Sachant que <em>google</em> a annoncé utiliser <strong>le temps d&#8217;affichage d&#8217;une page dans son algorithme de recherche</strong>, le cache fait aussi parti de la démarche d&#8217;optimisation pour le référencement.</p>
<p><a href="http://wordpress.org/extend/plugins/wp-super-cache/" target="_blank">Télécharger <em>WP Super Cache</em></a></p>
<h3><em>Yet Another Related Posts Plugin</em> :<em> </em>Lier vos articles<em><br />
</em></h3>
<p><strong><img class="alignright size-full wp-image-200" title="toile" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/12/toile.png" alt="" width="200" height="179" />Une règle pour un site web</strong> est de ne <strong>jamais</strong> amener votre <strong>visiteur devant un mur </strong>(une page qui ne propose pas d&#8217;aller voir autre chose) sinon vous perdez vos visiteurs. <em>YARPP</em> permet de palier au problème en <strong>vous économisant pas mal de temps</strong>. Il sélectionne d&#8217;autres articles sur le même sujet et les affiches à la suite de vos articles.  Ainsi vos visiteurs qui viennent de lire le billet sur <strong>un sujet qui les intéressent</strong> pourrons <strong>continuer</strong> ça visite sur le même thème.</p>
<p>Le plugin est très complet : il permet de gérer les endroits où vous souhaitez afficher les liens, de <strong>modifier l&#8217;affichage</strong> et même de <strong>configurer l&#8217;algorithme</strong> de sélection d&#8217;article !</p>
<h2>Configuration de wordpress</h2>
<h3>Des sous domaines pour améliorer la vitesse d&#8217;affichage</h3>
<p><img class="alignright size-full wp-image-208" title="sousDomaine" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/12/sousDomaine.png" alt="" width="191" height="200" />Une première configuration à apporter est <strong>la création de deux sous domaine</strong>, l&#8217;un hébergera vos médias, l&#8217;autre votre fichier css et JavaScript. <strong>Les navigateurs</strong> limitent<strong> le nombre de fichier qu&#8217;il télécharge en même temps</strong> par sous domaine/domaine.  Diffuser vos sources en plusieurs sous domaine permettra au visiteur de <strong>charger en parallèle plusieurs contenus</strong> et donc un gain de temps (ultra conseillé par google).</p>
<p>La création et configuration d&#8217;un sous domaine se fait depuis le site de votre hébergeur.</p>
<p>Pour mon test j&#8217;ai fait pointer <strong>un sous domaine média </strong>vers le dossier <em>wp-content/uploads/</em> en configurant <em>WordPress</em> pour utiliser cet url pour le fichier upload et<strong> un sous domaine source</strong> vers le dossier contenant <strong>mon css et le js.</strong></p>
<p>Pour l&#8217;instant je n&#8217;ai pas trouvé la bonne parade pour que <em>WordPress</em> utilise la bonne url pour mes images, j&#8217;ai donc remplacé les urls avec une fonction maison dans mon fichier fonction.php (j&#8217;en parlerai plus tard)</p>
<h3>Regrouper et compresser vos fichiers css et js</h3>
<p><img class="alignright size-full wp-image-209" title="compress" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/12/compress.png" alt="" width="200" height="97" />Dans les extensions que j&#8217;ai détaillées ci dessus, <em>WP PageNavi</em> ajoute son propre CSS mais une option permet de le désactiver, <strong>ce que je serai trop vous conseiller</strong> et de mettre le contenu de se css dans votre propre fichier.</p>
<p>En effet <strong>moins</strong> il y aura<strong> de fichier css mieux ça sera</strong> car le chargement d&#8217;<strong>un</strong> grand <strong>css</strong> est <strong>plus rapide</strong> que celui de quatre css.</p>
<p>L&#8217;optimisation maximum consiste aussi à <strong>compresser votre css</strong>, comprendre : utiliser <strong>un fichier css sans espace, sans retour à la ligne</strong>, en enlevant le dernier point virgule.</p>
<p>Bien sur avoir <strong>un fichier CSS</strong> comme ça serait complètement <strong>contre productif</strong>, il existe donc des scripts qui permettent de faire cette manipulation à votre place pour que vous gardiez vos css propre.</p>
<p>Pour cette étape je vous conseille l&#8217;article sur le site <a href="http://seebz.net/47-minifiez-vos-feuilles-de-styles-et-vos-fichiers-javascript.html" target="_blank">seebz.net</a> qui vous propose <strong>deux très bons fichiers php</strong> (un pour le CSS et l&#8217;autre pour le JS) avec la possibilité <strong>de regrouper plusieurs fichiers</strong> directement.</p>
<p>Cela dit cette fonction ne fait pas de miracle, n&#8217;hésitez pas à <strong>optimiser</strong> avant <strong>vos css</strong>, je ne rentrerai pas dans les détails ici, juste un exemple #sideBar .box est plus lent que juste .boxSideBar</p>
<p>Il va de soit que ce que vient de dire pour le css marche pour le js, je n&#8217;ai personnellement pas utilisé l&#8217;équivalent pour compresser le JS, j&#8217;ai téléchargé <strong>les scripts externe en version compressés</strong> que j&#8217;ai mi <strong>bout à bout</strong> dans le même fichier <strong>en rajoutant mes appels</strong> maison à la fin.</p>
<h2>Ajouter des fonctionnalités directement dans le thèmes (sans plugin)</h2>
<p>Quelque base, je vous conseil d&#8217;utiliser <strong>un fichier loop.php</strong> pour votre thème. Le but est de <strong>regrouper tous les affichages d&#8217;articles</strong> dans un seul fichier php, je vous donne pour exemple <a href="http://www.le-pret-a-surfer.com/code/wp_code1.html">mon fichier loop (cliquer pour voir le code).</a></p>
<h3>Avoir une seule page qui affiche le billet en entier</h3>
<p><img class="alignright size-full wp-image-220" title="block" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/12/block.png" alt="" width="160" height="170" />Il y a deux avantages à <strong>ne pas afficher le contenu complet de vos billets sur la page  d&#8217;accueil</strong>.</p>
<p>Le premier c&#8217;est que cela permet un suivi, vous allez pouvoir connaitre  avec précision le nombre de personne qui ont regardé votre article.</p>
<p>Le second c&#8217;est le référencement : vous allez <strong>éviter de dupliquer votre contenu</strong> dans plusieurs pages de votre site ! <strong>Une duplication divisera d&#8217;autant votre efficacité.</strong></p>
<p>Pour se  faire je conseille l&#8217;utilisation de la balise more pour séparer  l&#8217;accroche du contenu.</p>
<p>PS : <strong>penser à définir une belle url</strong> pour cette page, avec des mots  importants pour votre référencement et qui ne soit pas forcement identique  avec le titre, profitez-en pour utiliser des synonymes.</p>
<h3>Afficher le poste avec un lien meilleur que &laquo;&nbsp;voir la suite&nbsp;&raquo;</h3>
<p>En terme de référencement <strong>les liens</strong> on aussi <strong>une place très  importante</strong>, le texte qui compose le lien vers votre page est censé la définir. On est alors d&#8217;accord que &laquo;&nbsp;voir&nbsp;&raquo; &laquo;&nbsp;suite&nbsp;&raquo; ne vas pas définir votre article. Pour se faire j&#8217;ai utilisé <em>les informations complémentaire</em> de <em>WordPress</em>, pas vraiment adapté pour cette utilisation elle reste quand même la  façon la plus simple au moment de la rédaction.</p>
<p><a href="http://www.le-pret-a-surfer.com/code/wp_code2.html">Coté PHP cliquer pour voir la rustine</a></p>
<h3>Améliorer l&#8217;affichage du contenu et les retours à la ligne</h3>
<p>Après avoir essayé plein d&#8217;extensions dont aucune n&#8217;a su me satisfaire, j&#8217;ai décidé de faire <strong>ma propre version</strong> qui va réaliser de jolie balise p et uniquement aux endroits adéquate. Mais surtout qui me permet de contrôler l&#8217;affiche finale.</p>
<p>J&#8217;ai aussi rajouté la &laquo;&nbsp;balise&nbsp;&raquo; [BR] qui permet de forcer un retour à la ligne.</p>
<p><a href="http://www.le-pret-a-surfer.com/code/wp_code3.html">Voir l&#8217;extrait du code</a></p>
<h3>RSS avec <em>feedburner</em> pour suivre vos abonnements et en proposer par mail</h3>
<p><img class="alignright size-full wp-image-214" title="feedburner" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/12/feedburner.png" alt="" width="160" height="171" />Je vous conseille pour votre file <em>RSS</em> d&#8217;utiliser <em>FeedBurner</em> afin de pouvoir suivre<strong> le nombre de personne qui l&#8217;utilise</strong>. De plus se service de <em>Google</em> propose aussi de gérer <strong>un abonnement par mail</strong> à vos visiteurs en ajoutant juste un formulaire d&#8217;inscription dans le thème.</p>
<p>J&#8217;ai aussi choisi de <strong>ne pas distribuer mon post en entier</strong> dans le file <em>RSS</em> de mon site témoin car je l&#8217;ai inscrit sur pas mal de <strong>site qui utilise mon flux <em>RSS</em></strong> (<em>Facebook</em>, <em>Wikio</em> &#8230;) se qui permet une visibilité accru mais qui à une tendance à dupliquer votre contenu est donc votre site perd en crédibilité par rapport au moteur de recherche et même à <strong>vous faire black lister</strong> de <em>Google</em>. Du coup j&#8217;ai rajouté une fonction au fichier fonction.php afin de mettre dans le <strong>fil rss uniquement le résumé de mon article avec deux lien</strong>, une vers la suite de l&#8217;article et l&#8217;autre vers l&#8217;accueil du blog.</p>
<p><a href="http://www.le-pret-a-surfer.com/code/wp_code4.html">Voir le code à mettre dans fonction.php</a></p>
<h3><em>Facebook</em>, <em>Twitter</em> mais avec un affichage temporisé en <em>JavaScript</em></h3>
<p><img class="alignright size-full wp-image-215" title="facebook" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/12/facebook.png" alt="" width="150" height="150" />Élément presque incontournable <strong>les réseaux sociaux</strong> proposent tous leurs api magiques, permettant à leurs utilisateurs de facilement <strong>partager votre page</strong> avec leurs amis. Très utiles, mais à vous de bien étudier <strong>les réseaux indispensables</strong> pour votre blog et ceux qui ne le sont pas. Les quelques <em>apis</em> que j&#8217;ai essayées sont facilement intégrable en dur dans le thème mais en partant du principe qu&#8217;elles <strong>multiplient le nombre de fichier externe</strong> au site (js, css, img) j&#8217;ai réfléchi une façon de les <strong>afficher uniquement quand les utilisateurs les voient</strong>. Sur mon blog référent, l&#8217;accueil affiche une dizaine d&#8217;articles, grâce au code suivant <em>Facebook</em> se charge uniquement quand l&#8217;utilisateur arrive à sa hauteur.</p>
<p><a href="http://www.le-pret-a-surfer.com/code/wp_code5.html">Coté HTML dans la page loop</a>, je génère uniquement l&#8217;url de <em>Facebook</em>.</p>
<p><a href="http://www.le-pret-a-surfer.com/code/wp_code6.html">Coté JavaScript</a>, je lance l&#8217;affichage au moment voulu.</p>
<h3>Yoxview pour afficher vos images en grand</h3>
<p><img class="alignright size-full wp-image-218" title="yox" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/12/yox1.png" alt="" width="160" height="165" />Les <strong>lightbox</strong> sont devenus incontournable pour profiter <strong>des images en version &laquo;&nbsp;haute définition&nbsp;&raquo;</strong>, parmi l&#8217;énorme catalogue d&#8217;application disponible mon choix c&#8217;est arrêté sur <em>Yoxview</em> avec une jolie finition. L&#8217;arrivée se fait avec un <strong>zoom qui part de la miniature</strong>, la transition entre plusieurs images se fait un jolie recadrage animé.</p>
<p><a href="http://www.yoxigen.com/yoxview/" target="_blank">Télécharger Yoxview</a></p>
<p><a href="http://www.le-pret-a-surfer.com/code/wp_code7.html">Coté Javascript, le code de lancement</a></p>
<h3>Google annalytique</h3>
<p>Très rapide à faire mais <strong>à ne pas oublier</strong>, à la fin de votre fichier JavaScript copier le code de google analytique pour avoir accès à vos <strong>statistiques détaillées</strong>, utile pour voir l&#8217;impacte des dizaines d&#8217;heures d&#8217;optimisations et des centaines d&#8217;heures de rédactions.</p>
<p><a href="http://www.google.fr/intl/fr_ALL/analytics/" target="_blank">Google annalytique</a></p>
<h3>L&#8217;organisation HTML pour optimiser le référencement</h3>
<p><strong>La balise H1 dans chaque page est très important</strong>, l&#8217;erreur fréquente avec l&#8217;utilisation de <em>WordPress</em> est d&#8217;avoir le nom du blog toujours en h1 sur toutes les pages. Il vaut mieux garder cette mise en page uniquement pour la page d&#8217;accueil ! <strong>Les pages archives</strong> devraient avoir en h1<strong> le nom de la catégorie, de la date, de l&#8217;auteur</strong> &#8230; <strong>le résultat des recherches</strong> devraient avoir <strong>les mots rechercher</strong> et <strong>la page article &laquo;&nbsp;le titre de l&#8217;article&nbsp;&raquo;</strong>.<br />
Éviter en titre de la page d&#8217;accueil, &laquo;&nbsp;le blog de X&nbsp;&raquo; mais plutôt &laquo;&nbsp;le blog qui vous parle des derniers lettre de l&#8217;alphabé&nbsp;&raquo;</p>
<p>Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/iphone/rope-nfly-le-spiderman-de-liphone-pour-une-bonne-ballade/' rel='bookmark' title='Rope n&#8217;fly : le SpiderMan de l&#8217;iPhone pour une bonne ballade'>Rope n&#8217;fly : le SpiderMan de l&#8217;iPhone pour une bonne ballade</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/mselect-plugin-jquery-pour-realiser-des-listes-html-personnalisees/' rel='bookmark' title='mSelect : Plugin Jquery pour réaliser des listes html personnalisées'>mSelect : Plugin Jquery pour réaliser des listes html personnalisées</a></li>
<li><a href='http://www.le-pret-a-surfer.com/non-classe/plugin-jquery-mlivre-un-flipbook-javascript/' rel='bookmark' title='plugin jQuery mLivre : un flipbook javascript'>plugin jQuery mLivre : un flipbook javascript</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.le-pret-a-surfer.com/web/optimiser-son-blog-wordpress-pour-le-referencement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mSelect : Plugin Jquery pour réaliser des listes html personnalisées</title>
		<link>http://www.le-pret-a-surfer.com/web/java-script-jquery/mselect-plugin-jquery-pour-realiser-des-listes-html-personnalisees/</link>
		<comments>http://www.le-pret-a-surfer.com/web/java-script-jquery/mselect-plugin-jquery-pour-realiser-des-listes-html-personnalisees/#comments</comments>
		<pubDate>Sun, 04 Apr 2010 12:53:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Jquery]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[formulaire html]]></category>
		<category><![CDATA[html select]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.le-pret-a-surfer.com/?p=168</guid>
		<description><![CDATA[Le plugin est passé en version 1.4.2 Le plugin et la documentation complète est disponible sur : http://www.le-pret-a-surfer.com/mSelect/ mSelect est un plugin qui permet de personnaliser totalement l&#8217;apparence d&#8217;une liste de formulaire (select). Se qui permet en css de personnaliser la boite, la flèche et chaque option. Le plugin mSelect permet aussi de faire une [...]
Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/web/jquery-mselect-ajout-dune-scrollbar-personnalisable/' rel='bookmark' title='[MAJ]Jquery : mSelect ajout d&#8217;une scrollbar personnalisable'>[MAJ]Jquery : mSelect ajout d&#8217;une scrollbar personnalisable</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/un-textarea-qui-se-redimensionne-avec-jquery/' rel='bookmark' title='Un textarea qui se redimensionne avec Jquery'>Un textarea qui se redimensionne avec Jquery</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/sortie-de-jquery-1-4-4-ans-de-loyaux-services/' rel='bookmark' title='Sortie de jQuery 1.4, 4 ans de loyaux services'>Sortie de jQuery 1.4, 4 ans de loyaux services</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fweb%2Fjava-script-jquery%2Fmselect-plugin-jquery-pour-realiser-des-listes-html-personnalisees%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fweb%2Fjava-script-jquery%2Fmselect-plugin-jquery-pour-realiser-des-listes-html-personnalisees%2F&amp;source=mandonnaud&amp;style=normal&amp;service=is.gd&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><span style="color: #ff0000;"><strong>Le plugin est passé en version 1.4.2</strong></span></p>
<p><span style="color: #ff0000;"><strong>Le plugin et la documentation complète est disponible sur : <a href="http://www.le-pret-a-surfer.com/mSelect/">http://www.le-pret-a-surfer.com/mSelect/</a><br />
</strong></span></p>
<p>mSelect est un plugin qui permet de <strong>personnaliser</strong> totalement <strong>l&#8217;apparence d&#8217;une liste de formulaire</strong> (select). Se qui permet <strong>en css </strong>de personnaliser <strong>la boite, la flèche et chaque option</strong>. Le plugin mSelect permet aussi de faire <strong>une boite de sélection enrichie en html</strong>.</p>
<h2>Utilisation sur un élément html : select</h2>
<p>Coté html :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/select.html"><span style="color: #000000; font-weight: bold;">select</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;selectHtml&quot;</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/option.html"><span style="color: #000000; font-weight: bold;">option</span></a> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;1&quot;</span>&gt;</span>Demo 1<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/option.html"><span style="color: #000000; font-weight: bold;">option</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/option.html"><span style="color: #000000; font-weight: bold;">option</span></a> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;2&quot;</span>&gt;</span>Demo 2<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/option.html"><span style="color: #000000; font-weight: bold;">option</span></a>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/option.html"><span style="color: #000000; font-weight: bold;">option</span></a> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;3&quot;</span>&gt;</span>Demo 3<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/option.html"><span style="color: #000000; font-weight: bold;">option</span></a>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/select.html"><span style="color: #000000; font-weight: bold;">select</span></a>&gt;</span></div></div>
<p>Coté javascript :</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'select'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">mSelect</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<h2>Utilisation sur une liste avec bouton radio</h2>
<p>Coté html :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;demo&quot;</span>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ok1&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;radio&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;liRadio&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ok&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ok1&quot;</span>&gt;</span>Ok<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ok2&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;radio&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;liRadio&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;okStr&quot;</span> <span style="color: #000066;">checked</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;checked&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ok2&quot;</span>&gt;</span>ok <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/strong.html"><span style="color: #000000; font-weight: bold;">strong</span></a>&gt;</span>Ok strong<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/strong.html"><span style="color: #000000; font-weight: bold;">strong</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ok3&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;radio&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;liRadio&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;okEm&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ok3&quot;</span>&gt;</span>ok <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/em.html"><span style="color: #000000; font-weight: bold;">em</span></a>&gt;</span>Ok Em<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/em.html"><span style="color: #000000; font-weight: bold;">em</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ok4&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;radio&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;liRadio&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;okCoul&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ok4&quot;</span>&gt;</span>Ok <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;color: #900;&quot;</span>&gt;</span>Couleur<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span></div></div>
<p>Coté javascript :</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#demo'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">mSelect</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<h2><strong>Caractéristique du plugin</strong></h2>
<ul>
<li>L&#8217;élément <em>select</em> ou <em>ul</em> sera entièrement remplacé par la <strong>nouvelle interface</strong></li>
<li><strong>L&#8217;attribut <em>name</em></strong> de l&#8217;élément select ou input est <strong>conservé</strong></li>
<li><strong>Les attributs <em>value</em></strong> sont <strong>conservés</strong>, si ils n&#8217;existent pas ils sont crées avec le <strong>contenu texte</strong> de l&#8217;élément<strong> <em>option</em></strong> ou<strong> <em>label</em></strong></li>
<li><strong>L&#8217;attribut <em>id</em></strong> de l&#8217;élément <em>select</em> ou<em> ul</em> est <strong>conservé</strong></li>
<li><strong>Les attributs <em>class</em></strong> appliqués aux éléments <em>option</em> ou <em>li</em> sont <strong>conservés</strong></li>
<li>Si un élément a <strong>un attribut <em>selected</em> ou <em>checked</em></strong> il est conservé</li>
<li>Si <strong>fireBug est activé</strong> les erreurs sont affichées dans la console</li>
</ul>
<ul>
<li><strong>Développé avec jQuery 1.42,</strong> le plugin utilise des fonctions de la version 1.4</li>
<li>Le script a été essayé sur quelques navigateurs :
<ul>
<li><strong>Navigateur compatible</strong> : <em>FireFox 3.6, Internet Explorer 8, Google chrome 3, Safari 4, Safari iPhone &#8230;<br />
</em></li>
<li>Navigateur incompatible : <em>Aucun testé</em></li>
</ul>
<p><em>Si vous avez la possibilité de tester le plugin sur d&#8217;autre navigateur ou d&#8217;autre version n&#8217;hésitez pas à nous faire part de vos résultats. </em></li>
</ul>
<h2><strong>Personnalisation en CSS des listes </strong><strong>formulaire</strong></h2>
<h4>Class : mSelect</h4>
<p>Le conteneur général de la liste<em>, c&#8217;est un élément div en display inline-block.</em></p>
<h4>Class : mSelected</h4>
<p>Le conteneur de l&#8217;option sélectionne qui s&#8217;affiche toujours à l&#8217;intérieur de mSelect,<em> c&#8217;est un élément div.</em></p>
<h3>Class : mFleche</h3>
<p><em>Element div</em> permettant de personnalisé la flèche qui indique à l&#8217;utilisateur la possibilité de déployer la liste.</p>
<h3>Class : mOption</h3>
<p>Conteneur d&#8217;une option, <em>ces éléments sont des div en position absolue avec le curseur main, les informations top et left sont renseignées à chaque ouverture de la liste</em></p>
<h2>Options du plugin</h2>
<h3>defaut : Message par défaut (String)</h3>
<p>Message par défaut quand aucune option n&#8217;est sélectionné.</p>
<p>Par défaut vide.</p>
<h3>radioHide : Afficher les éléments radio (Boolean)</h3>
<p>Si true affiche les éléments radio dans les options, false pour cacher</p>
<p>Par défaut : false</p>
<h3>eventClick : événement au click (Function(value,html))</h3>
<p>Fonction lancer au clique sur une une option.</p>
<p>This : élément div qui à recu le click</p>
<p>Value : Valeur de l&#8217;option sélectionne</p>
<p>Html : Html de l&#8217;option séléctionné</p>
<p>Par défaut : null</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;demo&quot;</span>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ok2&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;radio&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;liRadio&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;okStr&quot;</span> <span style="color: #000066;">checked</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;checked&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ok2&quot;</span>&gt;</span>ok <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/strong.html"><span style="color: #000000; font-weight: bold;">strong</span></a>&gt;</span>Ok strong<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/strong.html"><span style="color: #000000; font-weight: bold;">strong</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/label.html"><span style="color: #000000; font-weight: bold;">label</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span></div></div>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<br />
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#demo'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">mSelect</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><br />
eventClick<span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>value<span style="color: #339933;">,</span>html<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>value<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// retourne la valeur de l'option sur le quel le visiteur à cliqué. Exemple : &quot;okStr&quot;</span><br />
<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// retourne l'objet div sur le quel l'utilisateur à cliqué</span><br />
<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>html<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// retourne le html (String) de l'option sur la quel le visiteur à cliqué. Exemple : &quot;ok &lt;strong&gt;Ok strong&lt;/strong&gt;&quot;</span><br />
<br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<h3>eventOpen : événement à l&#8217;ouverture (Function(value,html))</h3>
<p>Fonction lancer à l&#8217;ouverture de la liste.</p>
<ul>
<li>This : élément div principale</li>
<li>Value : Valeur de l&#8217;option sélectionne</li>
<li>Html : Html de l&#8217;option sélectionné</li>
</ul>
<p>Par défaut : null</p>
<h3>eventClose : événement à la fermeture (Function(value,html)</h3>
<p>Fonction lancer à la fermeture de la liste, même si il n&#8217;y pas de changer de valeur.</p>
<ul>
<li>This : élément div principale.</li>
<li>Value : Valeur de l&#8217;option sélectionne</li>
<li>Html : Html de l&#8217;option sélectionné</li>
</ul>
<p>Par défaut : null</p>
<h2>Essayer et télécharger le plugin</h2>
<p><del><a href="http://le-pret-a-surfer.com/jquery/mSelect/">Demo</a></del><br />
<del> Télécharger : <a href="http://le-pret-a-surfer.com/jquery/mSelect/jquery.mSelect.min.js" target="_blank">Version de production</a> et <a href="http://le-pret-a-surfer.com/jquery/mSelect/jquery.mSelect.js" target="_blank">version de développement</a></del></p>
<h2>Change Log</h2>
<p>Version 1.1 : 15 avril 2010</p>
<ul>
<li>Ajout des options : eventClick, eventOpen, eventClose</li>
<li>Correction mineur</li>
</ul>
<p>Version 1.0 : 4 avril 2010</p>
<p>Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/web/jquery-mselect-ajout-dune-scrollbar-personnalisable/' rel='bookmark' title='[MAJ]Jquery : mSelect ajout d&#8217;une scrollbar personnalisable'>[MAJ]Jquery : mSelect ajout d&#8217;une scrollbar personnalisable</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/un-textarea-qui-se-redimensionne-avec-jquery/' rel='bookmark' title='Un textarea qui se redimensionne avec Jquery'>Un textarea qui se redimensionne avec Jquery</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/sortie-de-jquery-1-4-4-ans-de-loyaux-services/' rel='bookmark' title='Sortie de jQuery 1.4, 4 ans de loyaux services'>Sortie de jQuery 1.4, 4 ans de loyaux services</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.le-pret-a-surfer.com/web/java-script-jquery/mselect-plugin-jquery-pour-realiser-des-listes-html-personnalisees/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>WIF2010 préselection : souvenir d&#8217;une réalisation d&#8217;un site web en 24h</title>
		<link>http://www.le-pret-a-surfer.com/site-web/wif2010-preselection-souvenir-dune-realisation-dun-site-web-en-24h/</link>
		<comments>http://www.le-pret-a-surfer.com/site-web/wif2010-preselection-souvenir-dune-realisation-dun-site-web-en-24h/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 09:51:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Site web]]></category>

		<guid isPermaLink="false">http://www.le-pret-a-surfer.com/?p=141</guid>
		<description><![CDATA[J&#8217;ai participé, il y a peu de temps aux présélections du WIF2010 (Webdisgn International Festival) . Le principe, réaliser par équipe, de une à trois personnes un site web en vingt quatre heures Je vous propose de découvrir, pas à pas, la réalisation du projet de mon équipe, composée de Gabriel Uribe et moi même [...]
Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/site-web/comment-souhaiter-la-bonne-annee-2010/' rel='bookmark' title='Comment souhaiter la bonne année 2010 ?'>Comment souhaiter la bonne année 2010 ?</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/un-textarea-qui-se-redimensionne-avec-jquery/' rel='bookmark' title='Un textarea qui se redimensionne avec Jquery'>Un textarea qui se redimensionne avec Jquery</a></li>
<li><a href='http://www.le-pret-a-surfer.com/site-web/nostalgique-du-56k-des-chargements-par-centaine/' rel='bookmark' title='Nostalgique du 56k &#8230; des chargements par centaine'>Nostalgique du 56k &#8230; des chargements par centaine</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fsite-web%2Fwif2010-preselection-souvenir-dune-realisation-dun-site-web-en-24h%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fsite-web%2Fwif2010-preselection-souvenir-dune-realisation-dun-site-web-en-24h%2F&amp;source=mandonnaud&amp;style=normal&amp;service=is.gd&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>J&#8217;ai participé, il y a peu de temps aux présélections du <strong>WIF2010 (Webdisgn International Festival)</strong> . Le principe, <strong>réaliser par équipe</strong>, de une à trois personnes <strong>un site web en vingt quatre heures</strong></p>
<p>Je vous propose de découvrir, pas à pas, l<strong>a réalisation du projet de mon équipe</strong>, composée de <strong>Gabriel Uribe</strong> et moi même (Samuel Mandonnaud). La présélection étant en ligne, c&#8217;est chez moi que se déroule <em>cette épopée</em>.</p>
<p><a href="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/02/wif.jpg"><img class="aligncenter size-medium wp-image-146" title="WIF" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/02/wif-300x71.jpg" alt="" width="300" height="71" /></a></p>
<h3>14h Remise du sujet : Partager ses souvenirs</h3>
<p><em>Bien installé</em>, depuis 15min devant nos PCs respectifs, réception du sujet par Email à 13h59, <em>d&#8217;après Google</em> dont voici le contenu :</p>
<blockquote><p><strong>A travers une interface sensible, originale et  poétique, proposer une application interactive  permettant de partager ses souvenirs.</strong></p>
<p>Pouvoir partager ses photos, vidéos, textes,  émotions, découvertes, amours, colères, émerveillements&#8230; à vos amis et pourquoi  pas à vos ennemis. Cet «outil» (site web, application web, site mobile, application mobile, service en ligne, objets communiquant&#8230;) devra être accessible en ligne.</p></blockquote>
<p>On a décidé qu&#8217;<strong>à la réception du sujet</strong>, <strong>on ne se parle pas </strong>pendant 15min, <em>le silence est d&#8217;or</em>. Chacun rédige ses idées, <strong>afin de ne pas être influencé par l&#8217;autre,</strong> puis on confronte<em> dans une joute verbale.</em></p>
<p>Gabriel a eu des idées sur <strong>l&#8217;affichage des souvenirs,</strong> tandis que moi de mon coté j&#8217;ai plus réfléchi sur <strong>le contexte.</strong> Nos idées étant complémentaire après 5 min de discutions la ligne directive est prête.</p>
<h3>Concepts &amp; Scénario</h3>
<p>Dans un future proche, <em>40 ans</em>, un inventaire a réalisé <strong>une machine permettant de soustrair</strong>e, à un mort, <strong>ces souvenirs</strong> dans le but de réaliser <strong>un site web commémoratif,</strong> retraçant ça vie à travers ces souvenirs.</p>
<p>Ces donc <strong>cette technologie appliquée sur son créateur</strong> que l&#8217;on souhaite présenter, il est 14h30&#8230;</p>
<p>La premier étape a été de jouer les scénaristes et <strong>d&#8217;écrire la vie de ce personnage</strong> : <em>qui il était ? qui était ses parents ? ses passions ?</em> Le but est simplement de connaitre le sujet pour faciliter la suite.</p>
<p>Une fois le scénario fini nous avons choisis <strong>quatre périodes de ça vie et quatre émotions</strong> sur lesquelles on va travailler.</p>
<h3>La joie : la famille</h3>
<p>L&#8217;idée est de bosser <strong>le souvenir d&#8217;une sensation de joie mêlé avec le souvenir d&#8217;une sortie familiale</strong>. Cette page doit donc être agréable afin de <strong>retranscrire la joie</strong>, que se soit sur le choix du <strong>design sonore</strong> que dans <strong>l&#8217;image.</strong> Nous avons poussé la réflexion, en nous disant que d<strong>ans un souvenir plaisant chaque détailles en amené d&#8217;autres</strong>.</p>
<p>C&#8217;est donc dans cette logique que Gabriel s&#8217;est lancé sur le graphisme, une couche de développement a permit de rendre le tout vivant.</p>
<p style="text-align: center;"><a href="http://www.webdesign-festival.com/2010/equipes/preselections/crealpha/#/Fr/famille.html" target="_blank"><img class="aligncenter size-medium wp-image-148" title="joie" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/02/joie-300x174.jpg" alt="" width="300" height="174" />Voir  cette page sur la famille</a></p>
<h3>L&#8217;imagination et la créativité : son travail</h3>
<p>Notre personnage, <strong>Enzo Wowk</strong> se défini dans la seconde période de sa vie comme un <strong>hyperactif créatif</strong>. Cette page devait retranscrire<strong> le coté complexe et rapide de ses idées</strong>.</p>
<p>Gabriel a créé<strong> un graphisme épuré</strong> et a choisi <strong>une musique rythmée et motivante</strong>. De mon coté, j&#8217;ai réalisé <strong>une interface réactive</strong> à l&#8217;aide d&#8217;un balayage simple d&#8217;image, d&#8217;un fond réactif à la souris et d&#8217;une création d&#8217;éléments déclenchés par le mouvement de la souris.</p>
<p style="text-align: center;"><a href="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/02/reflexion.jpg"><img class="aligncenter size-medium wp-image-149" title="reflexion" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/02/reflexion-300x156.jpg" alt="" width="300" height="156" /></a><a href="http://www.webdesign-festival.com/2010/equipes/preselections/crealpha/#/Fr/prototype.html">Voir la page sur le travaille</a></p>
<h3>La peur : une enfance difficile</h3>
<p>La ligne directive de cette page est que <strong>l&#8217;émotion de la peur est paralysante</strong>. Se <strong>souvenir &laquo;&nbsp;vidéo&nbsp;&raquo;</strong> doit être assez flou et <strong>l&#8217;émotion doit être prenante pour le visiteur</strong>. Le choix s&#8217;est donc porté vers une double vidéo, la première, celle d<strong>&#8216;un oeil accompagné d&#8217;un battement de cœur illustre l&#8217;émotion</strong>, la seconde celle du <strong>souvenir est plus complexe d&#8217;accès</strong>, l&#8217;utilisateur doit bouger en permanence la souris pour y accéder. E<strong>lle présente de vagues brides de souvenirs</strong> accompagnés d&#8217;<strong>une respiration prenante</strong>.</p>
<p style="text-align: center;"><a href="http://www.webdesign-festival.com/2010/equipes/preselections/crealpha/#/Fr/traumastisme.html" target="_blank"><img class="aligncenter size-medium wp-image-151" title="peur" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/02/peur-300x174.jpg" alt="" width="300" height="174" />Voir la page sur la peur</a></p>
<h3>Le zen : internement</h3>
<p>Notre personnage passe <strong>quelques années de sa vie dans un asile</strong>, sa thérapie passe par une période de vide mais un vide zen qui permet <strong>une remise en question</strong>. Afin de répartire notre charge de travail (<em>rappelons que le projet doit être bouclé en 24h</em>) cette page est très légère, <strong>une page blanche avec un simple texte et une musique reposante</strong>.</p>
<p style="text-align: center;"><a href="http://www.webdesign-festival.com/2010/equipes/preselections/crealpha/#/Fr/internement.html"><img class="aligncenter size-medium wp-image-153" title="vide" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/02/vide-300x174.jpg" alt="" width="300" height="174" />Voir la page zen</a></p>
<h3>L&#8217;interface : multilingue, swfadress et ergonomie.</h3>
<p><strong>L&#8217;interface</strong> devait être <strong>simple et épurée</strong>, <strong>les émotions doivent prédominées</strong>. Notre choix s&#8217;est donc naturellement penché vers <strong>une ligne de temps retraçant la vie d&#8217;Enzo</strong>, avec quelques <strong>informations complémentaires</strong> sur sa vie <strong>en plus des quatre pages</strong>.</p>
<p>Étant donné que <strong>le concours </strong>est organisé de façon <strong>internationale</strong> nous avons donc souhaité qu&#8217;il soit lisible <strong>en français et en anglais</strong>, avec une fonction maison, le site <strong>change les textes au clique sans recharger la page</strong>, le tout pioché dans une base de données xml.</p>
<p>Le dernier point qui nous tient à cœur est d&#8217;utiliser <strong>swfAdress</strong> afin que notre projet, malgré qu&#8217;il soit en flash, <strong>comporte des urls distinctes pour chaque page et supporte le retour natif navigateur</strong>.</p>
<p style="text-align: center;"><a href="http://www.webdesign-festival.com/2010/equipes/preselections/crealpha/#/Fr/index.html" target="_blank"><img class="aligncenter size-medium wp-image-154" title="accueil" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/02/accueil-300x174.jpg" alt="" width="300" height="174" />Voir la page d&#8217;accueil du site</a></p>
<p style="text-align: justify;"><em>D&#8217;environ 15h à 10h</em>, <strong>Gabriel</strong> a travaillé sur <strong>la création 3d et graphique</strong> <em>avec quelques intégrations pour me gagner du temps</em> pendant que <strong>je développe en AS3 toutes les pages</strong>.  Le tout, est ponctué <strong>de pause pour manger ou filmer des séquences</strong>, comme <em>vers 3h du matin</em> avec <strong>une course dans mon garage</strong> pour la séquence de la peur. <em>De 10 à 12h</em>, nous  nous sommes concentrés sur <strong>les choix sonores</strong> (musique, montage, développement as3 &#8230;) ainsi que sur <strong>la rédaction des textes</strong>. <em>De 12h à 14h</em>, nous avons peaufiné jusqu&#8217;à la dernière minute : c<strong>orrection orthographique, correction de bug ou de faute d&#8217;intention (ou de fatigue) &#8230;</strong> Ces deux dernières heures nous ont réveillé après <strong>une nuit sans fermer l&#8217;œil pour gabriel et avec une sieste de 20 minute</strong>s pour moi.</p>
<p style="text-align: justify;"><strong>Le jury</strong> se réuni courant mars pour choisir <strong>parmi l&#8217;ensemble des créations</strong> (soixantaine) les équipes qui participeront au <strong>concours final</strong>. A suivre donc &#8230;</p>
<p style="text-align: justify;"><strong>Plus d&#8217;informations :</strong></p>
<ul>
<li><a href="http://www.gabrieluribe.com/" target="_blank">Le site de Gabriel Uribe : Graphiste</a></li>
<li><a href="http://www.webdesign-festival.com/2010/equipes/preselections/crealpha/" target="_blank">Notre création</a></li>
<li><a href="http://www.webdesign-festival.com/2010/equipes/WIF-online.html">Toutes les créations du WIF</a></li>
</ul>
<p>Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/site-web/comment-souhaiter-la-bonne-annee-2010/' rel='bookmark' title='Comment souhaiter la bonne année 2010 ?'>Comment souhaiter la bonne année 2010 ?</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/un-textarea-qui-se-redimensionne-avec-jquery/' rel='bookmark' title='Un textarea qui se redimensionne avec Jquery'>Un textarea qui se redimensionne avec Jquery</a></li>
<li><a href='http://www.le-pret-a-surfer.com/site-web/nostalgique-du-56k-des-chargements-par-centaine/' rel='bookmark' title='Nostalgique du 56k &#8230; des chargements par centaine'>Nostalgique du 56k &#8230; des chargements par centaine</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.le-pret-a-surfer.com/site-web/wif2010-preselection-souvenir-dune-realisation-dun-site-web-en-24h/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rope n&#8217;fly : le SpiderMan de l&#8217;iPhone pour une bonne ballade</title>
		<link>http://www.le-pret-a-surfer.com/iphone/rope-nfly-le-spiderman-de-liphone-pour-une-bonne-ballade/</link>
		<comments>http://www.le-pret-a-surfer.com/iphone/rope-nfly-le-spiderman-de-liphone-pour-une-bonne-ballade/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 08:25:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.le-pret-a-surfer.com/?p=126</guid>
		<description><![CDATA[Vous avez toujours rêvé, ou pas, de porter les collants de superman ?, de vous balader d&#8217;immeuble en immeuble, de sentir le vent dans vos cheveux, l&#8217;adrénaline monter à chaque saut et enfin de vous écraser au sol juste après avoir eu le temps de dire &#171;&#160;oups&#160;&#187; ? Il y a une application iPhone pour [...]
Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/site-web/comment-souhaiter-la-bonne-annee-2010/' rel='bookmark' title='Comment souhaiter la bonne année 2010 ?'>Comment souhaiter la bonne année 2010 ?</a></li>
<li><a href='http://www.le-pret-a-surfer.com/iphone/parrot-ar-drone-un-buzz-qui-plane/' rel='bookmark' title='Parrot AR.Drone un buzz qui plane'>Parrot AR.Drone un buzz qui plane</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/optimiser-son-blog-wordpress-pour-le-referencement/' rel='bookmark' title='Optimiser son blog wordpress pour le référencement'>Optimiser son blog wordpress pour le référencement</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fiphone%2Frope-nfly-le-spiderman-de-liphone-pour-une-bonne-ballade%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fiphone%2Frope-nfly-le-spiderman-de-liphone-pour-une-bonne-ballade%2F&amp;source=mandonnaud&amp;style=normal&amp;service=is.gd&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Vous avez toujours rêvé, ou pas, de porter <strong>les collants de superman ?</strong>, de <strong>vous balader d&#8217;immeuble en immeuble</strong>, de sentir le vent dans vos cheveux, <strong>l&#8217;adrénaline</strong> monter à <strong>chaque saut</strong> et enfin de <strong>vous écraser au sol</strong> juste après avoir eu le temps de dire &laquo;&nbsp;oups&nbsp;&raquo; ?</p>
<p>Il y a une application iPhone pour ça.</p>
<p><a href="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/IMG_0403.png"><img class="aligncenter size-medium wp-image-129" title="IMG_0403" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/IMG_0403-200x300.png" alt="" width="200" height="300" /></a></p>
<h3>Rope n&#8217;fly, SpiderMan sans les collants</h3>
<p>Petit <strong>jeu bien addictif </strong>rope n&#8217;fly vous propose une bonne ballade. <strong>Touchez un immeuble pour accrocher votre toile et une seconde fois pour la lâcher</strong> et réalisez un <strong>magnifique vole plané</strong> avant le prochain immeuble. Plus le file est long et plus l&#8217;amplitude vous fera <strong>prendre de la vitesse</strong> mais plus vous risquez aussi de <strong>vous prendre le sol.</strong></p>
<p><strong>La sensation est au rendez vous</strong>, après deux ou trois chutes pour comprendre le fonctionnement, <strong>on ne peut plus s&#8217;arrêter</strong>.</p>
<p><a href="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/IMG_0401.png"><img class="aligncenter size-medium wp-image-130" title="IMG_0401" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/IMG_0401-300x200.png" alt="" width="300" height="200" /></a></p>
<h3>Plusieurs modes de ballade entre immeubles</h3>
<p><strong>Rope n&#8217;fly</strong> propose en <strong>deux modes de jeu</strong> :</p>
<ul>
<li>un contre la montre &laquo;&nbsp;<strong>Speed mode</strong>&nbsp;&raquo; où vous avez <strong>trente secondes</strong> pour aller le plus loin possible, <strong>idéal pour une partie rapide</strong> quand on ne veut pas s&#8217;éterniser !</li>
<li>un <strong>mode libre &laquo;&nbsp;free&nbsp;&raquo;</strong> qui se décline en trois difficultés : Training, Normal et Hard ou seul votre patience ou <strong>votre dextérité</strong> conclura votre aventure. Une fois très à l&#8217;aise en Free mode, <strong>cette liberté de pouvoir aller plus loin</strong> est très agréable.</li>
</ul>
<p><a href="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/IMG_0368.png"><img class="aligncenter size-medium wp-image-131" title="IMG_0368" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/IMG_0368-300x200.png" alt="" width="300" height="200" /></a></p>
<h3>Tissez votre toile le plus loin possible pour 0,79 €.</h3>
<p>Pour chaque mode, il y a un <strong>meilleur score de mémorisé sur &#8216;iphone </strong>(suffisamment rare sur les applications pour le signaler) en plus d&#8217;un tableau <strong>en ligne</strong> pour vous confronter au reste des gamers.</p>
<p>On note également dans le menu des options qui permettent de changer les couleurs de votre personnage de façon assez limitée.</p>
<p><strong>L&#8217;application est disponible en version de demo gratuitement et en version complète à <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/browserRedirect?url=itms%253A%252F%252Fitunes.apple.com%252FWebObjects%252FMZStore.woa%252Fwa%252FviewSoftware%253Fid%253D314560958%2526mt%253D8%2526partnerId%253D2003%2526tduid%253Dad34f21230f41a14eb4dd5f31c0229fc%2526affId%253D1598570">0.79 €</a></strong></p>
<p>On peu le dire, <strong>une application sur laquelle il faut sauter !</strong></p>
<p style="text-align: center;"><object width="425" height="350"><param name="movie" value="CWwN6PDnZmM"></param><param name="wmode" value="transparent" ></param><embed src="http://www.youtube.com/v/CWwN6PDnZmM" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object><br />http://www.youtube.com/watch?v=CWwN6PDnZmM</p>
<h3>Spiderman légo, une vidéo <del datetime="2010-01-27T18:26:22+00:00">en béton</del> en brique</h3>
<p>En attendant l&#8217;application qui nous donnera le chemin le plus rapide par les toits, je conclue cet article par <strong>une vidéo</strong> sortie des cartons <strong>qui vos le détours</strong> et dans le thème ^^</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="320" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="data" value="http://www.koreus.com/video/lego_spiderman" /><param name="src" value="http://www.koreus.com/video/lego_spiderman" /><embed type="application/x-shockwave-flash" width="400" height="320" src="http://www.koreus.com/video/lego_spiderman" data="http://www.koreus.com/video/lego_spiderman"></embed></object></p>
<p>Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/site-web/comment-souhaiter-la-bonne-annee-2010/' rel='bookmark' title='Comment souhaiter la bonne année 2010 ?'>Comment souhaiter la bonne année 2010 ?</a></li>
<li><a href='http://www.le-pret-a-surfer.com/iphone/parrot-ar-drone-un-buzz-qui-plane/' rel='bookmark' title='Parrot AR.Drone un buzz qui plane'>Parrot AR.Drone un buzz qui plane</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/optimiser-son-blog-wordpress-pour-le-referencement/' rel='bookmark' title='Optimiser son blog wordpress pour le référencement'>Optimiser son blog wordpress pour le référencement</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.le-pret-a-surfer.com/iphone/rope-nfly-le-spiderman-de-liphone-pour-une-bonne-ballade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enlever les pointillés des liens avec du CSS</title>
		<link>http://www.le-pret-a-surfer.com/web/css/enlever-les-pointilles-des-liens-avec-du-css/</link>
		<comments>http://www.le-pret-a-surfer.com/web/css/enlever-les-pointilles-des-liens-avec-du-css/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 12:10:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[html a]]></category>

		<guid isPermaLink="false">http://www.le-pret-a-surfer.com/?p=110</guid>
		<description><![CDATA[Petit détail que ces pointillés, mais détaille qui fait tache et une tache sur un Van Gogh, on est d&#8217;accord, ça craint ? Ce que nous voulons supprimer, donc, ce sont les pointillés qui entourent les liens comme sur cette image : Supprimer ce contour pointilleux avec outline Pour les faire disparaitre, rien de très [...]
Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/un-textarea-qui-se-redimensionne-avec-jquery/' rel='bookmark' title='Un textarea qui se redimensionne avec Jquery'>Un textarea qui se redimensionne avec Jquery</a></li>
<li><a href='http://www.le-pret-a-surfer.com/non-classe/controler-des-projecteurs-avec-liphone-et-sunlite/' rel='bookmark' title='Controler des projecteurs avec l&#8217;iphone et sunlite'>Controler des projecteurs avec l&#8217;iphone et sunlite</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/sortie-de-jquery-1-4-4-ans-de-loyaux-services/' rel='bookmark' title='Sortie de jQuery 1.4, 4 ans de loyaux services'>Sortie de jQuery 1.4, 4 ans de loyaux services</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fweb%2Fcss%2Fenlever-les-pointilles-des-liens-avec-du-css%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fweb%2Fcss%2Fenlever-les-pointilles-des-liens-avec-du-css%2F&amp;source=mandonnaud&amp;style=normal&amp;service=is.gd&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Petit détail que <strong>ces pointillés</strong>, mais <strong>détaille qui fait tache</strong> et une tache sur un Van Gogh, on est d&#8217;accord, ça craint ?</p>
<p>Ce que nous voulons <strong>supprimer</strong>, donc, ce sont <strong>les pointillés qui entourent les liens</strong> comme sur cette image :</p>
<p><a href="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/lien-avec-pointiller.jpg"><img border="0" class="aligncenter size-full wp-image-111" title="lien-avec-pointiller" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/lien-avec-pointiller.jpg" alt="" width="200" height="99" /></a></p>
<h3>Supprimer ce contour pointilleux avec outline</h3>
<p>Pour les <strong>faire disparaitre,</strong> rien de très sorcier, juste <strong>une propriété CSS</strong> :</p>
<div class="codecolorer-container css default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">a <span style="color: #00AA00;">&#123;</span> &nbsp; <span style="color: #000000; font-weight: bold;">outline</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></div></div>
<h3>A quoi sert la propriété css : outLine</h3>
<p>La <strong>propriété css outline</strong> permet de spécifier les propriétés des <strong>quatre contours </strong>d&#8217;un <strong>élément exactement comme un border</strong>.</p>
<h3>C&#8217;est quoi la différence alors entre outline et border ?</h3>
<p>La différence, ces contours viennent au <strong>dessus de l&#8217;élément</strong> et <strong>n&#8217;interviennent pas dans la taille de l&#8217;élément</strong>.</p>
<p>Exemple :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;border:3px #F00 solid; outline:3px solid #FC0; width:100px; height:100px;&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span></div></div>
<p><a href="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/border.jpg"><img border="0" class="aligncenter size-full wp-image-112" title="border" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/border.jpg" alt="" width="132" height="132" /></a>Plus d&#8217;informations</p>
<p>Source : <a href="http://www.guillaumebizet.fr/post/2008/07/29/%5BCSS%5D-Enlever-les-pointilles-des-liens" target="_blank">guillaumebizet.fr</a> &amp; <a href="http://www.zonecss.fr/style_css/feuille_css_outline.html" target="_blank">zoneCSS</a></p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 583px; width: 1px; height: 1px;">http://www.guillaumebizet.fr/post/2008/07/29/%5BCSS%5D-Enlever-les-pointilles-des-liens</div>
<p>Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/un-textarea-qui-se-redimensionne-avec-jquery/' rel='bookmark' title='Un textarea qui se redimensionne avec Jquery'>Un textarea qui se redimensionne avec Jquery</a></li>
<li><a href='http://www.le-pret-a-surfer.com/non-classe/controler-des-projecteurs-avec-liphone-et-sunlite/' rel='bookmark' title='Controler des projecteurs avec l&#8217;iphone et sunlite'>Controler des projecteurs avec l&#8217;iphone et sunlite</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/sortie-de-jquery-1-4-4-ans-de-loyaux-services/' rel='bookmark' title='Sortie de jQuery 1.4, 4 ans de loyaux services'>Sortie de jQuery 1.4, 4 ans de loyaux services</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.le-pret-a-surfer.com/web/css/enlever-les-pointilles-des-liens-avec-du-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Un jeu qu&#8217;il fallait trouver : frankenstein</title>
		<link>http://www.le-pret-a-surfer.com/iphone/un-jeu-quil-fallait-trouver-frankenstein/</link>
		<comments>http://www.le-pret-a-surfer.com/iphone/un-jeu-quil-fallait-trouver-frankenstein/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 11:07:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[point & click]]></category>

		<guid isPermaLink="false">http://www.le-pret-a-surfer.com/?p=87</guid>
		<description><![CDATA[Habitué a chercher les clefs dans votre appartement en bordel, voici un jeu qui sera un jeu d&#8217;enfant pour vous ! Frankenstein, la mariée démembrée, est un petit jeu au concept simple, chercher dans des tableaux pleins d&#8217;objets. Sous cette consigne simple se cache un jeu vite prenant. Des tableaux variés dans l&#8217;univers de Frankenstein [...]
Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/iphone/parrot-ar-drone-un-buzz-qui-plane/' rel='bookmark' title='Parrot AR.Drone un buzz qui plane'>Parrot AR.Drone un buzz qui plane</a></li>
<li><a href='http://www.le-pret-a-surfer.com/iphone/rope-nfly-le-spiderman-de-liphone-pour-une-bonne-ballade/' rel='bookmark' title='Rope n&#8217;fly : le SpiderMan de l&#8217;iPhone pour une bonne ballade'>Rope n&#8217;fly : le SpiderMan de l&#8217;iPhone pour une bonne ballade</a></li>
<li><a href='http://www.le-pret-a-surfer.com/non-classe/controler-des-projecteurs-avec-liphone-et-sunlite/' rel='bookmark' title='Controler des projecteurs avec l&#8217;iphone et sunlite'>Controler des projecteurs avec l&#8217;iphone et sunlite</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fiphone%2Fun-jeu-quil-fallait-trouver-frankenstein%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fiphone%2Fun-jeu-quil-fallait-trouver-frankenstein%2F&amp;source=mandonnaud&amp;style=normal&amp;service=is.gd&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Habitué a <strong>chercher les clefs</strong> dans votre <strong>appartement en bordel</strong>, voici <strong>un jeu</strong> qui sera un jeu d&#8217;enfant pour vous !</p>
<p><strong>Frankenstein, la mariée démembrée</strong>, est un petit <strong>jeu au concept simple</strong>, <strong>chercher dans des tableaux pleins d&#8217;objets</strong>. Sous cette consigne simple se cache un jeu vite prenant.</p>
<p><a href="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/IMG_03671-e1263896105722.png"><img class="aligncenter size-full wp-image-118" title="Frankenstein" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/IMG_03671-e1263896105722.png" alt="" width="480" height="320" /></a></p>
<h3>Des tableaux variés dans l&#8217;univers de Frankenstein</h3>
<p><strong>Le jeu</strong> se déroule dans <strong>le manoir de Frankenstein</strong> dans de <strong>magnifiques et grandioses dessins</strong>, très très <strong>riche en détails</strong>. Et c&#8217;est tout là <strong>l&#8217;intérêt du jeu</strong>, balader le joueur dans un <strong>univers peaufiné</strong>. L&#8217;interface permet de <strong>zoomer</strong> dans chaque tableaux, afin d&#8217;en scruté chaque recoin.</p>
<p><a href="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/IMG_03631.png"><img class="aligncenter size-full wp-image-119" title="manoir" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/IMG_03631-e1263896282106.png" alt="" width="480" height="320" /></a></p>
<h3>Un scénario rempli d&#8217;humour</h3>
<p>Vous incarnez Brad, un homme à la recherche de sa femme qui a disparu depuis plusieurs mois en Europe plus exactement <strong>en Bavière</strong>. Il tombe <em>malheureusement</em> en panne, <strong>cherchant de l&#8217;aide dans un manoir</strong>, manoir où il va découvrir que <strong>ça femme est cachée</strong>, <em>comment dire</em>, en plusieurs morceaux, dont son cerveau &#8230; qui parle &#8230;</p>
<p>Vous l&#8217;aurez compris <strong>cliché et humour bien décalé</strong> : voila de quoi est composé <strong>le scénario</strong>.</p>
<p><a href="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/IMG_03651.png"><img class="aligncenter size-full wp-image-120" title="IMG_0365[1]" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/IMG_03651-e1263896459459.png" alt="" width="480" height="320" /></a></p>
<h3>Un jeu Hdo adventure, l&#8217;aventure par l&#8217;observation</h3>
<p>Ce jeu fait parti d&#8217;une grande famille de titre, regroupé sous le label <strong>Hdo adventure</strong>. L&#8217;ensemble de leurs créations sont <strong>disponible sur PC/mac</strong> et <strong>certaines</strong> sont portées sur <strong>iphone.</strong></p>
<p>J&#8217;ai essayé le jeu <strong>en version gratuite,</strong> le trouvant dans les sorties récentes. J&#8217;ai donc parcouru trois tableaux, je me suis pris au jeu, la recherche est un petit peu ardues et <strong>l&#8217;humour décalé agreable</strong>.</p>
<p>Une fois la demo finie, même si le charme opère, <strong>je ne suis pas convaincu</strong>. Peut être à cause du prix de la version complète de 13€ (sur iphone) contenant, <em>seulement</em>,  23 tableaux.</p>
<p>Plus d&#8217;information</p>
<ul>
<li><a href="http://www.hdo-adventure.com/fiche.html?produit=frankenstein&amp;c=5" target="_blank">La fiche du jeu sur le site officiel</a></li>
<li><a href="http://www.hdo-adventure.com" target="_blank">Le site officiel de hdo adventure</a></li>
</ul>
<p>Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/iphone/parrot-ar-drone-un-buzz-qui-plane/' rel='bookmark' title='Parrot AR.Drone un buzz qui plane'>Parrot AR.Drone un buzz qui plane</a></li>
<li><a href='http://www.le-pret-a-surfer.com/iphone/rope-nfly-le-spiderman-de-liphone-pour-une-bonne-ballade/' rel='bookmark' title='Rope n&#8217;fly : le SpiderMan de l&#8217;iPhone pour une bonne ballade'>Rope n&#8217;fly : le SpiderMan de l&#8217;iPhone pour une bonne ballade</a></li>
<li><a href='http://www.le-pret-a-surfer.com/non-classe/controler-des-projecteurs-avec-liphone-et-sunlite/' rel='bookmark' title='Controler des projecteurs avec l&#8217;iphone et sunlite'>Controler des projecteurs avec l&#8217;iphone et sunlite</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.le-pret-a-surfer.com/iphone/un-jeu-quil-fallait-trouver-frankenstein/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sortie de jQuery 1.4, 4 ans de loyaux services</title>
		<link>http://www.le-pret-a-surfer.com/web/java-script-jquery/sortie-de-jquery-1-4-4-ans-de-loyaux-services/</link>
		<comments>http://www.le-pret-a-surfer.com/web/java-script-jquery/sortie-de-jquery-1-4-4-ans-de-loyaux-services/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 11:13:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Jquery]]></category>

		<guid isPermaLink="false">http://www.le-pret-a-surfer.com/?p=94</guid>
		<description><![CDATA[jQuery est une bibliothèque JavaScript rapide et concise qui simplifie la programmation : gestion d&#8217;évènement, animation, modification du HTML ou encore intéraction AJAX &#8230; Pour fêter le 4ième anniversaire de jQuery, l&#8217;équipe nous offre en cadeau sa nouvelle version 1.4. Voici quelques unes des modifications apportées à jQuery. Amélioration des performances des méthodes les plus [...]
Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/mselect-plugin-jquery-pour-realiser-des-listes-html-personnalisees/' rel='bookmark' title='mSelect : Plugin Jquery pour réaliser des listes html personnalisées'>mSelect : Plugin Jquery pour réaliser des listes html personnalisées</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/jquery-mselect-ajout-dune-scrollbar-personnalisable/' rel='bookmark' title='[MAJ]Jquery : mSelect ajout d&#8217;une scrollbar personnalisable'>[MAJ]Jquery : mSelect ajout d&#8217;une scrollbar personnalisable</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/un-textarea-qui-se-redimensionne-avec-jquery/' rel='bookmark' title='Un textarea qui se redimensionne avec Jquery'>Un textarea qui se redimensionne avec Jquery</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fweb%2Fjava-script-jquery%2Fsortie-de-jquery-1-4-4-ans-de-loyaux-services%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.le-pret-a-surfer.com%2Fweb%2Fjava-script-jquery%2Fsortie-de-jquery-1-4-4-ans-de-loyaux-services%2F&amp;source=mandonnaud&amp;style=normal&amp;service=is.gd&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><strong>jQuery</strong> est une <strong>bibliothèque JavaScript rapide et concise</strong> qui simplifie la programmation : <strong>gestion d&#8217;évènement, animation, modification du HTML ou encore intéraction AJAX &#8230;</strong></p>
<p>Pour fêter le <strong>4ième anniversaire de jQuery</strong>, l&#8217;équipe nous offre en cadeau sa nouvelle <strong>version 1.4.</strong> Voici quelques unes des modifications apportées à <strong>jQuery</strong>.</p>
<h3>Amélioration des performances des méthodes les plus utilisées</h3>
<p><strong>L&#8217;équipe de jQuery</strong>, annonce pour cette <strong>version 1.4,</strong> <strong>une refonte des méthodes</strong> les plus couramment utilisées.</p>
<p><a href="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/4271690739_f0bced3a78.jpg"><img class="aligncenter size-full wp-image-95" title="4271690739_f0bced3a78" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/4271690739_f0bced3a78.jpg" alt="" width="500" height="375" /></a></p>
<p>Sur cette image, les résultats fournis par le site officiel montre des résultats impressionnants ! Ces résultats ont été obtenu grâce à une <strong>simplification du code</strong>, <em>surement plus facile à dire qu&#8217;à faire !</em></p>
<p><em> </em><a href="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/4271691147_fd72853fa4.jpg"><img class="aligncenter size-full wp-image-96" title="4271691147_fd72853fa4" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/4271691147_fd72853fa4.jpg" alt="" width="500" height="375" /></a></p>
<h3>Ajout de fonctionnalité à plusieurs fonctions de manipulation html</h3>
<p>Jusqu&#8217;à présent l&#8217;utilisation de <strong>la fonction .attr()</strong> pouvez <strong>retourner la valeur de l&#8217;attribut visé</strong>. Cette <strong>fonctionnalité</strong> est maintenant étendue à toutes les méthodes suivantes : <strong>.css(), .attr(), .val(), .html(), .text(), .append(), .prepend(), .before(), .after(), .replaceWith(), .wrap(), .wrapInner(), .offset(), .addClass(), .removeClass(), et .toggleClass()</strong>.</p>
<p>Sur <strong>les méthodes suivantes .css(), .attr(), .val(), .html(), .text(), .append(), .prepend(), .offset(), .addClass(), .removeClass(), et .toggleClass() </strong>comme <strong>second argument</strong>, l&#8217;équipe a rajouté une <strong>nouvelle option à la fonction qui renvoie la valeur actuelle</strong>. Un exemple vaut mieux qu&#8217;un long discourt.</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #006600; font-style: italic;">// Trouve toutes les balises A et enveloppe les $amp; avec une balise span</span><br />
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'a'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>i<span style="color: #339933;">,</span>html<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
<span style="color: #000066; font-weight: bold;">return</span> html.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/&amp;amp;/gi</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'&lt;span class=&quot;amp&quot;&gt;&amp;amp;&lt;/span&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #006600; font-style: italic;">// Ajoute des informations au titre des liens</span><br />
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'a[target]'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;title&quot;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>i<span style="color: #339933;">,</span>title<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
<span style="color: #000066; font-weight: bold;">return</span> title <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot; (Opens in External Window)&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<h3>Ajax</h3>
<h4>Paramétre imbriqué, array</h4>
<p><strong>JQuery 1.4</strong> ajoute le support dans <strong>les paramètres AJAX data d&#8217;une valeur tableau</strong> dans jQuery.param. Exemple :</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">{foo: [&quot;bar&quot;, &quot;baz&quot;]}</div></div>
<p>devient &laquo;&nbsp;foo[]=bar&amp;foo[]=baz&nbsp;&raquo;.</p>
<p>Dans jQuery 1.3, le même code aurait donné &laquo;&nbsp;foo=bar&amp;foo=baz&nbsp;&raquo;</p>
<h4>JSON et script auto-détecté par content-type</h4>
<p>Si la réponse à une <strong>demande d&#8217;Ajax</strong> est retourné avec un &laquo;&nbsp;mine type&nbsp;&raquo; JSON ou javascript, jquery choisira lui même le bon data-type sauf si dataType est spécifié.</p>
<h4>ETAG supporté, gestion du cache navigateur en AJAX</h4>
<p>Par défaut, JQuery ignore l&#8217;en tête &laquo;&nbsp;Last-Modified&nbsp;&raquo; pour les demandes ajax, préférant faire une demande et ignorer le cache navigateur. Pour utiliser le cache navigateur passez le paramètre &laquo;&nbsp;<strong>ifModified</strong>&nbsp;&raquo; sur <strong>true</strong>.</p>
<h4>&laquo;&nbsp;Context&nbsp;&raquo; pour les requêtes</h4>
<p>Afin de simplifier le code, on peut définir <strong>un paramètre &laquo;&nbsp;context&nbsp;&raquo;</strong> afin de spécifier <strong>un cadre pour tous les rappels.</strong></p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">jQuery.<span style="color: #660066;">ajax</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><br />
url<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;test.html&quot;</span><span style="color: #339933;">,</span><br />
context<span style="color: #339933;">:</span> document.<span style="color: #660066;">body</span><span style="color: #339933;">,</span><br />
success<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
jQuery<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;done&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<h3>Construction rapide d&#8217;élément avec jQuery 1.4</h3>
<p>Lorsque vous <strong>créez un seul élément</strong> avec la fonction jQuery, vous pouvez désormais passer <strong>un objet pour définir les attributs</strong> :</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">jQuery<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div&quot;</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span><br />
id<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;foo&quot;</span><span style="color: #339933;">,</span><br />
css<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span><br />
height<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;50px&quot;</span><span style="color: #339933;">,</span><br />
width<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;50px&quot;</span><span style="color: #339933;">,</span><br />
color<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;blue&quot;</span><span style="color: #339933;">,</span><br />
backgroundColor<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;#ccc&quot;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><br />
click<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;backgroundColor&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;red&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">appendTo</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;body&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<h3>Sélection de l&#8217;avant dernier div grâce à .eq(-N), .get(-N)</h3>
<p>Vous pouvez, avec <strong>la version 1.4</strong>, passer dans <strong>.get() et .eq()</strong> <strong>des nombres négatifs</strong> pour par exemple connaitre l&#8217;avant dernier div.</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">eq</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">-</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">get</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">-</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<h3>Nouvelle méthode .first() et .last()</h3>
<p>Pour simplifier, <strong>.first() et .last()</strong> sont des<strong> alias de .eq(0) et .eq(-1)</strong></p>
<h3>Nouvelle méthode .toArray()</h3>
<p>Retourne un tableau contenant les donnés recherchées.</p>
<h3>Optimisation de la fonction .css() (x2) .addClass() .removeClass() et .hasClass() (x3)</h3>
<p><a href="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/4271691599_8a2f2e0624.jpg"><img class="aligncenter size-full wp-image-98" title="4271691599_8a2f2e0624" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/4271691599_8a2f2e0624.jpg" alt="" width="500" height="375" /></a></p>
<p><a href="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/4272434054_819d8f9e19.jpg"><img class="aligncenter size-full wp-image-99" title="4272434054_819d8f9e19" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/4272434054_819d8f9e19.jpg" alt="" width="500" height="375" /></a></p>
<h3>Alterner plusieurs class avec .toggleClass()</h3>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">toggleClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;current active&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<h3>Animation : fonction d&#8217;accélération indépendante pour chaque propriété</h3>
<p>En plus d&#8217;être en mesure de spécifier une <strong>fonction d&#8217;accélération</strong> pour <strong>une animation</strong> vous pouvez maintenant spécifier <strong>une fonction pour les propriétés individuelles.</strong></p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#clickme&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">animate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><br />
width<span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;+=200px&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;swing&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><br />
height<span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;+=50px&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;linear&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">2000</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">after</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;<br />
&lt;div&gt;Animation complete.&lt;/div&gt;<br />
&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<h3>Ajouter plusieurs événements en un seul appel de la méthode .bing()</h3>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div.test&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">bind</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><br />
click<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;active&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><br />
mouseenter<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;inside&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><br />
mouseleave<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;inside&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<h3>Optimisation des manipulations html de jQuery</h3>
<p><a href="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/4271691471_1240afd5af.jpg"><img class="aligncenter size-full wp-image-100" title="4271691471_1240afd5af" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/4271691471_1240afd5af.jpg" alt="" width="500" height="375" /></a><br />
<a href="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/4271691747_0cce01a33d.jpg"><img class="aligncenter size-full wp-image-101" title="4271691747_0cce01a33d" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/4271691747_0cce01a33d.jpg" alt="" width="500" height="375" /></a><br />
<a href="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/4271690883_3224979b9b.jpg"><img class="aligncenter size-full wp-image-102" title="4271690883_3224979b9b" src="http://www.le-pret-a-surfer.com/wp-content/uploads/2010/01/4271690883_3224979b9b.jpg" alt="" width="500" height="375" /></a></p>
<h3>Nouvelle méthode .detach() (un remove() temporaire)</h3>
<p>.detach () <strong>supprime un élément du DOM</strong> mais<strong> ne supprime pas les gestionnaires d&#8217;événements</strong> associés. Ceci est approprié pour éliminer temporairement un élément à manipuler et ajouter ensuite.</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #003366; font-weight: bold;">var</span> foo <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#foo&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #006600; font-style: italic;">// do something</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
foo.<span style="color: #660066;">detach</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #006600; font-style: italic;">// foo retains event handlers</span><br />
foo.<span style="color: #660066;">appendTo</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;body&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<h3>Nouvelle méthode unwrap() supprimer le conteneur mais le contenu.</h3>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
<br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span>annie<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span><br />
<br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span>davey<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span><br />
<br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span>stevie<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span><br />
<br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span></div></div>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">unwrap</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span>annie<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span><br />
<br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span>davey<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span><br />
<br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span>stevie<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span></div></div>
<h3>before, after, replaceWith sur les nœuds déconnectés avec jQuery 1.4</h3>
<p>Vous pouvez maintenant utiliser before, after et replaceWith sur les noeuds qui ne sont pas attachés aux DOM. Cela vous permet de faire des manipulations plus complexes, avant d&#8217;insérer la structure finale dans le DOM.</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">jQuery<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">before</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Hello&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">appendTo</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;body&quot;</span><span style="color: #009900;">&#41;</span></div></div>
<h3>Lancement avec délais, nouvelle méthode jquery : .delay()</h3>
<p><strong>.delay(x) retarde les éléments de x milliseconde.</strong></p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fadeIn</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">delay</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">4000</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fadeOut</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<h3>Gestion d&#8217;une fille d&#8217;attente en jQuery :  .queue()</h3>
<p>Dans <strong>jQuery 1.4</strong> la <strong>fonction queue</strong> permet de <strong>crée une fille d&#8217;attente</strong> et de<strong> lancer des fonctions les une après les autres</strong> une fois la première fini.</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">jQuery<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">queue</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ajax&quot;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>next<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #003366; font-weight: bold;">var</span> self <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span><span style="color: #339933;">;</span><br />
jQuery.<span style="color: #660066;">getJSON</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;/update&quot;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>json<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
$<span style="color: #009900;">&#40;</span>self<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span>json.<span style="color: #660066;">text</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
next<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">queue</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ajax&quot;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fadeIn</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>.clearQueue() permet de vider cette fille d&#8217;attente.</p>
<h3>Et ce n&#8217;est pas tous</h3>
<p>Je n&#8217;ai pas parlé de toutes les nouvelles méthodes et améliorations. L&#8217;ensemble des mises à jour et plus de détaille sur le <a href="http://jquery14.com/day-01/jquery-14" target="_blank">site officiel de jQuery en anglais</a></p>
<p>Article en rapport :<ol>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/mselect-plugin-jquery-pour-realiser-des-listes-html-personnalisees/' rel='bookmark' title='mSelect : Plugin Jquery pour réaliser des listes html personnalisées'>mSelect : Plugin Jquery pour réaliser des listes html personnalisées</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/jquery-mselect-ajout-dune-scrollbar-personnalisable/' rel='bookmark' title='[MAJ]Jquery : mSelect ajout d&#8217;une scrollbar personnalisable'>[MAJ]Jquery : mSelect ajout d&#8217;une scrollbar personnalisable</a></li>
<li><a href='http://www.le-pret-a-surfer.com/web/java-script-jquery/un-textarea-qui-se-redimensionne-avec-jquery/' rel='bookmark' title='Un textarea qui se redimensionne avec Jquery'>Un textarea qui se redimensionne avec Jquery</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.le-pret-a-surfer.com/web/java-script-jquery/sortie-de-jquery-1-4-4-ans-de-loyaux-services/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

