<?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>JQuery, PHP, html, design... // arnaud-k : un blog de geek</title>
	<atom:link href="http://blog.arnaud-k.fr/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.arnaud-k.fr</link>
	<description>Le blog JQuery, Html, Web Design</description>
	<lastBuildDate>Thu, 21 Apr 2011 08:10:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Les web designs de la semaine</title>
		<link>http://blog.arnaud-k.fr/2011/04/21/les-web-designs-de-la-semaine/</link>
		<comments>http://blog.arnaud-k.fr/2011/04/21/les-web-designs-de-la-semaine/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 07:50:54 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[agence web]]></category>
		<category><![CDATA[freelance]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1988</guid>
		<description><![CDATA[Après 6 mois d&#8217;arrêt, le blog n&#8217;est pas (totalement) mort ! Pour une reprise en douceur, voici une sélection de 5 sites web de freelances ou d&#8217;agences web qui m&#8217;ont plu en terme de graphisme et en terme de navigation&#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2011/04/21/les-web-designs-de-la-semaine/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2011%2F04%2F21%2Fles-web-designs-de-la-semaine%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2011%2F04%2F21%2Fles-web-designs-de-la-semaine%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Après 6 mois d&#8217;arrêt, le blog n&#8217;est pas (totalement) mort !</p>
<p>Pour une reprise en douceur, voici une sélection de <strong>5 sites web de freelances ou d&#8217;agences web</strong> qui m&#8217;ont plu en terme de graphisme et en terme de navigation !</p>
<h3>Ghost Horses</h3>
<p>Un travail sur les typographies, un humour très second degrés et une pointe de JavaScript. Le tout avec un design sobre.</p>
<p><a href="http://www.ghosthorses.co.uk/"><img class="aligncenter size-full wp-image-1990" title="Ghost Horses" src="http://blog.arnaud-k.fr/wp-content/uploads/2011/03/Ghost-Horses.png" alt="" width="600" height="338" /></a></p>
<h3>Two24</h3>
<p>Un site avec une photo en noir &amp; blanc en plein écran et en fond. Le tout très sombre. Je trouve l&#8217;ensemble réussi.</p>
<p><a href="http://two24studios.com/"><img class="aligncenter size-full wp-image-1993" title="Two24 Studios" src="http://blog.arnaud-k.fr/wp-content/uploads/2011/03/Two24-Studios.png" alt="" width="600" height="378" /></a></p>
<h3>Tom Pain</h3>
<p>Un joli site avec une navigation originale. Le tout est animé à l&#8217;aide de JQuery et la navigation peut se faire au clavier. À tester donc.</p>
<p><a href="http://www.tompain.co.uk/"><img class="aligncenter size-full wp-image-1992" title="Tom Pain" src="http://blog.arnaud-k.fr/wp-content/uploads/2011/03/Tom-Pain.png" alt="" width="600" height="365" /></a></p>
<h3>2am Media</h3>
<p>Le site d&#8217;une agence web anglaise, utilisant une grande photo en noir et blanc en background et on retrouve une belle utilisation de la couleur dans les éléments HTML.</p>
<p><a href="http://2ammedia.co.uk/"><img src="http://blog.arnaud-k.fr/wp-content/uploads/2011/03/2am.png" alt="" title="2am" width="600" height="357" class="aligncenter size-full wp-image-1989" /></a></p>
<h3>Impala Webstudio</h3>
<p>Le site d&#8217;une agence française, pour une fois ! Un fond gris, des typos recherchées (et utilisant @font-face), des belles photos, un slider (fait avec JQuery)&#8230; Tout pour me plaire ! J&#8217;aime également assez ce qu&#8217;ils ont fait sur la page <a href="http://www.impala-webstudio.fr/studio/">L&#8217;équipe</a>.</p>
<p><a href="http://www.impala-webstudio.fr/"><img src="http://blog.arnaud-k.fr/wp-content/uploads/2011/03/Impala-Webstudio.png" alt="" title="Impala Webstudio" width="600" height="363" class="aligncenter size-full wp-image-1991" /></a>.</p>


<p>Pas encore de billet sur le même sujet !</p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2011/04/21/les-web-designs-de-la-semaine/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Le blog, le retour !</title>
		<link>http://blog.arnaud-k.fr/2011/04/20/le-blog-le-retour/</link>
		<comments>http://blog.arnaud-k.fr/2011/04/20/le-blog-le-retour/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 07:45:38 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[développement du blog]]></category>
		<category><![CDATA[arnaud-k]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1996</guid>
		<description><![CDATA[Après 6 mois de pause, je suis de retour sur le blog. Je vais essayer de bloguer de manière plus régulière et de m&#8217;astreindre un certain rythme de publication d&#8217;articles. Ces 6 mois n&#8217;ont pas été de tout repos, avec&#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2011/04/20/le-blog-le-retour/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2011%2F04%2F20%2Fle-blog-le-retour%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2011%2F04%2F20%2Fle-blog-le-retour%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Après 6 mois de pause, je suis de retour sur le blog. Je vais essayer de bloguer de manière plus régulière et de m&#8217;astreindre un certain rythme de publication d&#8217;articles.</p>
<p>Ces 6 mois n&#8217;ont pas été de tout repos, avec plein de projets réalisés au sein de Moon Websites, l&#8217;agence web pour laquelle je bosse, et deux projets persos (mais ça j&#8217;en reparlerai plus tard).</p>
<p>Au niveau de la ligne éditoriale du blog, elle ne bougera pas pour l&#8217;instant. Toujours du JQuery, du web design, du développement front-end et un peu de graphisme et de la photo.</p>
<p>J&#8217;espère que tu continueras à me suivre !</p>


<p>Pas encore de billet sur le même sujet !</p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2011/04/20/le-blog-le-retour/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>La sélection des meilleurs web designs de la semaine</title>
		<link>http://blog.arnaud-k.fr/2010/09/30/la-selection-des-meilleurs-web-design-de-la-semaine/</link>
		<comments>http://blog.arnaud-k.fr/2010/09/30/la-selection-des-meilleurs-web-design-de-la-semaine/#comments</comments>
		<pubDate>Thu, 30 Sep 2010 07:20:48 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[bokeh]]></category>
		<category><![CDATA[illustrations]]></category>
		<category><![CDATA[sélection]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1963</guid>
		<description><![CDATA[Pour éviter de présenter un webdesign par ci par là sur ce blog, j&#8217;ai décidé d&#8217;en regrouper plusieurs par articles, de te faire une sélection hebdomadaire de webdesigns originaux, bien réalisés et qui donnent de l&#8217;inspiration. Pour cette première, j&#8217;en&#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2010/09/30/la-selection-des-meilleurs-web-design-de-la-semaine/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F30%2Fla-selection-des-meilleurs-web-design-de-la-semaine%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F30%2Fla-selection-des-meilleurs-web-design-de-la-semaine%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Pour éviter de présenter un webdesign par ci par là sur ce blog, j&#8217;ai décidé d&#8217;en regrouper plusieurs par articles, de te <strong>faire une sélection hebdomadaire de webdesigns originaux, bien réalisés et qui donnent de l&#8217;inspiration.</strong></p>
<p>Pour cette première, j&#8217;en ai sélectionné 6 qui sont assez variés. Cela va du portfolio utilisant l&#8217;effet bokeh au site d&#8217;une agence web australienne avec plein d&#8217;illustrations (il faut cliquer sur les captures d&#8217;écran pour accéder aux sites).</p>
<h3 style="margin-bottom: 5px;">Yummy Wakame</h3>
<p style="margin-bottom: 5px;">Un portfolio bien réalisé, très coloré et utilisant l&#8217;effet bokeh (voir <a href="http://fr.wikipedia.org/wiki/Bokeh">wikipedia</a>). Tous le site joue avec des effets de lumière.</p>
<p><a href="http://www.yummy-wakame.com/"><img class="aligncenter size-full wp-image-1964" title="sem39-1" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/sem39-1.jpg" alt="" width="600" height="350" /></a></p>
<h3 style="margin-bottom: 5px;">Green Woods CC</h3>
<p style="margin-bottom: 5px;">Ce qui m&#8217;a le plus marqué celui-ci, c&#8217;est bien évidemment le header que je trouve très réussi. Les divers effets de transparence également utilisés dans le contenu et le footer sont également bien faits.</p>
<p><a href="http://www.greenwoodscc.net/"><img class="aligncenter size-full wp-image-1965" title="sem39-3" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/sem39-3.jpg" alt="" width="600" height="350" /></a></p>
<h3 style="margin-bottom: 5px;">Southern Comfort</h3>
<p style="margin-bottom: 5px;">Le site allemand d&#8217;une marque de liqueur de whisky (il faut donner sa date de naissance pour y entrer !). On y retrouve des illustrations et des photos qui sont intégrées entre elles. Et le site utilise JQuery pour le slider de la page d&#8217;accueil, que demander de plus ?</p>
<p><a href="http://www.southerncomfort.de/default.aspx"><img class="aligncenter size-full wp-image-1966" title="sem39-4" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/sem39-4.jpg" alt="" width="600" height="350" /></a><a href="http://www.orangecinemaseries.fr/evenement/treme/"></a></p>
<h3 style="margin-bottom: 5px;">Treme (par Orange Cinéma Séries)</h3>
<p style="margin-bottom: 5px;">Une fois n&#8217;est pas coutume un site en flash et en français. La réalisation est parfaite, la photo utilisée en fond est vraiment réussie.</p>
<p><a href="http://www.orangecinemaseries.fr/evenement/treme/"><img class="aligncenter size-full wp-image-1967" title="sem39-5" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/sem39-5.jpg" alt="" width="600" height="350" /></a></p>
<h3 style="margin-bottom: 5px;">Make Photoshop Faster</h3>
<p style="margin-bottom: 5px;">Un deuxième site coloré utilisant l&#8217;effet bokeh. Les effets de transparence ainsi que les grosses typographies ajoutent beaucoup au design du site.</p>
<p><a href="http://makephotoshopfaster.com/"><img class="aligncenter size-full wp-image-1968" title="sem39-2" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/sem39-2.jpg" alt="" width="600" height="350" /></a></p>
<h3 style="margin-bottom: 5px;">Red Tiki</h3>
<p style="margin-bottom: 5px;">Une web agency austalienne. Le site utilise pas mal d&#8217;illustrations, et j&#8217;aime particulièrement leur logo (que l&#8217;on retrouve aussi en ASCII art dans le code !).</p>
<p><a href="http://www.redtiki.com.au/"><img class="aligncenter size-full wp-image-1969" title="sem39-6" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/sem39-6.jpg" alt="" width="600" height="350" /></a></p>


<p>Sur le même sujet :<ol><li><a href='http://blog.arnaud-k.fr/2011/04/21/les-web-designs-de-la-semaine/' rel='bookmark' title='Les web designs de la semaine'>Les web designs de la semaine</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2010/09/30/la-selection-des-meilleurs-web-design-de-la-semaine/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Tutorial JQuery : trier une liste en drag&#8217;n&#039;drop avec JQueryUI Sortable</title>
		<link>http://blog.arnaud-k.fr/2010/09/29/tutorial-jquery-trier-une-liste-en-dragndrop-avec-jqueryui-sortable/</link>
		<comments>http://blog.arnaud-k.fr/2010/09/29/tutorial-jquery-trier-une-liste-en-dragndrop-avec-jqueryui-sortable/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 07:14:59 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[drag'n'drop]]></category>
		<category><![CDATA[JQueryUI]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1943</guid>
		<description><![CDATA[Il est toujours compliqué de proposer au internautes de trier des éléments et faire ça de manière simple et ergonomique. On peut, par exemple, proposer de saisir la position pour chaque élément. Mais ça reste contraignant. C&#8217;est dans cette optique&#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2010/09/29/tutorial-jquery-trier-une-liste-en-dragndrop-avec-jqueryui-sortable/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F29%2Ftutorial-jquery-trier-une-liste-en-dragndrop-avec-jqueryui-sortable%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F29%2Ftutorial-jquery-trier-une-liste-en-dragndrop-avec-jqueryui-sortable%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="aligncenter size-full wp-image-1944" title="tuto-sortable" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/tuto-sortable.jpg" alt="" width="600" height="200" />Il est <strong>toujours compliqué de proposer au internautes de trier des éléments</strong> et faire ça de manière simple et ergonomique. On peut, par exemple, proposer de saisir la position pour chaque élément. Mais ça reste contraignant.</p>
<p>C&#8217;est dans cette optique qu&#8217;<strong>apparaît l&#8217;option du drag&#8217;n'drop (glisser-déposer en français)</strong>. Je pense que c&#8217;est <strong>ce qu&#8217;il y a de plus simple et intuitif pour l&#8217;internaute</strong>. Il faut néanmoins le prévenir que l&#8217;on attend un glisser-déposer de sa part car ce n&#8217;est pas encore répandu absolument partout&nbsp;!</p>
<h3 class="aligncenter"><a class="demo" href="http://blog.arnaud-k.fr/demos/jquery-drag-n-drop/">Voir la démo du tutorial</a></h3>
<p><strong>Pour réaliser cela, <a href="http://www.jqueryui.com">JQueryUI</a> nous propose le widget nommé Sortable</strong>. Il permet de créer et de configurer le drag&#8217;n'drop pour une liste d&#8217;éléments. Pour commencer, <strong>il faut donc inclure : JQuery et JQueryUI (javascript et CSS).</strong></p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">link</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;jquery-ui-1.8.5.custom.css&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;jquery-ui-1.8.5.custom.min.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></pre></div></div>

<p>Pour sauvegarder le tri fait par l&#8217;internaute, <strong>il faut enregistrer le tout dans la base de données</strong>. Je te fournis donc celle utilisée dans la démo. Où chauqe élément à un id unique, name contient le nom du fichier de la photo et position pour enregistrer l&#8217;ordre des photos.</p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">-- </span>
<span style="color: #808080; font-style: italic;">-- Structure de la table `demo_photo`</span>
<span style="color: #808080; font-style: italic;">-- </span>
<span style="color: #990099; font-weight: bold;">CREATE</span> <span style="color: #990099; font-weight: bold;">TABLE</span> <span style="color: #008000;">`demo<span style="color: #008080; font-weight: bold;">_</span>photo`</span> <span style="color: #FF00FF;">&#40;</span>
  <span style="color: #008000;">`id`</span> <span style="color: #999900; font-weight: bold;">int</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">11</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span> <span style="color: #FF9900; font-weight: bold;">auto_increment</span><span style="color: #000033;">,</span>
  <span style="color: #008000;">`name`</span> <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">255</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #CC0099; font-weight: bold;">collate</span> latin1_german2_ci <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
  <span style="color: #008000;">`position`</span> <span style="color: #999900; font-weight: bold;">int</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">11</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
  <span style="color: #990099; font-weight: bold;">PRIMARY KEY</span>  <span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">`id`</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span>
  <span style="color: #990099; font-weight: bold;">KEY</span> <span style="color: #008000;">`order`</span> <span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">`position`</span><span style="color: #FF00FF;">&#41;</span>
<span style="color: #FF00FF;">&#41;</span> <span style="color: #FF9900; font-weight: bold;">AUTO_INCREMENT</span><span style="color: #CC0099;">=</span><span style="color: #008080;">6</span> <span style="color: #000033;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">-- </span>
<span style="color: #808080; font-style: italic;">-- Contenu de la table `demo_photo`</span>
<span style="color: #808080; font-style: italic;">-- </span>
<span style="color: #990099; font-weight: bold;">INSERT</span> <span style="color: #990099; font-weight: bold;">INTO</span> <span style="color: #008000;">`demo<span style="color: #008080; font-weight: bold;">_</span>photo`</span> <span style="color: #990099; font-weight: bold;">VALUES</span> <span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">1</span><span style="color: #000033;">,</span> <span style="color: #008000;">'1.jpg'</span><span style="color: #000033;">,</span> <span style="color: #008080;">2</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span>
<span style="color: #990099; font-weight: bold;">INSERT</span> <span style="color: #990099; font-weight: bold;">INTO</span> <span style="color: #008000;">`demo<span style="color: #008080; font-weight: bold;">_</span>photo`</span> <span style="color: #990099; font-weight: bold;">VALUES</span> <span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">2</span><span style="color: #000033;">,</span> <span style="color: #008000;">'2.jpg'</span><span style="color: #000033;">,</span> <span style="color: #008080;">3</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span>
<span style="color: #990099; font-weight: bold;">INSERT</span> <span style="color: #990099; font-weight: bold;">INTO</span> <span style="color: #008000;">`demo<span style="color: #008080; font-weight: bold;">_</span>photo`</span> <span style="color: #990099; font-weight: bold;">VALUES</span> <span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">3</span><span style="color: #000033;">,</span> <span style="color: #008000;">'3.jpg'</span><span style="color: #000033;">,</span> <span style="color: #008080;">4</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span>
<span style="color: #990099; font-weight: bold;">INSERT</span> <span style="color: #990099; font-weight: bold;">INTO</span> <span style="color: #008000;">`demo<span style="color: #008080; font-weight: bold;">_</span>photo`</span> <span style="color: #990099; font-weight: bold;">VALUES</span> <span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">4</span><span style="color: #000033;">,</span> <span style="color: #008000;">'4.jpg'</span><span style="color: #000033;">,</span> <span style="color: #008080;">1</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span>
<span style="color: #990099; font-weight: bold;">INSERT</span> <span style="color: #990099; font-weight: bold;">INTO</span> <span style="color: #008000;">`demo<span style="color: #008080; font-weight: bold;">_</span>photo`</span> <span style="color: #990099; font-weight: bold;">VALUES</span> <span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">5</span><span style="color: #000033;">,</span> <span style="color: #008000;">'5.jpg'</span><span style="color: #000033;">,</span> <span style="color: #008080;">0</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span></pre></div></div>

<p>Ensuite <strong>il faut préparer la liste d&#8217;éléments sur lequel se portera le tri</strong>. Les attributs &laquo;&nbsp;id&nbsp;&raquo; des éléments de la liste devront respecter une syntaxe particulière : &laquo;&nbsp;nomGenerique_id&nbsp;&raquo;. Ou nomGenerique est le même pour tout les éléments (par exemple &laquo;&nbsp;photo&nbsp;&raquo;) et id l&#8217;identifiant unique (dans la base de données) de l&#8217;élément à trier. </p>
<p>Pour afficher la liste, on récupère bien sûr les éléments dans la base de données, en respectant l&#8217;ordre enregistré :</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul id=&quot;list-photos&quot;&gt;
	<span style="color: #000000; font-weight: bold;">&lt;?php</span>
	<span style="color: #666666; font-style: italic;">//connexion à la base de données </span>
        <span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_NAME'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'nom_de_la_base'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_USER'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'nom_utilisateur'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_PASSWORD'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'mot_de_passe'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_HOST'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'localhost'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$link</span>   <span style="color: #339933;">=</span>   <span style="color: #990000;">mysql_connect</span><span style="color: #009900;">&#40;</span> DB_HOST <span style="color: #339933;">,</span> DB_USER <span style="color: #339933;">,</span> DB_PASSWORD <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">mysql_select_db</span><span style="color: #009900;">&#40;</span> DB_NAME <span style="color: #339933;">,</span> <span style="color: #000088;">$link</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">// récupération des photos dans le bon ordre</span>
	<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span>   <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'SELECT demo_photo.id, demo_photo.name FROM demo_photo ORDER BY demo_photo.position ASC'</span> <span style="color: #339933;">,</span> <span style="color: #000088;">$link</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$photo</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_fetch_assoc</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$result</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;li id=&quot;photo_<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$photo</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;
		&lt;img src=&quot;photos_NY/<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$photo</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#93;</span> ?<span style="color: #339933;">/&gt;</span><span style="color: #0000ff;">&quot; alt=&quot;</span>Photos NY <span style="color: #339933;">-</span> Arnaud<span style="color: #339933;">-</span>k<span style="color: #0000ff;">&quot; /&gt;
		&lt;p&gt;par Arnaud-k&lt;/p&gt;
	&lt;/li&gt;
	&lt;?php
	}
	?&gt;</span>
&lt;/ul&gt;</pre></div></div>

<p>Il faut ensuite <strong>mettre en forme cette liste avec du CSS</strong>. Je ne pense pas qu&#8217;il faille beaucoup d&#8217;explications pour cette partie là.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* style global de la liste non ordonné */</span>
ul<span style="color: #cc00cc;">#list-photos</span><span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">140px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #808080; font-style: italic;">/* style des éléments de la liste */</span>
ul<span style="color: #cc00cc;">#list-photos</span> li<span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#ddd</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span>move<span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">75px</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#212326</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">12px</span><span style="color: #00AA00;">;</span>
  -moz-box-shadow<span style="color: #00AA00;">:</span><span style="color: #933;">2px</span> <span style="color: #933;">2px</span> <span style="color: #933;">5px</span> <span style="color: #cc00cc;">#ccc</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #808080; font-style: italic;">/* style de l'élément fantome, qui apparait losque que l'on bouge un élément */</span>
ul<span style="color: #cc00cc;">#list-photos</span> li.highlight<span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#f2f2f2</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">dashed</span> <span style="color: #cc00cc;">#212326</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Ensuite vient <strong>la partie qui nous intéresse vraiment, le code JQuery</strong>. On initialise Sortable avec l&#8217;id de la liste et on met en Callback l&#8217;appel Ajax au fichier PHP qui va procéder à l&#8217;enregistrement dans la base données :</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<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> <span style="color: #006600; font-style: italic;">// quand la page a fini de se charger</span>
  $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#list-photos&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">sortable</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">// initialisation de Sortable sur #list-photos</span>
	placeholder<span style="color: #339933;">:</span> <span style="color: #3366CC;">'highlight'</span><span style="color: #339933;">,</span> <span style="color: #006600; font-style: italic;">// classe à ajouter à l'élément fantome</span>
	update<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>  <span style="color: #006600; font-style: italic;">// callback quand l'ordre de la liste est changé</span>
		<span style="color: #003366; font-weight: bold;">var</span> order <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#list-photos'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">sortable</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'serialize'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// récupération des données à envoyer</span>
		$.<span style="color: #660066;">post</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'ajax.php'</span><span style="color: #339933;">,</span>order<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// appel ajax au fichier ajax.php avec l'ordre des photos</span>
	<span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#list-photos&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">disableSelection</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// on désactive la possibilité au navigateur de faire des sélections</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Et voici enfin <strong>le contenu du fichier ajax.php</strong> qui enregistre les positions des éléments. On récupère un $_POST de la forme : photo[] = id_photo. Il suffit de boucler sur ce tableau ($_POST['photo']) et on récupère les id des photos dans l&#8217;ordre :</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">//connexion à la base de données </span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_NAME'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'nom_de_la_base'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_USER'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'nom_utilisateur'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_PASSWORD'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'mot_de_passe'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_HOST'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'localhost'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$link</span>   <span style="color: #339933;">=</span>   <span style="color: #990000;">mysql_connect</span><span style="color: #009900;">&#40;</span> DB_HOST <span style="color: #339933;">,</span> DB_USER <span style="color: #339933;">,</span> DB_PASSWORD <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">mysql_select_db</span><span style="color: #009900;">&#40;</span> DB_NAME <span style="color: #339933;">,</span> <span style="color: #000088;">$link</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// changement de l'ordre des photos dans la base de données, photo par photo</span>
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'photo'</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$order</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$id_photo</span> <span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'UPDATE demo_photo SET position = \''</span> <span style="color: #339933;">.</span> safe<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$order</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'\' WHERE id = \''</span> <span style="color: #339933;">.</span> safe<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$id_photo</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'\''</span> <span style="color: #339933;">,</span> <span style="color: #000088;">$link</span> <span style="color: #009900;">&#41;</span> or <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span> <span style="color: #990000;">mysql_error</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">/*****
fonctions
*****/</span>
<span style="color: #000000; font-weight: bold;">function</span> safe<span style="color: #009900;">&#40;</span><span style="color: #000088;">$var</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$var</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_real_escape_string</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$var</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$var</span> <span style="color: #339933;">=</span> <span style="color: #990000;">addcslashes</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$var</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'%_'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$var</span> <span style="color: #339933;">=</span> <span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$var</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$var</span> <span style="color: #339933;">=</span> <span style="color: #990000;">htmlspecialchars</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$var</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #000088;">$var</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p><strong>J&#8217;espère que tutoriel est clair et compréhensible</strong>. Il faut, certes, un minimum de connaissances en html, javascript et php mais je pense que ça vaut quand même le coup !</p>


<p>Pas encore de billet sur le même sujet !</p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2010/09/29/tutorial-jquery-trier-une-liste-en-dragndrop-avec-jqueryui-sortable/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>La liste de tous les plugins JQuery du blog</title>
		<link>http://blog.arnaud-k.fr/2010/09/28/la-liste-de-tous-les-plugins-jquery-du-blog/</link>
		<comments>http://blog.arnaud-k.fr/2010/09/28/la-liste-de-tous-les-plugins-jquery-du-blog/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 12:10:48 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[plugin JQuery]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1938</guid>
		<description><![CDATA[Un article rapide, juste pour signaler que j&#8217;ai préparé une page WordPress recensant tous les plugins JQuery dont j&#8217;ai pu parlé sur ce blog. A ce jour j&#8217;en ai dénombré 56 ( \o/ ). J&#8217;en ai profité pour les classer&#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2010/09/28/la-liste-de-tous-les-plugins-jquery-du-blog/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F28%2Fla-liste-de-tous-les-plugins-jquery-du-blog%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F28%2Fla-liste-de-tous-les-plugins-jquery-du-blog%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p style="text-align: left;"><a href="http://blog.arnaud-k.fr/plugins-jquery"><img class="aligncenter size-full wp-image-1935" title="plugins-jquery" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/plugins-jquery.jpg" alt="" width="600" height="200" /></a>Un article rapide, juste pour signaler que j&#8217;ai préparé <strong>une page WordPress recensant tous les <a href="http://blog.arnaud-k.fr/plugins-jquery">plugins JQuery</a></strong> dont j&#8217;ai pu parlé sur ce blog. A ce jour <strong>j&#8217;en ai dénombré 56</strong> ( \o/ ). J&#8217;en ai profité pour les classer par catégorie, en espérant que te sera utile pour les jours où tu auras besoin d&#8217;un plugin JQuery !</p>


<p>Pas encore de billet sur le même sujet !</p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2010/09/28/la-liste-de-tous-les-plugins-jquery-du-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Refonte du design du blog (again ?!)</title>
		<link>http://blog.arnaud-k.fr/2010/09/27/refonte-du-design-du-blog/</link>
		<comments>http://blog.arnaud-k.fr/2010/09/27/refonte-du-design-du-blog/#comments</comments>
		<pubDate>Mon, 27 Sep 2010 11:09:14 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[développement du blog]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[webdesign]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1910</guid>
		<description><![CDATA[Comme à peu près tous les 6 mois depuis que je tiens ce blog, j&#8217;ai fait une grosse mise à jour du design du blog. Voici une description des différentes modifications. Pour commencer, j&#8217;ai essayé de faire un vrai logo. &#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2010/09/27/refonte-du-design-du-blog/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F27%2Frefonte-du-design-du-blog%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F27%2Frefonte-du-design-du-blog%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="aligncenter size-full wp-image-1911" title="a-k" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/a-k.jpg" alt="" width="600" height="197" />Comme à peu près tous les 6 mois depuis que je tiens ce blog, <strong>j&#8217;ai fait une grosse mise à jour du design du blog</strong>. Voici une description des différentes modifications.</p>
<p>Pour commencer, <strong>j&#8217;ai essayé de faire un vrai logo</strong>.  Fini le &laquo;&nbsp;arnaud-k&nbsp;&raquo; en texte avec deux ou trois effets photoshop&#8230; Ce logo, avec des proportions plus simple à intégrer, je vais pouvoir m&#8217;en servir sur mes divers sites.</p>
<p>J&#8217;ai voulu <strong>un design plus clair, plus travaillé et mieux fini que le précédent</strong> (qui, je dois bien l&#8217;avouer, avait été fait à l&#8217;arrache). J&#8217;ai donc pris mon temps pour faire la maquette (étalé sur 2 semaines), et l&#8217;intégration à WordPress (intensif sur un week-end).</p>
<p>J&#8217;ai également décidé d&#8217;<strong>adopter un code couleur pour les principales catégories / principaux mots-clefs</strong> pour permettre d&#8217;identifier plus rapidement différents articles sur la page d&#8217;accueil :</p>
<ul>
<li class="blue">Bleu pour JQuery</li>
<li class="yellow">Jaune pour les Tutoriaux</li>
<li class="green">Vert pour le Web Design</li>
<li class="red">Rouge pour les actualités du web</li>
</ul>
<p>J&#8217;ai également utilisé la propriété <a href="http://blog.arnaud-k.fr/2010/developpement-web/html-css/utilisation-de-font-face-pour-utiliser-nimporte-quelle-typographie-en-web/">CSS @font-face</a> pour les différents titres présents sur le site avec la méthode décrite dans mon précédent article.</p>
<p>Je sais qu&#8217;il reste encore un ou deux détails à corriger, mais ça sera fait normalement dans la semaine ! Un autre article devrait faire suite à celui, où j&#8217;aborderai plus le côté technique pour l&#8217;intégration dans WordPress et de ce que j&#8217;ai pu utiliser ici. <strong>N&#8217;hésite pas à donner ton avis / critiquer / faire des compliments. <img src='http://blog.arnaud-k.fr/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </strong></p>


<p>Sur le même sujet :<ol><li><a href='http://blog.arnaud-k.fr/2011/04/20/le-blog-le-retour/' rel='bookmark' title='Le blog, le retour !'>Le blog, le retour !</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2010/09/27/refonte-du-design-du-blog/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Utilisation de @font-face pour utiliser n&#8217;importe quelle typographie en web</title>
		<link>http://blog.arnaud-k.fr/2010/09/24/utilisation-de-font-face-pour-utiliser-nimporte-quelle-typographie-en-web/</link>
		<comments>http://blog.arnaud-k.fr/2010/09/24/utilisation-de-font-face-pour-utiliser-nimporte-quelle-typographie-en-web/#comments</comments>
		<pubDate>Fri, 24 Sep 2010 07:36:53 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[HTML / CSS]]></category>
		<category><![CDATA[@font-face]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1895</guid>
		<description><![CDATA[Avec les nouveaux navigateurs, les nouvelles normes et les nouvelles technologies on peut maintenant sereinement utiliser la propriété CSS @font-face et faire en sorte que ça marche sur tous les navigateurs ! Avec certes un ou deux hacks CSS, notamment&#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2010/09/24/utilisation-de-font-face-pour-utiliser-nimporte-quelle-typographie-en-web/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F24%2Futilisation-de-font-face-pour-utiliser-nimporte-quelle-typographie-en-web%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F24%2Futilisation-de-font-face-pour-utiliser-nimporte-quelle-typographie-en-web%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a rel="attachment wp-att-1896" href="http://blog.arnaud-k.fr/2010/developpement-web/html-css/utilisation-de-font-face-pour-utiliser-nimporte-quelle-typographie-en-web/attachment/font-face/"><img class="aligncenter size-full wp-image-1896" title="font-face" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/font-face.jpg" alt="" width="600" height="200" /></a>Avec les nouveaux navigateurs, les nouvelles normes et les nouvelles technologies on peut maintenant sereinement utiliser <strong>la propriété CSS @font-face</strong> et faire en sorte que ça marche sur tous les navigateurs ! Avec certes un ou deux hacks CSS, notamment pour IE6 et pour éviter que des fichiers soient chargés plus que nécessaires.</p>
<p>Voici par exemple, <strong>la technique utilisée et décrite par Paul Irish</strong> (qui travaille, entre autres, pour Google Chrome et fait partie de la JQuery team) dans son article &laquo;&nbsp;<a href="http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/">Bulletproof @font-face syntax</a>&nbsp;&raquo; :</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #a1a100;">@font-face {</span>
   <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'Graublau Web'</span><span style="color: #00AA00;">;</span>
   src<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'GraublauWeb.eot'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
   src<span style="color: #00AA00;">:</span> local<span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'☺'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">,</span>
   <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'GraublauWeb.woff'</span><span style="color: #00AA00;">&#41;</span> format<span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'woff'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">,</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'GraublauWeb.ttf'</span><span style="color: #00AA00;">&#41;</span> format<span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'truetype'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Pour avoir des explications complètes, je te conseille fortement l&#8217;article présenté ci-dessus. On voit bien qu&#8217;<strong>il faut posséder la typo dans différents formats (eot, woff, ttf) pour que @font-face fonctionne</strong> partout.</p>
<p>Et <strong>c&#8217;est là qu&#8217;intervient le site </strong><a href="http://www.fontsquirrel.com/fontface/generator"><strong>FontSquirrel</strong></a><strong> et son &laquo;&nbsp;@font-face generator kit&nbsp;&raquo;</strong>. A partir de l&#8217;upload d&#8217;une typo (j&#8217;ai testé avec une .ttf), il la convertit dans les formats qui nous intéressent, prépare une page de démo avec le CSS qui va bien et, enfin, propose de télécharger une archive de tout ça ! J&#8217;ai fait le test avec un typo que j&#8217;avais et tu peux voir le <a href="http://blog.arnaud-k.fr/demos/font-face/demo.html" target="_blank">fichier de démo de FontSquirrel</a>.</p>
<p><strong>Cela ouvre quand même de belles perspectives</strong>, tant que ça ne part pas dans tous les sens. J&#8217;ai d&#8217;ailleurs décidé d&#8217;utiliser cette technique pour le prochaine re-design du blog (coming soon).</p>


<p>Pas encore de billet sur le même sujet !</p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2010/09/24/utilisation-de-font-face-pour-utiliser-nimporte-quelle-typographie-en-web/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Les 10 meilleurs plugins JQuery &#8211; Septembre 2010</title>
		<link>http://blog.arnaud-k.fr/2010/09/23/les-10-meilleurs-plugins-jquery-septembre-2010/</link>
		<comments>http://blog.arnaud-k.fr/2010/09/23/les-10-meilleurs-plugins-jquery-septembre-2010/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 07:48:05 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[plugin JQuery]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[top10]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1876</guid>
		<description><![CDATA[12 mois après ma première liste des meilleurs plugins JQuery, je me suis dit qu&#8217;une petite mise à jour s&#8217;imposait. Dans cette liste j&#8217;ai mis quelques plugins dont j&#8217;ai déjà parlé ici,des plugins que j&#8217;utilise tous les jours et des&#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2010/09/23/les-10-meilleurs-plugins-jquery-septembre-2010/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F23%2Fles-10-meilleurs-plugins-jquery-septembre-2010%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F23%2Fles-10-meilleurs-plugins-jquery-septembre-2010%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><strong>12 mois après ma première liste des </strong><a href="http://blog.arnaud-k.fr/2009/developpement-web/cat-jquery/les-10-meilleurs-plugins-jquery-selon-moi/"><strong>meilleurs plugins JQuery</strong></a><strong>, je me suis dit qu&#8217;une petite mise à jour s&#8217;imposait</strong>. Dans cette liste j&#8217;ai mis quelques plugins dont j&#8217;ai déjà parlé ici,des plugins que j&#8217;utilise tous les jours et des plugins que je compte utiliser dans le futur.</p>
<p>Ce n&#8217;est pas vraiment un &laquo;&nbsp;Best Of&nbsp;&raquo;, c&#8217;est juste <strong>une sélection de <a href="http://blog.arnaud-k.fr/tag/plugin-jquery/">plugins JQuery</a> coup de coeur</strong>. Et comme c&#8217;est le principe d&#8217;une liste, celle-ci est tout à fait subjective <img src='http://blog.arnaud-k.fr/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
<h3>JQueryUI</h3>
<p><a href="http://jqueryui.com/"><img class="aligncenter size-full wp-image-1877" title="top10-jqueryui" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/top10-jqueryui.jpg" alt="" width="600" height="200" /></a>Comment ne pas commencer par <a href="http://jqueryui.com/">JQueryUI</a>&#8230; Ce n&#8217;est pas vraiment un plugin JQuery, mais il propose tellement de bonnes choses que je suis sûr que tous les développeurs qui utilisent JQuery l&#8217;ont utilisé au moins une fois. Avec JQueryUI tu peux faire des DatePicker, des boîtes modales, des listes avec du Drag&#8217;n'Drop, &#8230;</p>
<h3 style="margin-top:25px">Qtip</h3>
<p><a href="http://craigsworks.com/projects/qtip/"><img class="aligncenter size-full wp-image-1878" title="top10-qtip" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/top10-qtip.jpg" alt="" width="600" height="200" /></a>J&#8217;en ai déjà parlé sur le <a href="http://blog.arnaud-k.fr/2009/developpement-web/cat-jquery/plugin-jquery-les-infos-bulles-ultimes-avec-le-plugin-qtip/">blog</a>, mais pour moi le plugin JQuery <a href="http://craigsworks.com/projects/qtip/">Qtip</a> est le meilleur plugin pour faire des tool-tips. Le nombre d&#8217;options et de configurations permet d&#8217;en faire ce que l&#8217;on veut.</p>
<h3 style="margin-top:25px">JgChart</h3>
<p><a href="http://www.maxb.net/scripts/jgcharts/include/demo/#1"><img class="aligncenter size-full wp-image-1879" title="top10-googlechart" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/top10-googlechart.jpg" alt="" width="600" height="200" /></a>Le plugin <a href="http://www.maxb.net/scripts/jgcharts/include/demo/#1">JgChart</a> est une simple surcouche à l&#8217;API Google Chart. Cela permet de faire des graphiques encore plus facilement et de le configurer plus simplement.</p>
<h3 style="margin-top:25px">BxCarousel</h3>
<p><a href="http://bxcarousel.com/"><img class="aligncenter size-full wp-image-1880" title="top10-bxcarousel" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/top10-bxcarousel.jpg" alt="" width="600" height="200" /></a>J&#8217;en ai <a href="http://blog.arnaud-k.fr/2010/developpement-web/cat-jquery/un-nouveau-plugin-jquery-pour-faire-des-carousel-bxcarousel/">parlé sur ce blog</a> il n&#8217;y a pas si longtemps que ça. Mais pour ceux qui n&#8217;était pas là, <a href="http://bxcarousel.com/">BxCarousel</a> détone, pour moi, Jcarousel dans les plugins de carousel. Il est plus simple à mettre en place et, surtout, beaucoup plus simple à personnaliser graphiquement.</p>
<h3 style="margin-top:25px">DataTables</h3>
<p><a href="http://www.datatables.net/"><img class="aligncenter size-full wp-image-1881" title="top10-datagrid" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/top10-datagrid.jpg" alt="" width="600" height="200" /></a>Ce plugin JQuery permet de faire des tableaux triables et paginables. <a href="http://www.datatables.net/">DataTables</a> facilite l&#8217;ergonomie des tableaux de données. Le tout sans recharcger la pge of course. Il propose également la recherche directement dans le tableau.</p>
<h3 style="margin-top:25px">AjaxUpload</h3>
<p><a href="http://valums.com/ajax-upload/"><img class="aligncenter size-full wp-image-1882" title="top10-ajax-upload" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/top10-ajax-upload.jpg" alt="" width="600" height="200" /></a>Ce plugin JQuery permet, comme son nom l&#8217;indique très clairement, de faire de l&#8217;upload en Ajax. Assez simple d&#8217;utilisation et à configurer, <a href="http://valums.com/ajax-upload/">AjaxUpload</a> est idéal pour proposer des formulaires d&#8217;upload d&#8217;avatar par exemple&#8230;</p>
<h3 style="margin-top:25px">NivoSlider</h3>
<p><a href="http://nivo.dev7studios.com/"><img class="aligncenter size-full wp-image-1883" title="top10-nivoslider" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/top10-nivoslider.jpg" alt="" width="600" height="200" /></a>J&#8217;ai parlé la semaine dernière de <a href="http://nivo.dev7studios.com/">Nivo Slider</a>. Il s&#8217;est retrouvé dans un liste de 3 <a href="http://blog.arnaud-k.fr/2010/developpement-web/cat-jquery/3-plugins-jquery-pour-faire-des-sliders/">sliders JQuery</a>. NivoSlider propose beaucoup d&#8217;options et plusieurs Callbacks pour animer le slider. Certes, j&#8217;avoue que certains effets de transitions sont un peu kitsch&#8230;</p>
<h3 style="margin-top:25px">Fancybox</h3>
<p><a href="http://fancybox.net/"><img class="aligncenter size-full wp-image-1885" title="top10-fancybox" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/top10-fancybox.jpg" alt="" width="600" height="200" /></a><a href="http://fancybox.net/">Fancybox</a> est pour moi le meilleur plugin de <a href="http://blog.arnaud-k.fr/tag/lightbox/">lightbox JQuery</a>. C&#8217;est celui que j&#8217;utilise depuis un an dans tous les sites web sur lesquels je participe ! Ses options et ses personnalisations en font un plugin souple et simple à mettre en place. Je ne me suis jamais trouvé bloqué avec la fancybox.</p>
<h3 style="margin-top:25px">Juitter</h3>
<p><a href="http://juitter.com/"><img class="aligncenter size-full wp-image-1887" title="top10-juitter" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/top10-juitter.jpg" alt="" width="600" height="200" /></a><a href="http://juitter.com/">Juitter</a> est un plugin JQuery différent de ceux présentés ci-dessus. Il permet d&#8217;afficher une timeline, un recherche Twitter. Comme tu peux le voir, il gère les avatars, les mentions, les hashtags&#8230;</p>
<h3 style="margin-top:25px">AutoComplete</h3>
<p><a href="http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/"><img class="aligncenter size-full wp-image-1888" title="top10-autocomplete" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/top10-autocomplete.jpg" alt="" width="600" height="200" /></a>Un autre plugin JQuery que j&#8217;ai pu utiliser ces derniers temps : <a href="http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/">AutoComplete</a>. Il ne faut pas se fier à son apparence, c&#8217;est un plugin vraiment puissant. Il propose pas mal de fonctionnalités avancées telles que la gestion du cache, les délais, des callbacks avant l&#8217;affichage&#8230;</p>


<p>Pas encore de billet sur le même sujet !</p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2010/09/23/les-10-meilleurs-plugins-jquery-septembre-2010/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Un plugin JQuery Flickr pour afficher ses dernières photos</title>
		<link>http://blog.arnaud-k.fr/2010/09/22/un-plugin-jquery-flickr-pour-afficher-ses-dernieres-photos/</link>
		<comments>http://blog.arnaud-k.fr/2010/09/22/un-plugin-jquery-flickr-pour-afficher-ses-dernieres-photos/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 07:50:43 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[plugin JQuery]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1863</guid>
		<description><![CDATA[Le plugin JQuery jFlickrFeed permet, à partir d&#8217;un simple identifiant Flickr, d&#8217;afficher les dernières photos d&#8217;un membre Flickr. C&#8217;est ultra-simple à utiliser, ça ne ralentit pas le chargement de la page (chargement en asynchrone). Un système de gestion de &#171;&#160;templates&#160;&#187;&#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2010/09/22/un-plugin-jquery-flickr-pour-afficher-ses-dernieres-photos/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F22%2Fun-plugin-jquery-flickr-pour-afficher-ses-dernieres-photos%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F22%2Fun-plugin-jquery-flickr-pour-afficher-ses-dernieres-photos%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="aligncenter size-full wp-image-1864" title="jquery-flickr" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/jquery-flickr.png" alt="" width="600" height="240" />Le plugin JQuery <a href="http://www.gethifi.com/blog/a-jquery-flickr-feed-plugin">jFlickrFeed</a> permet, à partir d&#8217;un simple identifiant Flickr, <strong>d&#8217;afficher les dernières photos d&#8217;un membre Flickr</strong>. C&#8217;est ultra-simple à utiliser, ça ne ralentit pas le chargement de la page (chargement en asynchrone).</p>
<p>Un système de gestion de &laquo;&nbsp;templates&nbsp;&raquo; a été mis en place pour choisir la structure HTML des photos qui vont être afficher. Voici <strong>un exemple de l&#8217;initialisation et de la configuration du plugin JQuery</strong> :</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#flickr'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">jflickrfeed</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
   limit<span style="color: #339933;">:</span> <span style="color: #CC0000;">14</span><span style="color: #339933;">,</span> <span style="color: #006600; font-style: italic;">// nombre maximal de photos à afficher</span>
   qstrings<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span>
      id<span style="color: #339933;">:</span> <span style="color: #3366CC;">'31326696@N02'</span> <span style="color: #006600; font-style: italic;">// id de membre Flickr</span>
   <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
   itemTemplate<span style="color: #339933;">:</span> <span style="color: #006600; font-style: italic;">// template pour l'affichage d'une photo</span>
      <span style="color: #3366CC;">'&lt;li&gt;'</span> <span style="color: #339933;">+</span>
         <span style="color: #3366CC;">'&lt;a href=&quot;{{image_b}}&quot;&gt;&lt;img src=&quot;{{image_s}}&quot; alt=&quot;{{title}}&quot; /&gt;&lt;/a&gt;'</span> <span style="color: #339933;">+</span>
      <span style="color: #3366CC;">'&lt;/li&gt;'</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Le plugin offre bien entendu <a href="http://files.gethifi.com/posts/jflickrfeed/example.html">une page de démo du plugin</a>. Il est même <strong>tout à fait possible de coupler le plugin JQuery avec d&#8217;autres</strong> tels que le <a href="http://blog.arnaud-k.fr/2009/developpement-web/cat-jquery/tutorial-plugin-jquery-4-diaporama-photo-avec-cycle/">plugin JQuery Cycle</a> pour faire un diaporama ou la <a href="http://blog.arnaud-k.fr/2010/developpement-web/cat-jquery/une-lightbox-jquery-legere-avec-colorbox/">lightbox Colorbox</a>, tout y est expliqué dans les démos !</p>


<p>Pas encore de billet sur le même sujet !</p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2010/09/22/un-plugin-jquery-flickr-pour-afficher-ses-dernieres-photos/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Une Lightbox JQuery légère avec ColorBox</title>
		<link>http://blog.arnaud-k.fr/2010/09/21/une-lightbox-jquery-legere-avec-colorbox/</link>
		<comments>http://blog.arnaud-k.fr/2010/09/21/une-lightbox-jquery-legere-avec-colorbox/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 07:40:19 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[colorbox]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[plugin JQuery]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1850</guid>
		<description><![CDATA[Pour continuer dans la série des lightbox JQuery, un plugin ultra-léger (9 Kio) vient de faire son apparition. Le plugin ColorBox propose quasiment toutes les options qu&#8217;un plugin de lightbox peut proposer. On retrouve environ quarante options : gestion des tailles,&#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2010/09/21/une-lightbox-jquery-legere-avec-colorbox/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F21%2Fune-lightbox-jquery-legere-avec-colorbox%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F21%2Fune-lightbox-jquery-legere-avec-colorbox%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="aligncenter size-full wp-image-1851" title="plugin-colorBox" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/plugin-colorBox.jpg" alt="" width="600" height="182" />Pour continuer dans la série des<a href="http://blog.arnaud-k.fr/tag/lightbox/"> lightbox JQuery</a>, un plugin ultra-léger (9 Kio) vient de faire son apparition. <strong>Le plugin <a href="http://colorpowered.com/colorbox/">ColorBox</a> propose quasiment toutes les options</strong> qu&#8217;un plugin de lightbox peut proposer.</p>
<p>On retrouve <strong>environ quarante options</strong> : gestion des tailles, gestion de l&#8217;opacité, gestion du contenu (inline, html, iframe, images&#8230;), gestion des transitions, gestion des vitesses, gestion du clavier et gestion des callbacks (5 au total). Et on a accès à <strong>7 méthodes publiques</strong> : next, prev, close, element, resize, init et remove.</p>
<p><strong>Son utilisation reste néanmoins simple</strong>, on peut l&#8217;initialiser avec juste 1-2 lignes de JQuery en gardant la plupart des paramètres à leur valeur par défaut. Par exemple :</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">// ici on ne change que les transitions et la vitesse du diaporama</span>
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'a#login'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">colorbox</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>transition<span style="color: #339933;">:</span><span style="color: #3366CC;">'fade'</span><span style="color: #339933;">,</span> speed<span style="color: #339933;">:</span><span style="color: #CC0000;">500</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Je ne peut pas te laisser sans <a href="http://colorpowered.com/colorbox/core/example1/index.html">un lien vers les démos</a> du <a href="http://blog.arnaud-k.fr/tag/plugin-jquery/">plugin JQuery</a>. <img src='http://blog.arnaud-k.fr/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Je pense que c&#8217;est une bonne lightbox, avec la possibilité de faire plein de choses différentes avec. Enfin, et ce n&#8217;est pas négligeable, <strong>la doc du plugin est claire et facilement trouvable !</strong></p>


<p>Pas encore de billet sur le même sujet !</p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2010/09/21/une-lightbox-jquery-legere-avec-colorbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web design du jour #23 : Adam Dannaway</title>
		<link>http://blog.arnaud-k.fr/2010/09/21/web-design-du-jour-23-adam-dannaway/</link>
		<comments>http://blog.arnaud-k.fr/2010/09/21/web-design-du-jour-23-adam-dannaway/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 06:44:25 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[daily design]]></category>
		<category><![CDATA[portfolio]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1855</guid>
		<description><![CDATA[Aujourd&#8217;hui, c&#8217;est un assez gros coup de coeur que le design du portfolio d&#8217;Adam Dannaway. La page d&#8217;accueil représente bien le côté parfois schizophrène dans la création de site web. Avec d&#8217;un côté le graphisme du site et de l&#8217;autre&#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2010/09/21/web-design-du-jour-23-adam-dannaway/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F21%2Fweb-design-du-jour-23-adam-dannaway%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F21%2Fweb-design-du-jour-23-adam-dannaway%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p style="text-align: left;"><a href="http://www.adhamdannaway.com/"><img class="aligncenter size-full wp-image-1856" title="daily-design-adamdannaway" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/daily-design-adamdannaway.jpg" alt="" width="600" height="209" /></a>Aujourd&#8217;hui, c&#8217;est un assez gros coup de coeur que le design du <a href="http://www.adhamdannaway.com/">portfolio d&#8217;Adam Dannaway</a>. La page d&#8217;accueil représente bien <strong>le côté parfois schizophrène dans la création de site web</strong>. Avec d&#8217;un côté le graphisme du site et de l&#8217;autre le développement.</p>
<p style="text-align: left;"><strong>On sent que le site est bien fait, bien fini</strong>. Les légères animations Javascript (faites avec Mootools) apporte un plus. Le <strong>design reste néanmoins assez sobre</strong> avec son fond blanc et ses textes en noir. Ses réalisations sont bien mises en avant.</p>
<p style="text-align: left;">Pour moi, c&#8217;est un site à garder précieusement dans mon Delicious ! <img src='http://blog.arnaud-k.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<p>Pas encore de billet sur le même sujet !</p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2010/09/21/web-design-du-jour-23-adam-dannaway/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Plugin JQuery BMap, pour afficher simplement des Google Maps</title>
		<link>http://blog.arnaud-k.fr/2010/09/16/plugin-jquery-bmap-pour-afficher-simplement-des-google-maps/</link>
		<comments>http://blog.arnaud-k.fr/2010/09/16/plugin-jquery-bmap-pour-afficher-simplement-des-google-maps/#comments</comments>
		<pubDate>Thu, 16 Sep 2010 08:21:11 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[plugin JQuery]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1840</guid>
		<description><![CDATA[Le plugin JQuery BMap permet un affichage et un contrôle ultra simple des Google Maps. Avec ce plugin, plus besoin de fouiller dans la doc de Google Maps, il ajout simplement une surcouche afin de contrôler les cartes plus facilement.&#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2010/09/16/plugin-jquery-bmap-pour-afficher-simplement-des-google-maps/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F16%2Fplugin-jquery-bmap-pour-afficher-simplement-des-google-maps%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F16%2Fplugin-jquery-bmap-pour-afficher-simplement-des-google-maps%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.blocsoft.com/bMap/"><img class="aligncenter size-full wp-image-1841" title="bmap" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/bmap.jpg" alt="" width="600" height="219" /></a>Le plugin JQuery <a href="http://www.blocsoft.com/bMap/">BMap</a> permet <strong>un affichage et un contrôle ultra simple des Google Maps</strong>. Avec ce plugin, plus besoin de fouiller dans la doc de Google Maps, il ajout simplement une surcouche afin de contrôler les cartes plus facilement.</p>
<p>Comment ça marche ? C&#8217;est très simple, il suffit d&#8217;avoir chargé JQuery dans la page ainsi que le fichier de Google Maps (api v3 ou v2) et <strong>en quelques lignes, vous pouvez afficher une Google Map</strong> avec un ou plusieurs marqueur(s) dessus :</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#map1&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">bMap</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">// map1 et l'ID du div qui va recevoir la carte</span>
	mapZoom<span style="color: #339933;">:</span> <span style="color: #CC0000;">11</span><span style="color: #339933;">,</span> <span style="color: #006600; font-style: italic;">// niveau de zoom par défaut de la carte </span>
	mapCenter<span style="color: #339933;">:</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">51.501690392607</span><span style="color: #339933;">,-</span><span style="color: #CC0000;">0.1263427734375</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #006600; font-style: italic;">// latitude et longitude du centre de la carte</span>
	markers<span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;data&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#91;</span> <span style="color: #006600; font-style: italic;">// création de marqueurs dès le chargement de la page</span>
		<span style="color: #009900;">&#123;</span>
			<span style="color: #3366CC;">&quot;lat&quot;</span><span style="color: #339933;">:</span><span style="color: #CC0000;">51.49757618329838</span><span style="color: #339933;">,</span> <span style="color: #006600; font-style: italic;">// latitude du 1er marqueur</span>
			<span style="color: #3366CC;">&quot;lng&quot;</span><span style="color: #339933;">:-</span><span style="color: #CC0000;">0.1746654510498047</span><span style="color: #339933;">,</span>  <span style="color: #006600; font-style: italic;">// longitude du 1er marqueur</span>
			<span style="color: #3366CC;">&quot;title&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Science Museum&quot;</span><span style="color: #339933;">,</span>  <span style="color: #006600; font-style: italic;">// titre à afficher dans l'infobulle</span>
			<span style="color: #3366CC;">&quot;body&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Exhibition Road, London SW7&quot;</span> <span style="color: #006600; font-style: italic;">// contenu à afficher dans l'infobulle</span>
		<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">// 2è marqueur :</span>
			<span style="color: #3366CC;">&quot;lat&quot;</span><span style="color: #339933;">:</span><span style="color: #CC0000;">51.47769451182406</span><span style="color: #339933;">,</span>
			<span style="color: #3366CC;">&quot;lng&quot;</span><span style="color: #339933;">:-</span><span style="color: #CC0000;">0.0009441375732421875</span><span style="color: #339933;">,</span> 
			<span style="color: #3366CC;">&quot;title&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Royal Observatory Greenwich&quot;</span><span style="color: #339933;">,</span> 
			<span style="color: #3366CC;">&quot;body&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Blackheath Ave, Greenwich, London SE10&quot;</span>
		<span style="color: #009900;">&#125;</span>	<span style="color: #006600; font-style: italic;">// et on peut ajouter autant de marqueurs que l'on veut...</span>
	<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Ce n&#8217;est pas plus compliqué que ça. Il <strong>est proposé environ dix options pour afficher juste la carte</strong>, après on en trouve d&#8217;autres pour les marqueurs, <a href="http://www.blocsoft.com/bmap/example9.asp">des méthodes AJAX pour l&#8217;affichage de zone</a> (polygone ou autre). A noter que l&#8217;on quand même se servir d&#8217;autres méthodes proposées par Google même en utilisant le plugin.</p>
<p>Ce plugin JQuery reste néanmoins <strong>juste une alternative pour afficher et contrôler des Google Maps simples</strong>. Je ne pense pas que ce soit l&#8217;idéal pour des cartes avec plein d&#8217;options de contrôle.</p>


<p>Pas encore de billet sur le même sujet !</p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2010/09/16/plugin-jquery-bmap-pour-afficher-simplement-des-google-maps/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Web design du jour #22 : Proximity Philippines</title>
		<link>http://blog.arnaud-k.fr/2010/09/16/web-design-du-jour-22-proximity-philippines/</link>
		<comments>http://blog.arnaud-k.fr/2010/09/16/web-design-du-jour-22-proximity-philippines/#comments</comments>
		<pubDate>Thu, 16 Sep 2010 06:51:19 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[daily design]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1846</guid>
		<description><![CDATA[Une fois n&#8217;est pas coutume, je vais parler d&#8217;un site fait en Flash&#8230; (n&#8217;en déplaise au pro-Apple ). Proximity Philippines est (apparemment) le site d&#8217;une agence de com&#8217;. Dès que l&#8217;on arrive sur le site, le mode plein écran est&#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2010/09/16/web-design-du-jour-22-proximity-philippines/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F16%2Fweb-design-du-jour-22-proximity-philippines%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F16%2Fweb-design-du-jour-22-proximity-philippines%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.proximity.com.ph/"><img class="aligncenter size-full wp-image-1847" title="daily-design-proximity" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/daily-design-proximity.jpg" alt="" width="600" height="375" /></a>Une fois n&#8217;est pas coutume, je vais parler d&#8217;un site fait en Flash&#8230; (n&#8217;en déplaise au pro-Apple <img src='http://blog.arnaud-k.fr/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ). <a href="http://www.proximity.com.ph/">Proximity Philippines</a> est (apparemment) le site d&#8217;une agence de com&#8217;.</p>
<p>Dès que l&#8217;on arrive sur le site, le mode plein écran est activé par défaut. On se retrouve avec un fenêtre où tout un navigateur et un site ont été re-dessiné à la main. Lors de la visualisation du portfolio, on se retrouve même avec plusieurs &laquo;&nbsp;onglets&nbsp;&raquo; ouverts.</p>
<p>Je trouve le site vraiment bien fait avec un léger humour second degrés : il faut essayer le &laquo;&nbsp;panic button&nbsp;&raquo; par exemple ou bien cliquer plusieurs fois sur la croix en haut à droite pour fermer le site !</p>


<p>Sur le même sujet :<ol><li><a href='http://blog.arnaud-k.fr/2011/04/21/les-web-designs-de-la-semaine/' rel='bookmark' title='Les web designs de la semaine'>Les web designs de la semaine</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2010/09/16/web-design-du-jour-22-proximity-philippines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plugin JQuery Uploadify : un tutorial vidéo pour l&#8217;upload multiple (par formamotion)</title>
		<link>http://blog.arnaud-k.fr/2010/09/15/plugin-jquery-uploadify-un-tutorial-video-pour-lupload-multiple-par-formamotion/</link>
		<comments>http://blog.arnaud-k.fr/2010/09/15/plugin-jquery-uploadify-un-tutorial-video-pour-lupload-multiple-par-formamotion/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 12:51:43 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[tuto video]]></category>
		<category><![CDATA[tutorial JQuery]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1828</guid>
		<description><![CDATA[Formamotion, un site de tutoriels vidéos en français, propose un tuto vidéo de 12 minutes expliquant l&#8217;utilisation du plugin JQuery Uploadify permettant l&#8217;upload multiple de fichiers. Ce tutoriel explique l&#8217;utilisation du plugin et (le plus important) sa mise en place&#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2010/09/15/plugin-jquery-uploadify-un-tutorial-video-pour-lupload-multiple-par-formamotion/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F15%2Fplugin-jquery-uploadify-un-tutorial-video-pour-lupload-multiple-par-formamotion%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F15%2Fplugin-jquery-uploadify-un-tutorial-video-pour-lupload-multiple-par-formamotion%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="aligncenter size-full wp-image-1829" title="video-uploadify" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/video-uploadify.jpg" alt="" width="600" height="266" /><a href="http://www.formamotion.com/index.html">Formamotion</a>, un site de tutoriels vidéos en français, <strong>propose un tuto vidéo de 12 minutes expliquant l&#8217;utilisation du<a href="http://www.uploadify.com/"> plugin JQuery Uploadify</a> permettant l&#8217;upload multiple de fichiers.</strong></p>
<p>Ce tutoriel explique l&#8217;utilisation du plugin et (le plus important) sa mise en place et sa configuration. Les 3 premières minutes où le plugin est présenté ne sont pas franchement très utiles contrairement aux explications qui arrivent après.</p>
<p><em>(j&#8217;ai rencontré des problèmes pour l&#8217;insertion de la vidéo en utilisant le code proposé par formamotion, chez moi elle ne fonctionne pas sous Firefox &#8211; Linux, tu peux toujours <a href="http://www.formamotion.com/formavideo,42,Uploadify-jQuery-upload-multiple-de-fichiers.html">la lire sur le site</a>)</em></p>
<div style="text-align:center">
<p>          <object type="application/x-shockwave-flash" width="600" height="480" allowscriptaccess="always" allowfullscreen="true"<br />
          flashvars="http://www.formamotion.com/video_flv.php?id=jquery_uploadify.flv"<br />
          data="http://www.formamotion.com/player.swf?showguidebutton=false&#038;showsharebutton=false&#038;brandname=FORMAMOTION&#038;brandlink=http://www.formamotion.com/"><param name="movie" value="http://www.formamotion.com/player.swf?showguidebutton=false&#038;showsharebutton=false&#038;brandname=FORMAMOTION&#038;brandlink=http://www.formamotion.com/" /><param value="true" name="allowfullscreen" /><param value="always" name="allowscriptaccess" /><param name="flashvars" value="file=http://www.formamotion.com/video_flv.php?id=jquery_uploadify.flv" /></object>      </p></div>
<p style="margin-top:20px;">
Enfin, tu peux également les 4 autres tutoriels vidéos disponibles sur le site en y faisant une <a href="http://www.formamotion.com/formavideos_recherche.html?recherche=jquery&#038;go=GO">recherche sur le mot JQuery</a> !</p>


<p>Pas encore de billet sur le même sujet !</p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2010/09/15/plugin-jquery-uploadify-un-tutorial-video-pour-lupload-multiple-par-formamotion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.formamotion.com/video_flv.php?id=jquery_uploadify.flv" length="0" type="video/flv" />
		</item>
		<item>
		<title>3 plugins JQuery pour faire des sliders</title>
		<link>http://blog.arnaud-k.fr/2010/09/15/3-plugins-jquery-pour-faire-des-sliders/</link>
		<comments>http://blog.arnaud-k.fr/2010/09/15/3-plugins-jquery-pour-faire-des-sliders/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 07:40:01 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[plugin JQuery]]></category>
		<category><![CDATA[slider]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1814</guid>
		<description><![CDATA[Après un billet (il y a quelques temps déjà) présentant une liste de sites contenant des jolis sliders et la présentation du plugin EasySlider, je vous propose 3 nouveaux plugins pour faire des sliders avec JQuery. Ce sont 3 plugins&#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2010/09/15/3-plugins-jquery-pour-faire-des-sliders/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F15%2F3-plugins-jquery-pour-faire-des-sliders%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F15%2F3-plugins-jquery-pour-faire-des-sliders%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Après un billet (il y a quelques temps déjà) présentant une <a href="http://blog.arnaud-k.fr/2010/design/web-design-lart-de-faire-un-joli-slider/">liste de sites contenant des jolis sliders</a> et <a href="http://blog.arnaud-k.fr/2009/developpement-web/cat-jquery/un-slider-pour-jquery-easy-slider/">la présentation du plugin EasySlider</a>, je vous propose 3 nouveaux plugins pour <strong>faire des sliders avec JQuery</strong>. Ce sont 3 plugins qui vont faire la même chose, mais avec tout de même quelques diffénces en terme d&#8217;options disponibles, de customisations et de contenu (avec images ou textes par exemple).</p>
<h3>Plugin JQuery Nivo Slider</h3>
<p><a href="http://nivo.dev7studios.com/"><img class="aligncenter size-full wp-image-1815" title="3-sliders-nivo" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/3-sliders-nivo.jpg" alt="" width="600" height="284" /></a>Le premier de cette (mini) liste est <a href="http://nivo.dev7studios.com/">Nivo Slider</a>. <strong>Sa mise en place est aisée et ne demande pas de structure HTML particulière</strong>. Apparemment, il ne propose de &laquo;&nbsp;slider&nbsp;&raquo; que des images (voir des liens contenant&#8230; des images).</p>
<p>Le plus intéressant dans ce plugin sont les <strong>19 options disponibles</strong>. Outre les options classiques (délais, vittesse, navigation), on peut changer l&#8217;animation de transition avec effets assez originaux, la navigation au clavier, l&#8217;affichage ou non de miniature sous le slider, la mini-pagination (comme ci-dessus), et diverses callbacks (avant l&#8217;animation, après l&#8217;animation&#8230;).</p>
<p>Pour conclure avec ce plugin, je te laisse aller <a href="http://nivo.dev7studios.com/demos/">faire un tour du côté des démos</a>.</p>
<h3 style="margin-top: 30px;">Plugin JQuery SimpleSlide</h3>
<p><a href="http://www.simplesli.de/"><img class="aligncenter size-full wp-image-1817" title="3-sliders-simpleslide" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/3-sliders-simpleslide.jpg" alt="" width="600" height="334" /></a>Le deuxième plugin est <a href="http://www.simplesli.de/">SimpleSlide</a>. <strong>Un plugin, comme son nom l&#8217;indique, simple et efficace</strong>. Avec ce slider, on n&#8217;est pas obligé de faire slider des images, on peut faire défiler le contenu que l&#8217;on souhaite !</p>
<p>Par contre, au niveau des options, c&#8217;est un petit peu plus léger que le plugin JQuery précédent. On y retrouve les classiques : vitesse et délais, des options pour la barre de statut (elle ne sert pas à naviguer), un callback et c&#8217;est à peu près tout. Et si l&#8217;on veut ajouter des flèches de navigation (comme ci-dessus), il suffit d&#8217;ajout des div avec les bonnes classes (&laquo;&nbsp;left-button&nbsp;&raquo; par exemple) et le bon attribut &laquo;&nbsp;rel&nbsp;&raquo;. Avec cette méthode, tu peux aussi faire un bouton de type &laquo;&nbsp;jump to&nbsp;&raquo; si on veut amener le visiteur à un slide particulier.</p>
<p>D&#8217;autres démos de ce plugin <a href="http://www.simplesli.de/">sont disponibles ici</a>. Et à noter que tout le contenu du site est dans un SimpleSlide !</p>
<h3 style="margin-top: 30px;">Plugin JQuery Orbit</h3>
<p><a href="http://www.zurb.com/playground/jquery_image_slider_plugin"><img class="aligncenter size-full wp-image-1818" title="3-sliders-orbit" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/3-sliders-orbit.jpg" alt="" width="600" height="290" /></a>Le dernier plugin de cet article, est similaire à Nivo Slider. <a href="http://www.zurb.com/playground/jquery_image_slider_plugin">Orbit</a> (c&#8217;est bien le nom du plugin) permet, en effet, de <strong>faire défiler uniquement des images</strong>. Je le trouve visuellement réussi, les éléments de navigations, le timer (en haut à droite) sont bien réalisés.</p>
<p>Au niveau des options proposées cela va de la durée de la pause au &laquo;&nbsp;mouseout&nbsp;&raquo; à la vitesse d&#8217;animation de la légende. J&#8217;en ai compté 9. Pour moi, <strong>il manque quand même la possibilité de paramétrer des callbacks</strong>, c&#8217;est un des manques de ce plugin. Et c&#8217;est à prendre en compte lors du choix du plugin à utiliser.</p>
<p>Maintenant, tu n&#8217;as aucune excuse pour ne pas avoir de slider sur ton site ! <img src='http://blog.arnaud-k.fr/wp-includes/images/smilies/icon_surprised.gif' alt=':-o' class='wp-smiley' /> </p>


<p>Pas encore de billet sur le même sujet !</p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2010/09/15/3-plugins-jquery-pour-faire-des-sliders/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Tutorial JQuery : formulaire de recherche en Ajax</title>
		<link>http://blog.arnaud-k.fr/2010/09/14/tutorial-jquery-formulaire-de-recherche-en-ajax/</link>
		<comments>http://blog.arnaud-k.fr/2010/09/14/tutorial-jquery-formulaire-de-recherche-en-ajax/#comments</comments>
		<pubDate>Tue, 14 Sep 2010 11:00:24 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[tutorial JQuery]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1797</guid>
		<description><![CDATA[Chose promis, chose due, voici un tutorial pour faire un formulaire de recherche en Ajax avec JQuery et PHP. Idéal si vous avez envie de copier Google Instant, ce type de formulaire permet de faire gagner du temps à vos&#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2010/09/14/tutorial-jquery-formulaire-de-recherche-en-ajax/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F14%2Ftutorial-jquery-formulaire-de-recherche-en-ajax%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F14%2Ftutorial-jquery-formulaire-de-recherche-en-ajax%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/ajax-search.jpg" alt="" title="Tutorial JQuery : formulaire de recherche en Ajax" width="600" height="230" class="aligncenter size-full wp-image-1810" /><br />
Chose promis, chose due, voici un tutorial pour faire un <strong>formulaire de recherche en Ajax avec JQuery et PHP</strong>. Idéal si vous avez envie de copier <a href="http://blog.arnaud-k.fr/2010/hors-sujet/autre/google-instant-search-la-recherche-plus-rapide/">Google Instant</a>, ce type de formulaire permet de faire gagner du temps à vos internautes. Et comme on commence à en voir un peu partout (Google, Youtube, Itunes&#8230;), il risque de devenir un standard.</p>
<p>Donc, comme d&#8217;habitude, j&#8217;ai préparé une démo du tutorial :<br />
<a class="demo" title="voir la demo du formulaire de recherche en Ajax" href="http://blog.arnaud-k.fr/demos/jquery-ajax-search/">Demo</a></p>
<p>Et c&#8217;est parti pour le code. On attaque donc par le code HTML de la page. On prépare le formulaire simplement, j&#8217;ai opté pour que l&#8217;on n&#8217;affiche pas le bouton soumission du formulaire. Et on ajoute un bloc vide, celui-ci contiendra les résultats éventuels.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">&lt;!--debut du formulaire--&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">form</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ajax&quot;</span> <span style="color: #000066;">action</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;search.php&quot;</span> <span style="color: #000066;">method</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;get&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;q&quot;</span>&gt;</span>Rechercher un article<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;q&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;q&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">form</span>&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;!--fin du formulaire--&gt;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">&lt;!--preparation de l'affichage des resultats--&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;results&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

<p>Ensuite le gros du code, le code JavaScript utilisant JQuery :</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<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>
  <span style="color: #006600; font-style: italic;">// détection de la saisie dans le champ de recherche</span>
  $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#q'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">keyup</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>
    $field <span style="color: #339933;">=</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: #009900;">&#40;</span><span style="color: #3366CC;">'#results'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// on vide les resultats</span>
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#ajax-loader'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">remove</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// on retire le loader</span>
&nbsp;
    <span style="color: #006600; font-style: italic;">// on commence à traiter à partir du 2ème caractère saisie</span>
    <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span> $field.<span style="color: #660066;">val</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">length</span> <span style="color: #339933;">&gt;</span> <span style="color: #CC0000;">1</span> <span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
      <span style="color: #006600; font-style: italic;">// on envoie la valeur recherché en GET au fichier de traitement</span>
      $.<span style="color: #660066;">ajax</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
  	type <span style="color: #339933;">:</span> <span style="color: #3366CC;">'GET'</span><span style="color: #339933;">,</span> <span style="color: #006600; font-style: italic;">// envoi des données en GET ou POST</span>
	url <span style="color: #339933;">:</span> <span style="color: #3366CC;">'ajax-search.php'</span> <span style="color: #339933;">,</span> <span style="color: #006600; font-style: italic;">// url du fichier de traitement</span>
	data <span style="color: #339933;">:</span> <span style="color: #3366CC;">'q='</span><span style="color: #339933;">+</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: #660066;">val</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">,</span> <span style="color: #006600; font-style: italic;">// données à envoyer en  GET ou POST</span>
	beforeSend <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> <span style="color: #006600; font-style: italic;">// traitements JS à faire AVANT l'envoi</span>
		$field.<span style="color: #660066;">after</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'&lt;img src=&quot;ajax-loader.gif&quot; alt=&quot;loader&quot; id=&quot;ajax-loader&quot; /&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// ajout d'un loader pour signifier l'action</span>
	<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
	success <span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">// traitements JS à faire APRES le retour d'ajax-search.php</span>
		$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#ajax-loader'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">remove</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// on enleve le loader</span>
		$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#results'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// affichage des résultats dans le bloc</span>
	<span style="color: #009900;">&#125;</span>
      <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>		
  <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Et enfin le code du fichier &laquo;&nbsp;ajax-search.php&nbsp;&raquo; effectuant la recherche et le renvoi des éléments :</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">//connexion à la base de données </span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_NAME'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'nom_de_la_base'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_USER'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'nom_utilisateur'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_PASSWORD'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'mot_de_passe'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_HOST'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'localhost'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$link</span>   <span style="color: #339933;">=</span>   <span style="color: #990000;">mysql_connect</span><span style="color: #009900;">&#40;</span> DB_HOST <span style="color: #339933;">,</span> DB_USER <span style="color: #339933;">,</span> DB_PASSWORD <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">mysql_select_db</span><span style="color: #009900;">&#40;</span> DB_NAME <span style="color: #339933;">,</span> <span style="color: #000088;">$link</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//recherche des résultats dans la base de données</span>
<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span>   <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'SELECT post_title , post_date , guid
                          FROM wp_posts
                          WHERE post_status = \'publish\'
                          AND post_title LIKE \''</span> <span style="color: #339933;">.</span> safe<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'q'</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'%\'
                          LIMIT 0,20'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// affichage d'un message &quot;pas de résultats&quot;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #990000;">mysql_num_rows</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$result</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">0</span> <span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
    &lt;h3 style=&quot;text-align:center; margin:10px 0;&quot;&gt;Pas de r&amp;eacute;sultats pour cette recherche&lt;/h3&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;">// parcours et affichage des résultats</span>
    <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$post</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_fetch_object</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$result</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">?&gt;</span>
        &lt;div class=&quot;article-result&quot;&gt;
            &lt;h3&gt;&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">guid</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;&lt; ?php echo utf8_encode( $post-&gt;post_title ); ?&gt;&lt;/a&gt;&lt;/h3&gt;
            &lt;p class=&quot;date&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_date</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/p&gt;
            &lt;p class=&quot;url&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">guid</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/p&gt;
        &lt;/div&gt;
    <span style="color: #000000; font-weight: bold;">&lt;?php</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">/*****
fonctions
*****/</span>
<span style="color: #000000; font-weight: bold;">function</span> safe<span style="color: #009900;">&#40;</span><span style="color: #000088;">$var</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$var</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_real_escape_string</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$var</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$var</span> <span style="color: #339933;">=</span> <span style="color: #990000;">addcslashes</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$var</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'%_'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$var</span> <span style="color: #339933;">=</span> <span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$var</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$var</span> <span style="color: #339933;">=</span> <span style="color: #990000;">htmlspecialchars</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$var</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #000088;">$var</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Voilà, c&#8217;est tout pour ce tutoriel. Après il peut encore être optimisé en ajoutant des suggestions (toujours à la Google <img src='http://blog.arnaud-k.fr/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ). Mais on verra ça une autre fois !</p>


<p>Pas encore de billet sur le même sujet !</p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2010/09/14/tutorial-jquery-formulaire-de-recherche-en-ajax/feed/</wfw:commentRss>
		<slash:comments>46</slash:comments>
		</item>
		<item>
		<title>Un nouveau plugin JQuery pour faire des carousel : bxCarousel</title>
		<link>http://blog.arnaud-k.fr/2010/09/13/un-nouveau-plugin-jquery-pour-faire-des-carousel-bxcarousel/</link>
		<comments>http://blog.arnaud-k.fr/2010/09/13/un-nouveau-plugin-jquery-pour-faire-des-carousel-bxcarousel/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 11:45:39 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[carousel]]></category>
		<category><![CDATA[galerie]]></category>
		<category><![CDATA[plugin JQuery]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1767</guid>
		<description><![CDATA[Voici enfin une bonne alternative au plugin JQuery Jcarousel. Le plugin bxCarousel permet comme son nom l&#8217;indique de faire un carousel. C&#8217;est la solution idéale pour afficher une multitude de miniature d&#8217;images sans prendre trop de place. Le plugin a&#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2010/09/13/un-nouveau-plugin-jquery-pour-faire-des-carousel-bxcarousel/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F13%2Fun-nouveau-plugin-jquery-pour-faire-des-carousel-bxcarousel%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F13%2Fun-nouveau-plugin-jquery-pour-faire-des-carousel-bxcarousel%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a rel="attachment wp-att-1774" href="http://blog.arnaud-k.fr/2010/developpement-web/cat-jquery/un-nouveau-plugin-jquery-pour-faire-des-carousel-bxcarousel/attachment/bxcarousel/"><img class="aligncenter size-full wp-image-1774" title="plugin JQuery bxcarousel" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/bxcarousel.jpg" alt="" width="600" height="210" /></a></p>
<p>Voici enfin une bonne alternative au <a href="http://blog.arnaud-k.fr/2009/developpement-web/cat-jquery/tutorial-jquery-galerie-photo-avec-jcarousel-et-lightbox/">plugin JQuery Jcarousel</a>. <strong>Le plugin <a href="http://bxcarousel.com/">bxCarousel</a> permet comme son nom l&#8217;indique de faire un carouse</strong>l. C&#8217;est la solution idéale pour afficher une multitude de miniature d&#8217;images sans prendre trop de place.</p>
<p>Le plugin a l&#8217;air plus simple à l&#8217;utilisation que Jcarousel, notamment au niveau du design et de l&#8217;imbrication d&#8217;éléments. <strong>Le plugin JQuery propose une dizaine d&#8217;options</strong> allant de la vitesse de l&#8217;animation au nombre d&#8217;éléments qui se déplacent en passant par le délai entre les animations.</p>
<p>Voici la liste exhaustive des options du plugin :</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<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>
  $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'ul'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">bxCarousel</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
	display_num<span style="color: #339933;">:</span> <span style="color: #CC0000;">4</span><span style="color: #339933;">,</span>       <span style="color: #006600; font-style: italic;">// number of elements to be visible</span>
	move<span style="color: #339933;">:</span> <span style="color: #CC0000;">4</span><span style="color: #339933;">,</span>              <span style="color: #006600; font-style: italic;">// number of elements to the shift the slides</span>
	speed<span style="color: #339933;">:</span> <span style="color: #CC0000;">500</span><span style="color: #339933;">,</span>           <span style="color: #006600; font-style: italic;">// number in milliseconds it takes to finish slide animation</span>
	margin<span style="color: #339933;">:</span><span style="color: #CC0000;">0</span><span style="color: #339933;">,</span>             <span style="color: #006600; font-style: italic;">// right margin to be applied to each &quot;li&quot; element (in pixels, although do not include &quot;px&quot;)</span>
	auto<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">,</span>          <span style="color: #006600; font-style: italic;">// automatically play slides without a user click</span>
	auto_interval<span style="color: #339933;">:</span> <span style="color: #CC0000;">2000</span><span style="color: #339933;">,</span>  <span style="color: #006600; font-style: italic;">// the amount of time in milliseconds between each auto animation</span>
	auto_dir<span style="color: #339933;">:</span> <span style="color: #3366CC;">'next'</span><span style="color: #339933;">,</span>     <span style="color: #006600; font-style: italic;">// direction of auto slideshow (options: 'next', 'prev')</span>
	auto_hover<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">,</span>    <span style="color: #006600; font-style: italic;">// determines if the slideshow will stop when user hovers over slideshow</span>
	next_text<span style="color: #339933;">:</span> <span style="color: #3366CC;">'next'</span><span style="color: #339933;">,</span>    <span style="color: #006600; font-style: italic;">// text to be used for the 'next' control</span>
	next_image<span style="color: #339933;">:</span> <span style="color: #3366CC;">''</span><span style="color: #339933;">,</span>       <span style="color: #006600; font-style: italic;">// image to be used for the 'next' control</span>
	prev_text<span style="color: #339933;">:</span> <span style="color: #3366CC;">'prev'</span><span style="color: #339933;">,</span>    <span style="color: #006600; font-style: italic;">// text to be used for the 'prev' control</span>
	prev_image<span style="color: #339933;">:</span> <span style="color: #3366CC;">''</span><span style="color: #339933;">,</span>       <span style="color: #006600; font-style: italic;">// image to be used for the 'prev' control</span>
	controls<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span>        <span style="color: #006600; font-style: italic;">// determines if controls will be displayed</span>
  <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Je pense que pouvoir utiliser ce plugin à l&#8217;avenir, il me reste néanmoins à voir ce qu&#8217;il va réellement donner à l&#8217;utilisation !</p>


<p>Pas encore de billet sur le même sujet !</p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2010/09/13/un-nouveau-plugin-jquery-pour-faire-des-carousel-bxcarousel/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Des web designs créatifs avec du JQuery inside</title>
		<link>http://blog.arnaud-k.fr/2010/09/13/des-web-designs-creatifs-avec-du-jquery-inside/</link>
		<comments>http://blog.arnaud-k.fr/2010/09/13/des-web-designs-creatifs-avec-du-jquery-inside/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 08:30:54 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[inspiration]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1783</guid>
		<description><![CDATA[Une (petite) sélection de sites trouvés au fil de mes navigations. J&#8217;ai trouvé ces sites créatifs, bien faits visuellement et imaginatifs. Ils ont tous un point commun : l&#8217;utilisation de JQuery, certes à divers degrés, mais JQuery tient une part&#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2010/09/13/des-web-designs-creatifs-avec-du-jquery-inside/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F13%2Fdes-web-designs-creatifs-avec-du-jquery-inside%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F13%2Fdes-web-designs-creatifs-avec-du-jquery-inside%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Une (petite) sélection de sites trouvés au fil de mes navigations. J&#8217;ai trouvé ces sites créatifs, bien faits visuellement et imaginatifs. Ils ont tous un point commun : <strong>l&#8217;utilisation de JQuery</strong>, certes à divers degrés, mais JQuery tient une part importante dans ces sites.</p>
<h2><a href="http://appear.dk/">Appear.dk</a></h2>
<p>Peut-être le site le plus complet en matière de JQuery de cette sélection. J&#8217;avoue que c&#8217;est un de mes coups de cœur. La navigation y est surprenante !</p>
<p><a href="http://appear.dk/"><img class="aligncenter size-full wp-image-1784" title="appear" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/appear.jpg" alt="" width="600" height="300" /></a></p>
<h2><a href="http://jacoboneal.com/">Jacob O&#8217;neal</a></h2>
<p>Une joli portfolio utilisant des effets d&#8217;apparition / disparition et des accordéons horizontaux.</p>
<p><a href="http://jacoboneal.com/"><img class="aligncenter size-full wp-image-1785" title="jacoboneal" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/jacoboneal.jpg" alt="" width="600" height="300" /></a></p>
<h2><a href="http://www.vivogroup.com.au/">Vivo Group.com.au</a></h2>
<p>Le site web d&#8217;une agence australienne. Au premier abord on pourrait croire à du flash, mais en fait non.</p>
<p><a href="http://www.vivogroup.com.au/"><img class="aligncenter size-full wp-image-1786" title="vivogroup" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/vivogroup.jpg" alt="" width="600" height="300" /></a></p>
<h2><a href="http://www.cafundoestudio.com.br/blog2010/all">Cafundo.com.br</a></h2>
<p>Un blog brésilien mélangeant très bien illustrations et JQuery (j&#8217;aime assez la sobriété de la sidebar).</p>
<p><a href="http://www.cafundoestudio.com.br/blog2010/all"><img class="aligncenter size-full wp-image-1787" title="cafundo" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/cafundo.jpg" alt="" width="600" height="300" /></a></p>
<h2><a href="http://www.alexbuga.com/v9/">Alex Bouga</a></h2>
<p>Je crois qu&#8217;il n&#8217;y a pas grand chose à dire en terme d&#8217;illustrations et d&#8217;animations. Il faut aller y faire un tour et tout y essayer <img src='http://blog.arnaud-k.fr/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a href="http://www.alexbuga.com/v9/"><img class="aligncenter size-full wp-image-1788" title="alexbouga" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/alexbouga.jpg" alt="" width="600" height="300" /></a></p>
<p><strong>Voilà, je pense qu&#8217;avec tout ça la semaine va être assez inspirée !</strong> Et si tu as un site que tu souhaiterais voir apparaître dans une de mes sélections (avec ou sans JQuery) n&#8217;hésite pas à m&#8217;envoyer un petit lien (contact [at] arnaud-k.fr ).</p>


<p>Sur le même sujet :<ol><li><a href='http://blog.arnaud-k.fr/2011/04/21/les-web-designs-de-la-semaine/' rel='bookmark' title='Les web designs de la semaine'>Les web designs de la semaine</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2010/09/13/des-web-designs-creatifs-avec-du-jquery-inside/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Instant Search : la recherche plus rapide !</title>
		<link>http://blog.arnaud-k.fr/2010/09/08/google-instant-search-la-recherche-plus-rapide/</link>
		<comments>http://blog.arnaud-k.fr/2010/09/08/google-instant-search-la-recherche-plus-rapide/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 20:12:56 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[news du web]]></category>
		<category><![CDATA[actualité]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1754</guid>
		<description><![CDATA[Après deux jours de Google Doodle mystérieux, Google a fait la &#171;&#160;Big Annonce&#160;&#187; de la journée : la mise en ligne du Google Instant Search. Tout d&#8217;abord pour tester cela, rien de plus simple que d&#8217;aller sur le site de&#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2010/09/08/google-instant-search-la-recherche-plus-rapide/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F08%2Fgoogle-instant-search-la-recherche-plus-rapide%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F08%2Fgoogle-instant-search-la-recherche-plus-rapide%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p style="text-align: left;"><img class="aligncenter size-large wp-image-1760" title="Google-Instant-Search" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/Google-Instant-Search1-600x222.png" alt="" width="600" height="222" />Après deux jours de Google Doodle mystérieux, Google a fait la &laquo;&nbsp;Big Annonce&nbsp;&raquo; de la journée : la <strong>mise en ligne du Google Instant Search</strong>. Tout d&#8217;abord pour tester cela, rien de plus simple que d&#8217;aller sur le site de Google (pas la peine de te donner le <a href="http://google.com">lien</a> je présume&#8230;) et de commencer une recherche.</p>
<p style="text-align: left;">C&#8217;est magique, on arrive sur la page des résultats tout seul, sans même valider le formulaire. Les résultats s&#8217;actualisent à la frappe du clavier et est couplé avec le toujours présent Google Suggest. Une chose que l&#8217;on peut dire, c&#8217;est que c&#8217;est très très très rapide. Google <strong>Instant</strong> Search porte bien son nom, en effet c&#8217;est bel et bien instantané, et en plus, je ne pense pas être le seul à m&#8217;amuser avec ce soir (ou ce midi / après-midi aux USA).</p>
<p style="text-align: left;">A voir ce que cela va donner à l&#8217;utilisation, pour une première recherche, les internautes ont pris <strong>l&#8217;habitude d&#8217;utiliser la boîte de moteur de recherche du navigateu</strong>r (Firefox, Internet Explorer, Opéra, Chrome&#8230; le proposent tous).</p>
<p style="text-align: left;">Et je peux déjà parier sur une pléiade de tutoriels à venir tels que &laquo;&nbsp;Faire une recherche à la Google Instant Search&nbsp;&raquo; avec Jquery et PHP (ou Mootools et ASP par exemple) ! Et pourquoi pas un petit <a href="http://blog.arnaud-k.fr/tag/tutorial-jquery/">tutoriel avec JQuery</a> ici (j&#8217;ai déjà commencé à y réfléchir <img src='http://blog.arnaud-k.fr/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ).</p>
<p style="text-align: left;">Cette petite transgression dans le thème du blog me permet de parler d&#8217;une nouvelle fonctionnalité que je trouve particulièrement réussi et de voir l&#8217;éventuel impact d&#8217;un billet à chaud sur une actualité brûlante, avec peut-être un retour sur cette expérience bientôt !</p>


<p>Pas encore de billet sur le même sujet !</p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2010/09/08/google-instant-search-la-recherche-plus-rapide/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>JQuery : actualités et liens utiles</title>
		<link>http://blog.arnaud-k.fr/2010/09/08/jquery-actualites-et-liens-utiles/</link>
		<comments>http://blog.arnaud-k.fr/2010/09/08/jquery-actualites-et-liens-utiles/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 08:28:31 +0000</pubDate>
		<dc:creator>arnaud</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[multiselect]]></category>
		<category><![CDATA[plugin JQuery]]></category>
		<category><![CDATA[podcast]]></category>

		<guid isPermaLink="false">http://blog.arnaud-k.fr/?p=1730</guid>
		<description><![CDATA[Pour une reprise en douceur, voici un article ne parlant QUE de JQuery, avec en vrac quelques news de la 1ère librairie Javascript et quelques liens vers des tutoriaux / plugins qui m&#8217;ont marqués ces derniers temps. On va commencer&#160;[...]</p> <p class="read-more"><a class="gray normal" href="http://blog.arnaud-k.fr/2010/09/08/jquery-actualites-et-liens-utiles/">Lire la suite&#160;&#62;&#62;</a></p>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F08%2Fjquery-actualites-et-liens-utiles%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.arnaud-k.fr%2F2010%2F09%2F08%2Fjquery-actualites-et-liens-utiles%2F&amp;source=arnaudk&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Pour une reprise en douceur, voici un article ne parlant QUE de JQuery, avec en vrac quelques news de la 1ère librairie Javascript et quelques liens vers des tutoriaux / plugins qui m&#8217;ont marqués ces derniers temps.</p>
<p><a href="http://podcast.jquery.com"><img class="aligncenter size-full wp-image-1740" title="Le podcast officiel de JQuery" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/jquery-podcast.jpg" alt="" width="600" height="200" /></a></p>
<p>On va commencer par cette info qui a tourné ce week-end : vous pouvez désormais retrouver le <strong>podcast officiel de JQuery</strong> sur <a href="http://podcast.jquery.com/">podcast.jquery.com</a>. Cela offre une manière différente d&#8217;en suivre l&#8217;actualité.</p>
<p class="aligncenter"><img class="aligncenter size-full wp-image-1741" title="JQuery Expressions benchmarkR" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/jquery-benchmarkR.jpg" alt="" width="525" height="240" /></p>
<p>Ensuite un outil bien sympathique, proposé par <a href="http://twitter.com/fgribreau">@FGRibreau</a> : le <a href="http://projets.geekfg.net/?/7-jquery+expressions+benchmarkr.htm">JQuery Expression BenchmarkR</a>. L&#8217;idée est simple, l&#8217;outil permet de <strong>tester la rapidité d&#8217;exécution des sélecteurs</strong>. Pour cela, il suffit de saisir un bout de code HTML, de choisir quelques sélecteurs à comparer et l&#8217;outil s&#8217;occupe du reste : il fait une boucle de 5000 essais par sélecteur, enregistre les temps d&#8217;exécution et sort un joli graphique (on peut même choisir la couleur du graphique).</p>
<p style="margin-top:30px;">
<img class="alignright size-full wp-image-1742" style="margin: 0 0 10px 10px; float:right;" title="JQuery multiselect" src="http://blog.arnaud-k.fr/wp-content/uploads/2010/09/JQuery-multiselect.jpg" alt="" width="200" height="200" />Enfin, pour finir ce premier billet (d&#8217;une longue série, je l&#8217;espère <img src='http://blog.arnaud-k.fr/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ), <strong>un petit plugin JQuery : </strong><a href="http://abeautifulsite.net/blog/2008/04/jquery-multiselect/"><strong>JQuery Multiselect</strong></a> (démo<a href="http://labs.abeautifulsite.net/projects/js/jquery/multiSelect/demo/"> dispo ici</a>). Ce plugin part d&#8217;un constat, les select multiples ne sont pas simples à utiliser pour un un internaute lambda. En effet, il doit comprendre qu&#8217;il doit laisser le doigt appuyé sur la touche CTRL du clavier pour sélectionner plusieurs éléments. Donc le plugin JQuery Multiselect <strong>permet de remplacer un select multiple en une liste de case à cocher</strong>, tout bêtement. Mais je trouve cela beaucoup plus efficace d&#8217;un point de vue ergonomique&nbsp;!</p>


<p>Pas encore de billet sur le même sujet !</p>]]></content:encoded>
			<wfw:commentRss>http://blog.arnaud-k.fr/2010/09/08/jquery-actualites-et-liens-utiles/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

