<?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>LudiBlog &#187; JS</title>
	<atom:link href="http://blog.ludikreation.com/tag/js/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ludikreation.com</link>
	<description>Pour un web Ludique</description>
	<lastBuildDate>Thu, 19 Jan 2012 15:26:54 +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>Chocolat &#8211; plugin jQuery &#8211; La visionneuse d&#8217;image pratique</title>
		<link>http://blog.ludikreation.com/2012/01/19/chocolat-plugin-jquery-la-visionneuse-dimage-pratique/</link>
		<comments>http://blog.ludikreation.com/2012/01/19/chocolat-plugin-jquery-la-visionneuse-dimage-pratique/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 15:24:59 +0000</pubDate>
		<dc:creator>LudiKadmin</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[Chocolat]]></category>
		<category><![CDATA[Français]]></category>
		<category><![CDATA[French]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Plugins jQuery]]></category>
		<category><![CDATA[Visionneuse]]></category>

		<guid isPermaLink="false">http://blog.ludikreation.com/?p=977</guid>
		<description><![CDATA[Je reviens de nouveau avec un plugin jQuery. Cette fois, c&#8217;est une réalisation française : Chocolat. Chocolat permet de visualiser une à plusieurs images sans quitter la page de votre site web. Le plugin jQuery laisse à l&#8217;utilisateur le choix de regrouper une série d&#8217;image sous un lien, ou de laisser apparaître les images sous forme de miniatures. Cette visionneuse peut apparaitre soit en pleine page, soit dans un bloc de la page. Utilisation du plugin : Appel des librairies et fichiers js / css : &#60;script type=&#34;text/javascript&#34; src=&#34;js/jquery.js&#34;&#62;&#60;/script&#62; &#60;script type=&#34;text/javascript&#34; src=&#34;js/jquery.chocolat.js&#34;&#62;&#60;/script&#62; &#60;link rel=&#34;stylesheet&#34; href=&#34;css/chocolat.css&#34; type=&#34;text/css&#34; media=&#34;screen&#34; charset=&#34;utf-8&#34;&#62; Création des éléments html qui seront touchés par le plugin : &#60;a href=&#34;series/1.jpg&#34; rel=&#34;Titre de la série&#34; title=&#34;Légende de l'image 1&#34;&#62;&#60;img width=&#34;100&#34; src=&#34;series/mini/1.jpg&#34; /&#62;&#60;/a&#62; &#60;a href=&#34;series/2.jpg&#34; title=&#34;Légende de l'image 2&#34;&#62;&#60;img width=&#34;100&#34; src=&#34;series/mini/2.jpg&#34; /&#62;&#60;/a&#62; &#60;a href=&#34;series/3.jpg&#34; title=&#34;Légende de l'image 3&#34;&#62;&#60;img width=&#34;100&#34; src=&#34;series/mini/3.jpg&#34;/&#62;&#60;/a&#62; Puis la mise en marche du plugin : &#60;script type=&#34;text/javascript&#34; charset=&#34;utf-8&#34;&#62; &#160;$(document).ready(function(){ &#160; &#160; $(function() { &#160; &#160; &#160; &#160; $('a').Chocolat(); &#160; &#160; }); }); &#60;/script&#62; Puis vous aurez tous vos liens qui seront affectés par le plugin jQuery Chocolat, au clic vous pourrez visionner vos images sans avoir à changer de page. Il existe plusieurs options : container : Définit [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fblog.ludikreation.com%252F2012%252F01%252F19%252Fchocolat-plugin-jquery-la-visionneuse-dimage-pratique%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FwaQSGg%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Chocolat%20-%20plugin%20jQuery%20-%20La%20visionneuse%20d%27image%20pratique%20%23Chocolat%20%23Fran%C3%A7ais%20%23French%20%23Images%20%23Javascript%20%23JQuery%20%23JS%20%23Plugins%20%23Plugins%20jQuery%20%23Visionneuse%22%20%7D);"></div>
<p>Je reviens de nouveau avec un <strong>plugin jQuery</strong>. Cette fois, c&#8217;est une réalisation française : <strong>Chocolat</strong>. <a href="http://chocolat.insipi.de/" title="Chocolat">Chocolat</a> permet de visualiser une à plusieurs images sans quitter la page de votre <strong>site web</strong>. Le <strong>plugin jQuery</strong> laisse à l&#8217;utilisateur le choix de regrouper une série d&#8217;image sous un lien, ou de laisser apparaître les images sous forme de miniatures. Cette visionneuse peut apparaitre soit en pleine page, soit dans un bloc de la page. </p>
<p><img src="http://blog.ludikreation.com/wp-content/uploads/chocolat-jquery-plugin-images.png" alt="chocolat-jquery-plugin-images" title="chocolat-jquery-plugin-images" width="540" height="486" class="aligncenter size-full wp-image-978" /></p>
<p>Utilisation du plugin :</p>
<p>Appel des librairies et fichiers js / css :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;js/jquery.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;js/jquery.chocolat.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">link</span></a> <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;css/chocolat.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: #000066;">media</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;screen&quot;</span> <span style="color: #000066;">charset</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;utf-8&quot;</span>&gt;</span></div></div>
<p>Création des éléments html qui seront touchés par le plugin :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;series/1.jpg&quot;</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Titre de la série&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Légende de l'image 1&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;100&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;series/mini/1.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;series/2.jpg&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Légende de l'image 2&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;100&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;series/mini/2.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;series/3.jpg&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Légende de l'image 3&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;100&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;series/mini/3.jpg&quot;</span><span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;</span></div></div>
<p>Puis la mise en marche du plugin :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">charset</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;utf-8&quot;</span>&gt;</span><br />
&nbsp;$(document).ready(function(){<br />
&nbsp; &nbsp; $(function() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; $('a').Chocolat();<br />
&nbsp; &nbsp; });<br />
});<br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span></div></div>
<p>Puis vous aurez tous vos liens qui seront affectés par le <strong>plugin jQuery Chocolat</strong>, au clic vous pourrez visionner vos images sans avoir à changer de page.</p>
<p>Il existe plusieurs options :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">container :<br />
Définit si l'interface chocolat va s'ouvrir et occuper toute la page (par defaut), ou si elle doit s'ouvrir dans un bloc particulier de la page. (facultatif)<br />
<br />
displayAsALink :<br />
Permet de regrouper les images sous un seul lien (true) ou de laisser le html tel quel (pour laisser des miniatures apparentes par exemple) (false : par defaut). (facultatif)<br />
<br />
linkImages :<br />
Définit si l'on peut passer d'une image à l'autre sans fermer la visionneuse (true : par defaut), ou si les images restent indépendantes. (facultatif)<br />
<br />
overlayOpacity, overlayColor :<br />
Permettent de définir l'opacité et la couleur du fond. (facultatif)<br />
<br />
linksContainer :<br />
Permet de définir l'élément qui contiendra le lien vers la série si displayAsALink vaut true (facultatif).</div></div>
<p>Pour plus d&#8217;information sur ce <strong>plugin</strong>, rendez vous sur <a href="http://chocolat.insipi.de/" title="Chocolat Plugin jQuery">la page officiel de Chocolat</a><br />
Pour visualiser une démo, <a href="http://chocolat.insipi.de/fr/Demonstration/" title="Démo Chocolat Plugin jQuery">c&#8217;est par là</a></p>
<p><strong>Articles qui peuvent vous intéresser :</strong></p>
<ul>
<li><a href="http://blog.ludikreation.com/2011/12/28/slidorion-plugin-jquery-un-slider-couple-a-un-menu-accordeon-et-bien-plus">Chocolat &#8211; plugin jQuery &#8211; La visionneuse d&#8217;image pratique</a></li>
<li><a href="http://blog.ludikreation.com/2011/12/15/s3slider-plugin-jquery-un-slider-simple-pour-vos-sites-web">s3Slider &#8211; Plugin jQuery &#8211; Un slider simple pour vos sites web</a></li>
<li><a href="http://blog.ludikreation.com/2011/12/06/jcoverflip-plugin-jquery-le-coverflow-simple-et-efficace">jCoverflip &#8211; Plugin jQuery &#8211; Le Coverflow simple et efficace</a></li>
<li><a href="http://blog.ludikreation.com/2011/11/24/gmap3-plugin-jquery-pour-api-google-maps-3eme-version">GMap3 &#8211; Plugin jQuery pour API Google Maps 3ème version</a></li>
<li><a href="http://blog.ludikreation.com/2011/11/22/jquery-autosuggest-plugin-boite-de-texte-avec-suggestions-ajax">jQuery AutoSuggest Plugin &#8211; Boite de texte avec suggestions Ajax</a></li>
</ul>
<p><iframe src="http://www.facebook.com/widgets/like.php?href=http://blog.ludikreation.com/2012/01/19/chocolat-plugin-jquery-la-visionneuse-dimage-pratique"<br />
        scrolling="no" frameborder="0"<br />
        style="border:none; width:540px; height:50px"></iframe></p>

]]></content:encoded>
			<wfw:commentRss>http://blog.ludikreation.com/2012/01/19/chocolat-plugin-jquery-la-visionneuse-dimage-pratique/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Slidorion &#8211; Plugin jQuery &#8211; Un Slider couplé à un menu accordéon et bien plus !</title>
		<link>http://blog.ludikreation.com/2011/12/28/slidorion-plugin-jquery-un-slider-couple-a-un-menu-accordeon-et-bien-plus/</link>
		<comments>http://blog.ludikreation.com/2011/12/28/slidorion-plugin-jquery-un-slider-couple-a-un-menu-accordeon-et-bien-plus/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 21:16:38 +0000</pubDate>
		<dc:creator>LudiKadmin</dc:creator>
				<category><![CDATA[Framework]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[Accordéons]]></category>
		<category><![CDATA[Effets]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[Menus]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Plugins jQuery]]></category>
		<category><![CDATA[Sliders]]></category>
		<category><![CDATA[Slidorion]]></category>

		<guid isPermaLink="false">http://blog.ludikreation.com/?p=971</guid>
		<description><![CDATA[Vous cherchez un slider en javascript ? Mieux, en jQuery ? De plus, couplé à un menu accordéon avec du contenu afin de rendre l&#8217;utile à l&#8217;agréable ? Slidorion est le plugin qu&#8217;il vous faut. En effet, vous allez pouvoir faire défiler des images (avec textes, html etc&#8230; ou non) avec un menu associé et son bloc de contenu. Autant dire que ce plugin jQuery est intéressant pour agrémenter un page web. Comment utiliser ce plugin jQuery : Importer les librairies dans le document (dans le &#171;&#160;head&#160;&#187; &#8211; css+js) : &#60;link rel=&#34;stylesheet&#34; href=&#34;css/slidorion.css&#34; /&#62; &#60;script src=&#34;https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js&#34;&#62;&#60;/script&#62; &#60;script src=&#34;js/jquery.easing.js&#34;&#62;&#60;/script&#62; &#60;script src=&#34;js/jquery.slidorion.min.js&#34;&#62;&#60;/script&#62; Vous l&#8217;aurez compris, easing est nécessaire au bon fonctionnement de Slidorion. Télécharger Easing Construire la structure qui deviendra notre Slider à menu : &#60;div id=&#34;slidorion&#34;&#62; &#160; &#160; &#60;div id=&#34;slider&#34;&#62; &#160; &#160; &#160; &#160; &#60;div class=&#34;slide&#34;&#62;&#60;/div&#62; &#160; &#160; &#160; &#160; &#60;div class=&#34;slide&#34;&#62;&#60;/div&#62; &#160; &#160; &#160; &#160; &#60;div class=&#34;slide&#34;&#62;&#60;/div&#62; &#160; &#160; &#60;/div&#62; &#160; &#160; &#160; &#160; &#60;div id=&#34;accordion&#34;&#62; &#160; &#160; &#160; &#160; &#60;div class=&#34;link-header&#34;&#62;New Features&#60;/div&#62; &#160; &#160; &#160; &#160; &#60;div class=&#34;link-content&#34;&#62; &#160; &#160; &#160; &#160; &#160; &#160; &#60;!-- content --&#62; &#160; &#160; &#160; &#160; &#60;/div&#62; &#160; &#160; &#160; &#160; &#60;div class=&#34;link-header&#34;&#62;A Simple Image&#60;/div&#62; &#160; &#160; &#160; &#160; &#60;div class=&#34;link-content&#34;&#62; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fblog.ludikreation.com%252F2011%252F12%252F28%252Fslidorion-plugin-jquery-un-slider-couple-a-un-menu-accordeon-et-bien-plus%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2Fumr7Bq%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Slidorion%20-%20Plugin%20jQuery%20-%20Un%20Slider%20coupl%C3%A9%20%C3%A0%20un%20menu%20accord%C3%A9on%20et%20bien%20plus%20%21%20%23Accord%C3%A9ons%20%23Effets%20%23Images%20%23Javascript%20%23JS%20%23Menus%20%23Plugins%20%23Plugins%20jQuery%20%23Sliders%20%23Slidorion%22%20%7D);"></div>
<p>Vous cherchez un <strong>slider en javascript</strong> ? Mieux, en <strong>jQuery</strong> ? De plus, couplé à un <strong>menu accordéon</strong> avec du contenu afin de rendre l&#8217;utile à l&#8217;agréable ? <strong>Slidorion</strong> est le <strong>plugin</strong> qu&#8217;il vous faut. En effet, vous allez pouvoir faire défiler des images (avec textes, html etc&#8230; ou non) avec un menu associé et son bloc de contenu. Autant dire que ce <strong>plugin jQuery</strong> est intéressant pour agrémenter un page web.</p>
<p><img src="http://blog.ludikreation.com/wp-content/uploads/slidorion-plugin-jquery-js.png" alt="slidorion-plugin-jquery-js" title="slidorion-plugin-jquery-js" width="500" height="269" class="aligncenter size-full wp-image-972" /></p>
<p>Comment utiliser ce <strong>plugin jQuery</strong> :</p>
<p>Importer les librairies dans le document (dans le &laquo;&nbsp;head&nbsp;&raquo; &#8211; css+js) :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">link</span></a> <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;css/slidorion.css&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;js/jquery.easing.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;js/jquery.slidorion.min.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span></div></div>
<p>Vous l&#8217;aurez compris, <strong>easing</strong> est nécessaire au bon fonctionnement de <strong>Slidorion</strong>.<br />
<a href="http://www.slidorion.com/js/jquery.easing.js" title="jquery.easing.js">Télécharger Easing</a></p>
<p>Construire la structure qui deviendra notre Slider à menu :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;height:300px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;slidorion&quot;</span>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;slider&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;slide&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;slide&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;slide&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;accordion&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;link-header&quot;</span>&gt;</span>New Features<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;link-content&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">&lt;!-- content --&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;link-header&quot;</span>&gt;</span>A Simple Image<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;link-content&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">&lt;!-- content --&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;link-header&quot;</span>&gt;</span>Background Image w/ HTML<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;link-content&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">&lt;!-- content --&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span></div></div>
<p>Et l&#8217;initiation basique du plugin :</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#slidorion'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">slidorion</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>Bien entendu, il existe de multiples options, comme la vitesse de changement, des effets tels que les fondus, les intervalles etc&#8230;</p>
<p>Vous pouvez directement <a href="http://www.slidorion.com/slidorion.zip" title="Slidorion plugin jQuery">télécharger le plugin Slidorion</a>.</p>
<p>Vous avez des démonstrations complètes sur <a href="http://www.slidorion.com/" title="Slidorion plugin jQuery">le site du plugin jQuery Slidorion</a>.</p>
<p>Un bon petit <strong>plugin jQuery</strong> bien pratique.</p>
<p>Et vous qu&#8217;en pensez vous ?</p>
<p><strong>Articles qui peuvent vous intéresser :</strong></p>
<ul>
<li><a href="http://blog.ludikreation.com/2011/12/15/s3slider-plugin-jquery-un-slider-simple-pour-vos-sites-web">s3Slider &#8211; Plugin jQuery &#8211; Un slider simple pour vos sites web</a></li>
<li><a href="http://blog.ludikreation.com/2011/12/06/jcoverflip-plugin-jquery-le-coverflow-simple-et-efficace">jCoverflip &#8211; Plugin jQuery &#8211; Le Coverflow simple et efficace</a></li>
<li><a href="http://blog.ludikreation.com/2011/11/24/gmap3-plugin-jquery-pour-api-google-maps-3eme-version">GMap3 &#8211; Plugin jQuery pour API Google Maps 3ème version</a></li>
<li><a href="http://blog.ludikreation.com/2011/11/22/jquery-autosuggest-plugin-boite-de-texte-avec-suggestions-ajax">jQuery AutoSuggest Plugin &#8211; Boite de texte avec suggestions Ajax</a></li>
<li><a href="http://blog.ludikreation.com/2011/09/27/jquery-slick-plugin-agrementez-vos-sites-donglets-retractables">jQuery Slick Plugin &#8211; Agrémentez vos sites d&#8217;onglets rétractables</a></li>
</ul>
<p><iframe src="http://www.facebook.com/widgets/like.php?href=http://blog.ludikreation.com/2011/12/28/slidorion-plugin-jquery-un-slider-couple-a-un-menu-accordeon-et-bien-plus"<br />
        scrolling="no" frameborder="0"<br />
        style="border:none; width:540px; height:50px"></iframe></p>

]]></content:encoded>
			<wfw:commentRss>http://blog.ludikreation.com/2011/12/28/slidorion-plugin-jquery-un-slider-couple-a-un-menu-accordeon-et-bien-plus/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>s3Slider &#8211; Plugin jQuery &#8211; Un slider simple pour vos sites web</title>
		<link>http://blog.ludikreation.com/2011/12/15/s3slider-plugin-jquery-un-slider-simple-pour-vos-sites-web/</link>
		<comments>http://blog.ludikreation.com/2011/12/15/s3slider-plugin-jquery-un-slider-simple-pour-vos-sites-web/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 13:24:02 +0000</pubDate>
		<dc:creator>LudiKadmin</dc:creator>
				<category><![CDATA[Framework]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[conception de sites web]]></category>
		<category><![CDATA[Effets]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[Plugins jQuery]]></category>
		<category><![CDATA[Sliders]]></category>

		<guid isPermaLink="false">http://blog.ludikreation.com/?p=965</guid>
		<description><![CDATA[Un petit article sur un plugin jQuery très simple, qui permet de mettre en place un slider pour vos sites web. Vous le savez certainement, le site du Framework javascript jQuery et plus particulièrement la partie des plugins a été victime d&#8217;une malheureuse erreur de manipulation, faisant ainsi perdre une grande partie des plugins enregistrés sur le site de jQuery et ce, sur plusieurs mois (voir années). Ne vous étonnez donc pas si vous tombez sur un message de maintenance en vous rendant sur la partie plugins du site de jQuery. Tout ça pour vous dire qu&#8217;il est intéressant pour moi (et c&#8217;est le cas de pas mal d&#8217;acteurs du web) de vous dégoter des plugins jQuery et de vous les présenter, et ainsi d&#8217;avoir plusieurs sources disponibles pour ces derniers. Bon, revenons en à notre plugin du jour, à savoir s3Slider, qui comme son nom l&#8217;indique est un slider. Un slider qui agrémentera vos sites web. Pour moi, le meilleur des sliders à l&#8217;heure actuel reste Skitter, mais certains d&#8217;entre vous auront peut être besoin de quelque chose de beaucoup plus basique et s3Slider peut répondre à ce besoin. Voilà la manière de l&#8217;utiliser : &#60;script src=&#34;js/jquery.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62; &#60;script [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fblog.ludikreation.com%252F2011%252F12%252F15%252Fs3slider-plugin-jquery-un-slider-simple-pour-vos-sites-web%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FuOs4rf%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22s3Slider%20-%20Plugin%20jQuery%20-%20Un%20slider%20simple%20pour%20vos%20sites%20web%20%23conception%20de%20sites%20web%20%23Effets%20%23Framework%20%23Images%20%23Javascript%20%23JQuery%20%23JS%20%23Plugins%20jQuery%20%23Sliders%22%20%7D);"></div>
<p>Un petit article sur un <strong>plugin jQuery</strong> très simple, qui permet de mettre en place un <strong>slider</strong> pour vos sites web.</p>
<p>Vous le savez certainement, le <strong>site du Framework javascript  jQuery</strong> et plus particulièrement la partie des <strong>plugins</strong> a été victime d&#8217;une malheureuse erreur de manipulation, faisant ainsi perdre une grande partie des <strong>plugins</strong> enregistrés sur le <strong>site de jQuery</strong> et ce, sur plusieurs mois (voir années). Ne vous étonnez donc pas si vous tombez sur un message de maintenance en vous rendant sur <a href="http://plugins.jquery.com/" title="Plugins jQuery">la partie plugins du site de jQuery</a>. Tout ça pour vous dire qu&#8217;il est intéressant pour moi (et c&#8217;est le cas de pas mal d&#8217;acteurs du web) de vous dégoter des <strong>plugins jQuery</strong> et de vous les présenter, et ainsi d&#8217;avoir plusieurs sources disponibles pour ces derniers.</p>
<p>Bon, revenons en à notre <strong>plugin</strong> du jour, à savoir <a href="http://www.serie3.info/s3slider/" title="s3Slider Plugin jQuery">s3Slider</a>, qui comme son nom l&#8217;indique est un <strong>slider</strong>. Un slider qui agrémentera vos sites web.</p>
<p><img src="http://blog.ludikreation.com/wp-content/uploads/s3Slider-jQuery-plugin-js.png" alt="s3Slider-jQuery-plugin-js" title="s3Slider-jQuery-plugin-js" width="540" height="228" class="aligncenter size-full wp-image-966" /></p>
<p>Pour moi, le meilleur des <strong>sliders</strong> à l&#8217;heure actuel reste <a href="http://blog.ludikreation.com/2011/04/21/skitter-plugin-jquery-slideshow-for-anytime/" title="Skitter Plugin jQuery">Skitter</a>, mais certains d&#8217;entre vous auront peut être besoin de quelque chose de beaucoup plus basique et <strong>s3Slider</strong> peut répondre à ce besoin.</p>
<p>Voilà la manière de l&#8217;utiliser :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;js/jquery.js&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;js/s3Slider.js&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span></div></div>
<p>Code à insérer dans le head de votre fichier.</p>
<p>Ensuite :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s3slider&quot;</span>&gt;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s3sliderContent&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s3sliderImage&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;monimage.png&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span>Your text comes here<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s3sliderImage&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;monimage2.png&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span>Your text comes here<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;clear s3sliderImage&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span></div></div>
<p>Les blocs qui deviendront un slider. Images + textes.</p>
<p>Puis :</p>
<div class="codecolorer-container css default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;height:300px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #cc00cc;">#s3slider</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">400px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* important to be same as image width */</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">300px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* important to be same as image height */</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* important */</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* important */</span><br />
<span style="color: #00AA00;">&#125;</span><br />
<br />
<span style="color: #cc00cc;">#s3sliderContent</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">400px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* important to be same as image width or wider */</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* important */</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* important */</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">margin-left</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* important */</span><br />
<span style="color: #00AA00;">&#125;</span><br />
<br />
<span style="color: #6666ff;">.s3sliderImage</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp;<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: #808080; font-style: italic;">/* important */</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* important */</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* important */</span><br />
<span style="color: #00AA00;">&#125;</span><br />
<br />
<span style="color: #6666ff;">.s3sliderImage</span> span <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* important */</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span>/<span style="color: #933;">15px</span> Arial<span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span> <span style="color: #933;">13px</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">374px</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp;filter<span style="color: #00AA00;">:</span> alpha<span style="color: #00AA00;">&#40;</span>opacity<span style="color: #00AA00;">=</span><span style="color: #cc66cc;">70</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* here you can set the opacity of box with text */</span><br />
&nbsp; &nbsp;-moz-opacity<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0.7</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* here you can set the opacity of box with text */</span><br />
&nbsp; &nbsp;-khtml-opacity<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0.7</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* here you can set the opacity of box with text */</span><br />
&nbsp; &nbsp;opacity<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0.7</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* here you can set the opacity of box with text */</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* important */</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><br />
<br />
&nbsp; &nbsp;<span style="color: #808080; font-style: italic;">/*<br />
&nbsp; &nbsp; &nbsp; &nbsp;if you put<br />
&nbsp; &nbsp; &nbsp; &nbsp;top: 0; -&gt; the box with text will be shown at the top of the image<br />
&nbsp; &nbsp; &nbsp; &nbsp;if you put<br />
&nbsp; &nbsp; &nbsp; &nbsp;bottom: 0; -&gt; the box with text will be shown at the bottom of the image<br />
&nbsp; &nbsp;*/</span><br />
<span style="color: #00AA00;">&#125;</span><br />
<br />
.<span style="color: #000000; font-weight: bold;">clear</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">both</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span></div></div>
<p>Le code css d&#8217;exemple à modifier comme bon vous semble.</p>
<p>Et pour finir :</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp;$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#s3slider'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">s3Slider</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; timeOut<span style="color: #339933;">:</span> <span style="color: #CC0000;">4000</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>Et l&#8217;appel à la méthode du plugin afin de transformer tous ces jolis petit blocs en un slider simple (avec pour cet exemple, un changement d&#8217;image toutes les 4 secondes).</p>
<p>Retrouver le plugin sur <a href="http://www.serie3.info/s3slider/" title="s3Slider Plugin jQuery">cette page web</a></p>
<p>Pour <a href="http://www.serie3.info/s3slider/demonstration.html" title="Démo s3Slider Plugin jQuery">visualiser les démonstrations</a>.</p>
<p><strong>Articles qui peuvent vous intéresser :</strong></p>
<ul>
<li><a href="http://blog.ludikreation.com/2011/12/06/jcoverflip-plugin-jquery-le-coverflow-simple-et-efficace">jCoverflip &#8211; Plugin jQuery &#8211; Le Coverflow simple et efficace</a></li>
<li><a href="http://blog.ludikreation.com/2011/11/24/gmap3-plugin-jquery-pour-api-google-maps-3eme-version">GMap3 &#8211; Plugin jQuery pour API Google Maps 3ème version</a></li>
<li><a href="http://blog.ludikreation.com/2011/11/22/jquery-autosuggest-plugin-boite-de-texte-avec-suggestions-ajax">jQuery AutoSuggest Plugin &#8211; Boite de texte avec suggestions Ajax</a></li>
<li><a href="http://blog.ludikreation.com/2011/09/27/jquery-slick-plugin-agrementez-vos-sites-donglets-retractables">jQuery Slick Plugin &#8211; Agrémentez vos sites d&#8217;onglets rétractables</a></li>
<li><a href="http://blog.ludikreation.com/2011/09/13/jquery-favicon-notifier-plugin-jquery-modifiez-vos-favicons-a-la-volee-via-jquery">jQuery Favicon Notifier &#8211; Plugin jQuery &#8211; Modifiez vos favicons à la volée via jQuery</a></li>
</ul>
<p><iframe src="http://www.facebook.com/widgets/like.php?href=http://blog.ludikreation.com/2011/12/15/s3slider-plugin-jquery-un-slider-simple-pour-vos-sites-web"<br />
        scrolling="no" frameborder="0"<br />
        style="border:none; width:540px; height:50px"></iframe></p>

]]></content:encoded>
			<wfw:commentRss>http://blog.ludikreation.com/2011/12/15/s3slider-plugin-jquery-un-slider-simple-pour-vos-sites-web/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>jCoverflip &#8211; Plugin jQuery &#8211; Le Coverflow simple et efficace</title>
		<link>http://blog.ludikreation.com/2011/12/06/jcoverflip-plugin-jquery-le-coverflow-simple-et-efficace/</link>
		<comments>http://blog.ludikreation.com/2011/12/06/jcoverflip-plugin-jquery-le-coverflow-simple-et-efficace/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 14:11:41 +0000</pubDate>
		<dc:creator>LudiKadmin</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[Coverflow]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Effets]]></category>
		<category><![CDATA[Flip]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[jCoverflip]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Plugins jQuery]]></category>

		<guid isPermaLink="false">http://blog.ludikreation.com/?p=962</guid>
		<description><![CDATA[Je reviens avec un article sur un plugin jQuery qui va vous permettre de réaliser un ou plusieurs Coverflow de manière simple et efficace. Je dis simple si vous possédez des notions de jQuery, bien entendu. Ce plugin, c&#8217;est jCoverflip, qui utilise le framework javascript jQuery (normal) et jQuery UI (disponible ici). Voici un exemple basique de l&#8217;utilisation de ce plugin jQuery : &#60;script type=&#34;text/javascript&#34; src=&#34;jquery.js&#34;&#62;&#60;/script&#62; &#60;script type=&#34;text/javascript&#34; src=&#34;jquery.ui.js&#34;&#62;&#60;/script&#62; &#60;script type=&#34;text/javascript&#34; src=&#34;jquery.jcoverflip.js&#34;&#62;&#60;/script&#62; Appel des librairies utiles au bon déroulement des opérations &#60;script type=&#34;text/javascript&#34;&#62; &#160; $(function(){ &#160; &#160; $('#flip').jcoverflip(); &#160; }); &#60;/script&#62; L&#8217;élément avec l&#8217;ID #flip se verra touché par l&#8217;effet de jCoverflip. &#60;ul id=&#34;flip&#34;&#62; &#160; &#160; &#60;li&#62;&#60;a href=&#34;...&#34;&#62;&#60;img ... /&#62;&#60;span class=&#34;title&#34;&#62;My title&#60;/span&#62;&#60;/a&#62;&#60;/li&#62; &#160; &#160; &#60;li&#62;&#60;a href=&#34;...&#34;&#62;&#60;img ... /&#62;&#60;span &#160;class=&#34;title&#34;&#62;Another title&#60;/span&#62;&#60;/a&#62;&#60;/li&#62; &#160; &#160; ... &#160; &#60;/ul&#62; On s&#8217;aperçoit que l&#8217;élément avec l&#8217;ID #flip est une liste &#171;&#160;ul&#160;&#187; avec lien, image et titre. Pour le titre, il est possible d&#8217;utiliser l&#8217;attribut &#171;&#160;alt&#160;&#187; de l&#8217;image ou bien d&#8217;utiliser un attribut title dans le &#171;&#160;li&#160;&#187;. Et là votre Coverflow est fonctionnel. Bien entendu, il y a de multiples options et variantes, options disponibles sur cette page. A savoir qu&#8217;une version pour Drupal existe. Retrouver le plugin téléchargeable sur ce lien et une démonstration ici. [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fblog.ludikreation.com%252F2011%252F12%252F06%252Fjcoverflip-plugin-jquery-le-coverflow-simple-et-efficace%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FtGrAPW%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22jCoverflip%20-%20Plugin%20jQuery%20-%20Le%20Coverflow%20simple%20et%20efficace%20%23Coverflow%20%23Drupal%20%23Effets%20%23Flip%20%23Images%20%23Javascript%20%23jCoverflip%20%23JQuery%20%23JS%20%23Plugins%20%23Plugins%20jQuery%22%20%7D);"></div>
<p>Je reviens avec un article sur un <strong>plugin jQuery</strong> qui va vous permettre de réaliser un ou plusieurs <strong>Coverflow</strong> de manière simple et efficace. Je dis simple si vous possédez des notions de <strong>jQuery</strong>, bien entendu. Ce <strong>plugin</strong>, c&#8217;est <a href="http://www.jcoverflip.com/" title="jCoverflip">jCoverflip</a>, qui utilise le <strong>framework javascript jQuery</strong> (normal) et <strong>jQuery UI</strong> (<a href="http://jqueryui.com/" title="jQuery UI">disponible ici</a>).</p>
<p><img src="http://blog.ludikreation.com/wp-content/uploads/jquery-jcoverflip-plugin-js-coverflow.png" alt="jquery-jcoverflip-plugin-js-coverflow" title="jquery-jcoverflip-plugin-js-coverflow" width="500" height="243" class="aligncenter size-full wp-image-963" /></p>
<p>Voici un exemple basique de l&#8217;utilisation de ce <strong>plugin jQuery</strong> :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;jquery.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;jquery.ui.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;jquery.jcoverflip.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span></div></div>
<p>Appel des librairies utiles au bon déroulement des opérations</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span><br />
&nbsp; $(function(){<br />
&nbsp; &nbsp; $('#flip').jcoverflip();<br />
&nbsp; });<br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span></div></div>
<p>L&#8217;élément avec l&#8217;ID #flip se verra touché par l&#8217;effet de <strong>jCoverflip</strong>.</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;flip&quot;</span>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;...&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> ... <span style="color: #66cc66;">/</span>&gt;&lt;<a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;title&quot;</span>&gt;</span>My title<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;...&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">img</span></a> ... <span style="color: #66cc66;">/</span>&gt;&lt;<a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a> &nbsp;<span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;title&quot;</span>&gt;</span>Another title<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/span.html"><span style="color: #000000; font-weight: bold;">span</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
&nbsp; &nbsp; ...<br />
&nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span></div></div>
<p>On s&#8217;aperçoit que l&#8217;élément avec l&#8217;ID #flip est une liste &laquo;&nbsp;ul&nbsp;&raquo; avec lien, image et titre. Pour le titre, il est possible d&#8217;utiliser l&#8217;attribut &laquo;&nbsp;alt&nbsp;&raquo; de l&#8217;image ou bien d&#8217;utiliser un attribut title dans le &laquo;&nbsp;li&nbsp;&raquo;.</p>
<p>Et là votre Coverflow est fonctionnel.</p>
<p>Bien entendu, il y a de multiples options et variantes, <a href="http://www.jcoverflip.com/documentation/advance-customization" title="Options Coverflow de jCoverflip">options disponibles sur cette page</a>.</p>
<p>A savoir qu&#8217;une version pour <strong>Drupal</strong> existe.</p>
<p>Retrouver le plugin téléchargeable sur <a href="http://www.jcoverflip.com/" title="jCoverflip">ce lien</a> et une démonstration <a href="http://www.jcoverflip.com/demo" title="Démo jCoverflip">ici</a>.</p>
<p>Par contre on s’aperçoit que le <strong>plugin jCoverflip</strong> est utilisé avec une version 1.3 de <strong>jQuery</strong>, à l&#8217;heure où j&#8217;écris ces lignes nous en sommes à la 1.7, donc à tester sous cette dernière version.</p>
<p>Bon code à tous !</p>
<p><strong>EDIT DU 02.01.2012 :</strong><br />
Le plugin ne fonctionne pas forcément avec une version récente de jQuery, pour cela, on peut retrouver une version plus fraiche de ce plugin faite par l&#8217;auteur et qui devrait fonctionner : <a href="https://github.com/NewSignature/jcoverflip" title="jCoverflip">https://github.com/NewSignature/jcoverflip</a></p>
<p><strong>Articles qui peuvent vous intéresser :</strong></p>
<ul>
<li><a href="http://blog.ludikreation.com/2011/11/24/gmap3-plugin-jquery-pour-api-google-maps-3eme-version">GMap3 &#8211; Plugin jQuery pour API Google Maps 3ème version</a></li>
<li><a href="http://blog.ludikreation.com/2011/11/22/jquery-autosuggest-plugin-boite-de-texte-avec-suggestions-ajax">jQuery AutoSuggest Plugin &#8211; Boite de texte avec suggestions Ajax</a></li>
<li><a href="http://blog.ludikreation.com/2011/09/27/jquery-slick-plugin-agrementez-vos-sites-donglets-retractables">jQuery Slick Plugin &#8211; Agrémentez vos sites d&#8217;onglets rétractables</a></li>
<li><a href="http://blog.ludikreation.com/2011/09/13/jquery-favicon-notifier-plugin-jquery-modifiez-vos-favicons-a-la-volee-via-jquery">jQuery Favicon Notifier &#8211; Plugin jQuery &#8211; Modifiez vos favicons à la volée via jQuery</a></li>
<li><a href="http://blog.ludikreation.com/2011/08/04/jquery-validation-plugin-de-validation-de-formulaire">jQuery &#8211; Validation &#8211; Plugin de validation de formulaire</a></li>
</ul>
<p><iframe src="http://www.facebook.com/widgets/like.php?href=http://blog.ludikreation.com/2011/12/06/jcoverflip-plugin-jquery-le-coverflow-simple-et-efficace"<br />
        scrolling="no" frameborder="0"<br />
        style="border:none; width:540px; height:50px"></iframe></p>

]]></content:encoded>
			<wfw:commentRss>http://blog.ludikreation.com/2011/12/06/jcoverflip-plugin-jquery-le-coverflow-simple-et-efficace/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>GMap3 &#8211; Plugin jQuery pour API Google Maps 3ème version</title>
		<link>http://blog.ludikreation.com/2011/11/24/gmap3-plugin-jquery-pour-api-google-maps-3eme-version/</link>
		<comments>http://blog.ludikreation.com/2011/11/24/gmap3-plugin-jquery-pour-api-google-maps-3eme-version/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 14:16:31 +0000</pubDate>
		<dc:creator>LudiKadmin</dc:creator>
				<category><![CDATA[Framework]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[API Google]]></category>
		<category><![CDATA[gMap]]></category>
		<category><![CDATA[GMAP3]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[Googlemap]]></category>
		<category><![CDATA[Googlemaps]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Plugins jQuery]]></category>

		<guid isPermaLink="false">http://blog.ludikreation.com/?p=951</guid>
		<description><![CDATA[Je vais vous reparler du Plugin GMAP3 pour jQuery, qui permet une utilisation simplifiée et en jQuery de l&#8217;API Google Maps Javascript Version 3. C&#8217;est un plugin que j&#8217;ai déjà présenté 2 fois sur ce blog, ici et là. A l&#8217;heure où j&#8217;écris ces quelques lignes la version 4.1 de ce plugin est sortie et disponible directement sur le site du plugin GMAP3 ici. Pour rappel, GMAP3 c&#8217;est quoi ? GMAP3 c&#8217;est un plugin jQuery qui va vous permettre de nombreuses manipulations de l&#8217;API Google Maps JavaScript version 3. Utilisation du plugin jQuery : Dans un premier temps inclure toutes les librairies nécessaires dans le head de votre fichier comme ceci : &#60;script type=&#34;text/javascript&#34; src=&#34;http://code.jquery.com/jquery-1.6.4.min.js&#34;&#62;&#60;/script&#62; &#60;script type=&#34;text/javascript&#34; src=&#34;http://maps.google.com/maps/api/js?sensor=false&#34;&#62;&#60;/script&#62; &#60;script type=&#34;text/javascript&#34; src=&#34;gmap3.min.js&#34;&#62;&#60;/script&#62; Pour l&#8217;exemple on va utiliser le plugin dans sa version la plus basique : $&#40;&#34;#maCarte&#34;&#41;.gmap3&#40;&#41;; Ensuite un peu de CSS pour le bloc qui aura l&#8217;ID maCarte et qui est la cible de notre exemple : #maCarte&#123; &#160; &#160; height: 350px; &#160; &#160; width: 100%; &#125; Puis pour finir notre bloc avec l&#8217;ID maCarte : &#60;div id=&#34;maCarte&#34;&#62;&#60;/div&#62; Et là vous devriez voir apparaitre un élément Google Maps dans votre div représentant le monde, et en toute logique centré sur [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fblog.ludikreation.com%252F2011%252F11%252F24%252Fgmap3-plugin-jquery-pour-api-google-maps-3eme-version%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FrBbgY6%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22GMap3%20-%20Plugin%20jQuery%20pour%20API%20Google%20Maps%203%C3%A8me%20version%20%23API%20Google%20%23gMap%20%23GMAP3%20%23Google%20Maps%20%23Googlemap%20%23Googlemaps%20%23Javascript%20%23JQuery%20%23JS%20%23Plugins%20%23Plugins%20jQuery%22%20%7D);"></div>
<p>Je vais vous reparler du <strong>Plugin GMAP3</strong> pour <strong>jQuery</strong>, qui permet une utilisation simplifiée et en <strong>jQuery</strong> de l&#8217;<strong>API Google Maps Javascript Version 3</strong>. C&#8217;est un plugin que j&#8217;ai déjà présenté 2 fois sur ce blog, <a href="http://blog.ludikreation.com/2011/01/10/gmap3-plugin-jquery-lapi-google-map-v3-integration-a-la-sauce-jquery/" title="GMAP3 - Googlemaps">ici</a> et <a href="http://blog.ludikreation.com/2011/04/20/gmap3-plugin-jquery-faciliter-lutilisation-de-lapi-google-map-via-jquery/" title="GMAP3 - Googlemaps jQuery">là</a>. A l&#8217;heure où j&#8217;écris ces quelques lignes la version 4.1 de ce plugin est sortie et disponible directement sur le site du <strong>plugin GMAP3</strong> <a href="http://gmap3.net/" title="GMAP3 - site officiel">ici</a>.</p>
<p><img src="http://blog.ludikreation.com/wp-content/uploads/gmap3-googlemaps-jquery-plugin-api.png" alt="gmap3-googlemaps-jquery-plugin-api" title="gmap3-googlemaps-jquery-plugin-api" width="637" height="400" class="aligncenter size-full wp-image-952" /></p>
<p>Pour rappel, <strong>GMAP3</strong> c&#8217;est quoi ?</p>
<p><strong>GMAP3</strong> c&#8217;est un <strong>plugin jQuery</strong> qui va vous permettre de nombreuses manipulations de l&#8217;<strong>API Google Maps JavaScript version 3</strong>.</p>
<p>Utilisation du <strong>plugin jQuery</strong> :</p>
<p>Dans un premier temps inclure toutes les librairies nécessaires dans le head de votre fichier comme ceci :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://code.jquery.com/jquery-1.6.4.min.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://maps.google.com/maps/api/js?sensor=false&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;gmap3.min.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span></div></div>
<p>Pour l&#8217;exemple on va utiliser le plugin dans sa version la plus basique :</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#maCarte&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">gmap3</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>Ensuite un peu de CSS pour le bloc qui aura l&#8217;ID maCarte et qui est la cible de notre exemple :</p>
<div class="codecolorer-container css default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #cc00cc;">#maCarte</span><span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">350px</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span></div></div>
<p>Puis pour finir notre bloc avec l&#8217;ID maCarte :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;maCarte&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span></div></div>
<p>Et là vous devriez voir apparaitre un élément <strong>Google Maps</strong> dans votre div représentant le monde, et en toute logique centré sur le pays où vous vous trouvez.</p>
<p>Quelques particularités apportées par ce plugin parmi beaucoup d&#8217;autres :</p>
<p>- Multi-instance (plusieurs cartes Google dans une même page web)<br />
- Chaînable (comme tout autre plugin JQuery)<br />
- Full JQuery<br />
- Full Google Maps (il permet d&#8217;utiliser toutes les fonctionnalités natives à l&#8217;API Google Maps 3)<br />
- Contextuel (via this qui se réfère au bloc qui reçoit la map)<br />
- etc&#8230;</p>
<p>Je vous laisse donc découvrir<a href="http://gmap3.net/" title="GMAP3 - site officiel"> le site officiel du Plugin jQuery GMAP3</a> et une version Française (non-officiel) sur <a href="http://gmap3.touraineverte.com/" title="GMAP3 - Googlemaps jQuery">cette page</a>.</p>
<p>Vous retrouverez toutes les informations et possibilités sur ces 2 sites.</p>
<p>Bon code à tous <img src='http://blog.ludikreation.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong>Articles qui peuvent vous intéresser :</strong></p>
<ul>
<li><a href="http://blog.ludikreation.com/2011/11/22/jquery-autosuggest-plugin-boite-de-texte-avec-suggestions-ajax">jQuery AutoSuggest Plugin &#8211; Boite de texte avec suggestions Ajax</a></li>
<li><a href="http://blog.ludikreation.com/2011/09/27/jquery-slick-plugin-agrementez-vos-sites-donglets-retractables">jQuery Slick Plugin &#8211; Agrémentez vos sites d&#8217;onglets rétractables</a></li>
<li><a href="http://blog.ludikreation.com/2011/09/13/jquery-favicon-notifier-plugin-jquery-modifiez-vos-favicons-a-la-volee-via-jquery">jQuery Favicon Notifier &#8211; Plugin jQuery &#8211; Modifiez vos favicons à la volée via jQuery</a></li>
<li><a href="http://blog.ludikreation.com/2011/08/04/jquery-validation-plugin-de-validation-de-formulaire">jQuery &#8211; Validation &#8211; Plugin de validation de formulaire</a></li>
<li><a href="http://blog.ludikreation.com/2011/07/08/jquery-compatibilite-utiliser-jquery-avec-un-autre-framework-javascript">jQuery &#8211; Compatibilité &#8211; Utiliser jQuery avec un autre Framework javascript</a></li>
</ul>
<p><iframe src="http://www.facebook.com/widgets/like.php?href=http://blog.ludikreation.com/2011/11/24/gmap3-plugin-jquery-pour-api-google-maps-3eme-version"<br />
        scrolling="no" frameborder="0"<br />
        style="border:none; width:540px; height:50px"></iframe></p>

]]></content:encoded>
			<wfw:commentRss>http://blog.ludikreation.com/2011/11/24/gmap3-plugin-jquery-pour-api-google-maps-3eme-version/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>jQuery AutoSuggest Plugin &#8211; Boite de texte avec suggestions Ajax</title>
		<link>http://blog.ludikreation.com/2011/11/22/jquery-autosuggest-plugin-boite-de-texte-avec-suggestions-ajax/</link>
		<comments>http://blog.ludikreation.com/2011/11/22/jquery-autosuggest-plugin-boite-de-texte-avec-suggestions-ajax/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 17:54:34 +0000</pubDate>
		<dc:creator>LudiKadmin</dc:creator>
				<category><![CDATA[Framework]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[Auto-suggestion]]></category>
		<category><![CDATA[Formulaires]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[jQuery AutoSuggest Plugin]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Plugins jQuery]]></category>

		<guid isPermaLink="false">http://blog.ludikreation.com/?p=947</guid>
		<description><![CDATA[Me voici de retour avec la présentation d&#8217;un autre plugin jQuery qui vous permettra d&#8217;offrir aux internautes qui visitent vos sites internet la possibilité d&#8217;avoir une liste de suggestion lors des entrées qu&#8217;ils commenceront à formuler dans vos boites de texte de formulaires. Un peu dans le même esprit que le célèbre moteur de recherche du géant Google. Je vous présente donc jQuery AutoSuggest Plugin, qui permet la création de suggestion de mots comme une liste de choix dans vos boites de texte avec des appels Ajax. Ce plugin jQuery d&#8217;auto-suggestion permet entre-autre : &#8211; D&#8217;afficher toutes les données JSON sous une liste &#8211; D’utiliser les flèches haut / bas pour faire défiler la liste &#8211; D’utiliser &#171;&#160;entrer&#160;&#187; ou la &#171;&#160;tabulation&#160;&#187; pour sélectionner une valeur de la liste &#8211; D’afficher une image de chargement (loading) &#8211; De stocker l&#8217;ID de la valeur sélectionnée dans un champ distinct &#8211; D&#8217;avoir des boîtes à suggestions multiples sur une seule page &#8211; D&#8217;avoir un appel Ajax selon le nombre de caractères entrés, afin d&#8217;abaisser le nombre d&#8217;appels à la page Ajax Des exemples PHP et ASP sont inclus dans le téléchargement de la démo. L&#8217;utilisation se fait comme suis : $&#40;&#34;#inputBox1&#34;&#41;.jqEasySuggest&#40;&#123; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fblog.ludikreation.com%252F2011%252F11%252F22%252Fjquery-autosuggest-plugin-boite-de-texte-avec-suggestions-ajax%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FvsDFhH%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22jQuery%20AutoSuggest%20Plugin%20-%20Boite%20de%20texte%20avec%20suggestions%20Ajax%20%23Ajax%20%23ASP%20%23Auto-suggestion%20%23Formulaires%20%23Framework%20%23Google%20%23Javascript%20%23JQuery%20%23jQuery%20AutoSuggest%20Plugin%20%23JS%20%23PHP%20%23Plugins%20%23Plugins%20jQuery%22%20%7D);"></div>
<p>Me voici de retour avec la présentation d&#8217;un autre <strong>plugin jQuery</strong> qui vous permettra d&#8217;offrir aux internautes qui visitent vos sites internet la possibilité d&#8217;avoir une liste de suggestion lors des entrées qu&#8217;ils commenceront à formuler dans vos boites de texte de formulaires. Un peu dans le même esprit que le célèbre moteur de recherche du géant <strong>Google</strong>.</p>
<p>Je vous présente donc <strong>jQuery AutoSuggest Plugin</strong>, qui permet la création de suggestion de mots comme une liste de choix dans vos boites de texte avec des appels Ajax.</p>
<p><img src="http://blog.ludikreation.com/wp-content/uploads/jquery-suggest-plugin-ajax.png" alt="jquery-suggest-plugin-ajax" title="jquery-suggest-plugin-ajax" width="254" height="316" class="aligncenter size-full wp-image-948" /></p>
<p>Ce <strong>plugin jQuery d&#8217;auto-suggestion</strong> permet entre-autre :</p>
<p>     &#8211; D&#8217;afficher toutes les données <strong>JSON </strong>sous une liste<br />
     &#8211; D’utiliser les flèches haut / bas pour faire défiler la liste<br />
     &#8211; D’utiliser &laquo;&nbsp;entrer&nbsp;&raquo; ou la &laquo;&nbsp;tabulation&nbsp;&raquo; pour sélectionner une valeur de la liste<br />
     &#8211; D’afficher une image de chargement (loading)<br />
     &#8211; De stocker l&#8217;ID de la valeur sélectionnée dans un champ distinct<br />
     &#8211; D&#8217;avoir des boîtes à suggestions multiples sur une seule page<br />
     &#8211; D&#8217;avoir un appel <strong>Ajax</strong> selon le nombre de caractères entrés, afin d&#8217;abaisser le nombre d&#8217;appels à la page Ajax</p>
<p>Des exemples <strong>PHP</strong> et <strong>ASP</strong> sont inclus dans le téléchargement de la démo.</p>
<p>L&#8217;utilisation se fait comme suis :</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#inputBox1&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">jqEasySuggest</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; ajax_file_path<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;php/ajax.php&quot;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>Là, on a demandé que l&#8217;auto-suggestion se fasse sur l&#8217;élément de formulaire avec l&#8217;ID inputBox1 et les suggestions seront établies depuis le fichier php/ajax.php.</p>
<p>C&#8217;est tout ce qu&#8217;il y a à faire pour la version simple. Voici toutes les options possibles :</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ajax_file_path &nbsp;&nbsp; &nbsp; <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">,</span> &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// path to the file that returns the json encoded results</span><br />
min_keyword_length&nbsp; <span style="color: #339933;">:</span> <span style="color: #CC0000;">2</span><span style="color: #339933;">,</span>&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// min char length to trigger the ajax lookup</span><br />
showLoadingImage&nbsp; &nbsp; <span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span> &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// boolean value to display a loading image in the textbox while typing</span><br />
focus_color &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">,</span> &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// change the textbox border color on focus</span><br />
keyupDelay&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">:</span> <span style="color: #CC0000;">200</span><span style="color: #339933;">,</span>&nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// add keyup delay to prevent lookup until user has finished typing (lowers the numbers of ajax calls)</span><br />
id_element&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">,</span> &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// optional id of the element (textbox, hidden textbox, etc.) to store the id of the lookup value</span><br />
sql_match_type&nbsp; &nbsp; &nbsp; <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;starts&quot;</span><span style="color: #339933;">,</span> <span style="color: #006600; font-style: italic;">// used in the sql LIKE clause. values are starts, ends, or contains</span><br />
es_width&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;auto&quot;</span><span style="color: #339933;">,</span> &nbsp; <span style="color: #006600; font-style: italic;">// width of the drop down suggest box. auto will automatically calculate the width of the selectors width</span><br />
es_opacity&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">:</span> <span style="color: #CC0000;">0.95</span><span style="color: #339933;">,</span> &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// opacity of the drop down suggest box</span><br />
es_max_results&nbsp; &nbsp; &nbsp; <span style="color: #339933;">:</span> <span style="color: #CC0000;">10</span><span style="color: #339933;">,</span> &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// max number of results to display in the list of suggestions</span><br />
es_offset_left&nbsp; &nbsp; &nbsp; <span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">,</span>&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// drop down suggest box left offset position</span><br />
es_offset_top &nbsp; &nbsp; &nbsp; <span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span> &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// drop down suggest box top offset position</span></div></div>
<p>N&#8217;hésitez pas à télécharger le <strong>plugin jQuery</strong> et le tester, via <a href="http://jqeasy.com/jquery-autosuggest-plugin/" title="Plugin jQuery Auto Suggest">ce lien</a><br />
Retrouvez la démo <a href="http://jqeasy.com/jquery-autosuggest-plugin/demo/" title="jQuery Plugin Suggest Démo">ici</a>.</p>
<p>Si vous avez des commentaires ou questions n&#8217;hésitez pas <img src='http://blog.ludikreation.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong>Articles qui peuvent vous intéresser :</strong></p>
<ul>
<li><a href="http://blog.ludikreation.com/2011/09/27/jquery-slick-plugin-agrementez-vos-sites-donglets-retractables">jQuery Slick Plugin &#8211; Agrémentez vos sites d&#8217;onglets rétractables</a></li>
<li><a href="http://blog.ludikreation.com/2011/09/13/jquery-favicon-notifier-plugin-jquery-modifiez-vos-favicons-a-la-volee-via-jquery">jQuery Favicon Notifier &#8211; Plugin jQuery &#8211; Modifiez vos favicons à la volée via jQuery</a></li>
<li><a href="http://blog.ludikreation.com/2011/08/04/jquery-validation-plugin-de-validation-de-formulaire">jQuery &#8211; Validation &#8211; Plugin de validation de formulaire</a></li>
<li><a href="http://blog.ludikreation.com/2011/07/08/jquery-compatibilite-utiliser-jquery-avec-un-autre-framework-javascript">jQuery &#8211; Compatibilité &#8211; Utiliser jQuery avec un autre Framework javascript</a></li>
<li><a href="http://blog.ludikreation.com/2011/06/10/facebox-plugin-jquery-des-lightbox-style-facebook">Facebox &#8211; Plugin jQuery &#8211; Des lightbox style Facebook</a></li>
</ul>
<p><iframe src="http://www.facebook.com/widgets/like.php?href=http://blog.ludikreation.com/2011/11/22/jquery-autosuggest-plugin-boite-de-texte-avec-suggestions-ajax"<br />
        scrolling="no" frameborder="0"<br />
        style="border:none; width:540px; height:50px"></iframe></p>

]]></content:encoded>
			<wfw:commentRss>http://blog.ludikreation.com/2011/11/22/jquery-autosuggest-plugin-boite-de-texte-avec-suggestions-ajax/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Conception web &#8211; Forcer le cache à se vider pour vos fichiers CSS, JS et vos images</title>
		<link>http://blog.ludikreation.com/2011/10/25/conception-web-forcer-le-cache-a-se-vider-pour-vos-fichiers-css-js-et-vos-images/</link>
		<comments>http://blog.ludikreation.com/2011/10/25/conception-web-forcer-le-cache-a-se-vider-pour-vos-fichiers-css-js-et-vos-images/#comments</comments>
		<pubDate>Tue, 25 Oct 2011 11:43:55 +0000</pubDate>
		<dc:creator>LudiKadmin</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[Tutoriels]]></category>
		<category><![CDATA[Cache]]></category>
		<category><![CDATA[conception de sites web]]></category>
		<category><![CDATA[Création de sites internet]]></category>
		<category><![CDATA[Création de sites web]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[Navigateurs]]></category>
		<category><![CDATA[Utile]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://blog.ludikreation.com/?p=939</guid>
		<description><![CDATA[Toujours dans un but de poster des petites astuces et de répondre aux questions de mes collègues, amis ou clients, voici un petit billet pour vous expliquer quelques pratiques pour forcer le cache navigateur à re-télécharger certains éléments de votre site qui ont changé, mais qui restent en cache navigateur, car le nom du fichier, lui, est toujours le même. En effet, le navigateur garde en mémoire certains éléments (css, images, javascript etc&#8230;) afin d&#8217;améliorer la vitesse de chargement. Mais il arrive que de petites modifications ne soient pas prises en compte ce qui peut perturber l&#8217;affichage et/ou la navigation des internautes sur votre site. Bien entendu, en tant que développeur, vous savez qu&#8217;il faut vider le cache navigateur, mais certains visiteurs (et surtout vos clients) ne le savent pas forcément. Alors, il existe quelques astuces pour essayer de palier à ce soucis. Renommer les fichiers Bien entendu, il vous est possible de renommer tous les fichiers qui ont été modifiés, mais ça peut s&#8217;avérer fastidieux, surtout si vous apportez souvent de petites modifications. Utilisation des requêtes via le ? Déjà plus pratique, il vous est possible d&#8217;utiliser lors de l&#8217;appel du ou des fichiers une requête &#171;&#160;factice&#160;&#187; après le [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fblog.ludikreation.com%252F2011%252F10%252F25%252Fconception-web-forcer-le-cache-a-se-vider-pour-vos-fichiers-css-js-et-vos-images%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2Fti0Kjg%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Conception%20web%20-%20Forcer%20le%20cache%20%C3%A0%20se%20vider%20pour%20vos%20fichiers%20CSS%2C%20JS%20et%20vos%20images%20%23Cache%20%23conception%20de%20sites%20web%20%23Cr%C3%A9ation%20de%20sites%20internet%20%23Cr%C3%A9ation%20de%20sites%20web%20%23CSS%20%23Images%20%23Javascript%20%23JS%20%23Navigateurs%20%23PHP%20%23Tutoriels%20%23Utile%20%23Web%22%20%7D);"></div>
<p>Toujours dans un but de poster des petites astuces et de répondre aux questions de mes collègues, amis ou clients, voici un petit billet pour vous expliquer quelques pratiques pour forcer le <strong>cache navigateur</strong> à re-télécharger certains éléments de votre site qui ont changé, mais qui restent en cache navigateur, car le nom du fichier, lui, est toujours le même.</p>
<p>En effet, le navigateur garde en mémoire certains éléments (css, images, javascript etc&#8230;) afin d&#8217;améliorer la vitesse de chargement. Mais il arrive que de petites modifications ne soient pas prises en compte ce qui peut perturber l&#8217;affichage et/ou la navigation des internautes sur votre site. Bien entendu, en tant que développeur, vous savez qu&#8217;il faut vider le cache navigateur, mais certains visiteurs (et surtout vos clients) ne le savent pas forcément. Alors, il existe quelques astuces pour essayer de palier à ce soucis.</p>
<p><img src="http://blog.ludikreation.com/wp-content/uploads/css.jpg" alt="css" title="css" width="400" height="400" class="aligncenter size-full wp-image-940" /></p>
<p><strong>Renommer les fichiers</strong></p>
<p>Bien entendu, il vous est possible de renommer tous les fichiers qui ont été modifiés, mais ça peut s&#8217;avérer fastidieux, surtout si vous apportez souvent de petites modifications.</p>
<p><strong>Utilisation des requêtes via le ?</strong></p>
<p>Déjà plus pratique, il vous est possible d&#8217;utiliser lors de l&#8217;appel du ou des fichiers une requête &laquo;&nbsp;<em>factice</em>&nbsp;&raquo; après le point interrogation &laquo;&nbsp;?&nbsp;&raquo;.</p>
<p>Comme ceci par exemple :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">link</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;css/style.css?1234&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: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span></div></div>
<p>Et donc modifier juste l&#8217;appel à chaque modification, &laquo;&nbsp;1234&#8243; deviendra &laquo;&nbsp;12345&#8243; etc&#8230;</p>
<p>Si vous utilisez PHP, nous pouvons améliorer ce petit procédé et le rendre automatique, exemple simple :</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;link href=&quot;css/style.css?<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <a href="http://www.php.net/time"><span style="color: #990000;">time</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot; /&gt;</div></div>
<p>Ce qui le modifiera à chaque fois et le navigateur le téléchargera à chaque fois.</p>
<p>Cependant, il est possible d&#8217;améliorer cela, éviter ainsi le téléchargement systématique du fichier, et faire en sorte que ce dernier ne soit téléchargé uniquement si le fichier à été modifié, exemple :</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;link href=&quot;css/style.css?<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <a href="http://www.php.net/filemtime"><span style="color: #990000;">filemtime</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'css/style.css'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot; /&gt;</div></div>
<p>Petite astuce simple à mettre en place et qui peut s&#8217;avérer utile dans certains cas <img src='http://blog.ludikreation.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Bon code à tous !</p>
<p><strong>Articles qui peuvent vous intéresser :</strong></p>
<ul>
<li><a href="http://blog.ludikreation.com/2011/10/13/google-mais-ou-est-passe-mon-pagerank-pr">Google &#8211; Mais où est passé mon PageRank (PR) ?</a></li>
<li><a href="http://blog.ludikreation.com/2011/08/18/php-creer-une-variable-depuis-une-variable">PHP &#8211; Créer une variable depuis une variable</a></li>
<li><a href="http://blog.ludikreation.com/2011/06/17/internet-explorer-9-php-problemes-avec-mon-site-depuis-ie9">Internet Explorer 9 &#8211; PHP &#8211; Problèmes avec mon site depuis IE9</a></li>
<li><a href="http://blog.ludikreation.com/2011/06/10/facebox-plugin-jquery-des-lightbox-style-facebook">Facebox &#8211; Plugin jQuery &#8211; Des lightbox style Facebook</a></li>
<li><a href="http://blog.ludikreation.com/2011/05/27/jquery-qrcode-generez-vos-propres-qrcodes">jQuery &#8211; QRCode &#8211; Générez vos propres QRCodes</a></li>
</ul>
<p><iframe src="http://www.facebook.com/widgets/like.php?href=http://blog.ludikreation.com/2011/10/25/conception-web-forcer-le-cache-a-se-vider-pour-vos-fichiers-css-js-et-vos-images"<br />
        scrolling="no" frameborder="0"<br />
        style="border:none; width:540px; height:50px"></iframe></p>

]]></content:encoded>
			<wfw:commentRss>http://blog.ludikreation.com/2011/10/25/conception-web-forcer-le-cache-a-se-vider-pour-vos-fichiers-css-js-et-vos-images/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>jQuery Slick Plugin &#8211; Agrémentez vos sites d&#8217;onglets rétractables</title>
		<link>http://blog.ludikreation.com/2011/09/27/jquery-slick-plugin-agrementez-vos-sites-donglets-retractables/</link>
		<comments>http://blog.ludikreation.com/2011/09/27/jquery-slick-plugin-agrementez-vos-sites-donglets-retractables/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 16:00:24 +0000</pubDate>
		<dc:creator>LudiKadmin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[jQuery Slick Plugin]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[Onglets]]></category>
		<category><![CDATA[Outils web]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Plugins jQuery]]></category>

		<guid isPermaLink="false">http://blog.ludikreation.com/?p=925</guid>
		<description><![CDATA[Vous souhaitez réaliser un effet d&#8217;onglet rétractable sur votre site internet ? Vous souhaitez un bloc de contact qui se dévoile lorsque vous cliquez sur un onglet &#171;&#160;Contact&#160;&#187; calé sur le bord de votre page de site web ? Vous avez vu ça quelque part, mais ne trouvez pas le plugin jQuery adéquat ? jQuery Slick Plugin est là pour vous permettre de réaliser cet effet. Un plugin jQuery téléchargeable via ce lien, et à utiliser ainsi : Élément HTML : &#60;div id=&#34;slick&#34;&#62; &#160; &#60;ul&#62; &#160; &#160; &#60;li&#62;&#60;a href=&#34;#&#34;&#62;Home&#60;/a&#62;&#60;/li&#62; &#160; &#160; &#60;li&#62;&#60;a href=&#34;#&#34;&#62;About&#60;/a&#62;&#60;/li&#62; &#160; &#160; &#60;li&#62;&#60;a href=&#34;#&#34;&#62;Terms &#38;amp; Conditions&#60;/a&#62;&#60;/li&#62; &#160; &#160; &#60;li&#62;&#60;a href=&#34;#&#34;&#62;Contacts&#60;/a&#62;&#60;/li&#62; &#160; &#60;/ul&#62; &#60;/div&#62; Appel de la librairie : &#60;script type='text/javascript' src='js/jquery.slick.2.1.js'&#62;&#60;/script&#62; Intégration du css (il existe un style proposé par l&#8217;auteur, mais il est possible de proposer son propre style css) : &#60;link type=&#34;text/css&#34; rel=&#34;stylesheet&#34; href=&#34;css/dcslick.css&#34; /&#62; Et exploitation du plugin : jQuery&#40;document&#41;.ready&#40;function&#40;$&#41; &#123; &#160; &#160; $&#40;'#slick'&#41;.dcSlick&#40;&#41;; &#125;&#41;; Bien entendu, il existe des options, voici celles par défaut : var defaults = &#123; &#160; &#160; classWrapper: 'dc-slick', &#160; &#160;// CSS class of slick content wrapper &#160; &#160; classContent: 'dc-slick-content', &#160; &#160;// CSS class of slick content &#160; &#160; location: 'top', &#160; &#160;// Location of slide out content [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fblog.ludikreation.com%252F2011%252F09%252F27%252Fjquery-slick-plugin-agrementez-vos-sites-donglets-retractables%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FqDHqfr%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22jQuery%20Slick%20Plugin%20-%20Agr%C3%A9mentez%20vos%20sites%20d%27onglets%20r%C3%A9tractables%20%23Framework%20%23Javascript%20%23JQuery%20%23jQuery%20Slick%20Plugin%20%23JS%20%23Onglets%20%23Outils%20web%20%23Plugins%20%23Plugins%20jQuery%22%20%7D);"></div>
<p>Vous souhaitez réaliser un effet d&#8217;onglet rétractable sur votre site internet ? Vous souhaitez un bloc de contact qui se dévoile lorsque vous cliquez sur un onglet &laquo;&nbsp;Contact&nbsp;&raquo; calé sur le bord de votre page de site web ? Vous avez vu ça quelque part, mais ne trouvez pas le <strong>plugin jQuery</strong> adéquat ? <strong>jQuery Slick Plugin</strong> est là pour vous permettre de réaliser cet effet. </p>
<p><img src="http://blog.ludikreation.com/wp-content/uploads/jquery-slick-plugin-onglets-retractables.png" alt="jquery-slick-plugin-onglets-retractables" title="jquery-slick-plugin-onglets-retractables" width="400" height="232" class="aligncenter size-full wp-image-926" /></p>
<p>Un <strong>plugin jQuery</strong> téléchargeable via <a href="http://www.designchemical.com/lab/jquery-slick-plugin/download/" title="jQuery Slick Plugin">ce lien</a>, et à utiliser ainsi :</p>
<p>Élément HTML :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;slick&quot;</span>&gt;</span><br />
&nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Home<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>About<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Terms <span style="color: #ddbb00;">&amp;amp;</span> Conditions<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;&lt;<a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Contacts<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">a</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/li.html"><span style="color: #000000; font-weight: bold;">li</span></a>&gt;</span><br />
&nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/ul.html"><span style="color: #000000; font-weight: bold;">ul</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">div</span></a>&gt;</span></div></div>
<p>Appel de la librairie :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'text/javascript'</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'js/jquery.slick.2.1.js'</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span></div></div>
<p>Intégration du css (il existe un style proposé par l&#8217;auteur, mais il est possible de proposer son propre style css) :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">link</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</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;css/dcslick.css&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span></div></div>
<p>Et exploitation du plugin :</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">jQuery<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#slick'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">dcSlick</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>Bien entendu, il existe des options, voici celles par défaut :</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #003366; font-weight: bold;">var</span> defaults <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; classWrapper<span style="color: #339933;">:</span> <span style="color: #3366CC;">'dc-slick'</span><span style="color: #339933;">,</span> &nbsp; &nbsp;<span style="color: #006600; font-style: italic;">// CSS class of slick content wrapper</span><br />
&nbsp; &nbsp; classContent<span style="color: #339933;">:</span> <span style="color: #3366CC;">'dc-slick-content'</span><span style="color: #339933;">,</span> &nbsp; &nbsp;<span style="color: #006600; font-style: italic;">// CSS class of slick content</span><br />
&nbsp; &nbsp; location<span style="color: #339933;">:</span> <span style="color: #3366CC;">'top'</span><span style="color: #339933;">,</span> &nbsp; &nbsp;<span style="color: #006600; font-style: italic;">// Location of slide out content - options are top, bottom, right &amp; left</span><br />
&nbsp; &nbsp; align<span style="color: #339933;">:</span> <span style="color: #3366CC;">'left'</span><span style="color: #339933;">,</span> &nbsp; &nbsp;<span style="color: #006600; font-style: italic;">// Alignment of tab for location top/bottom - options are right &amp; left</span><br />
&nbsp; &nbsp; offset<span style="color: #339933;">:</span> <span style="color: #3366CC;">'100px'</span><span style="color: #339933;">,</span> &nbsp; &nbsp;<span style="color: #006600; font-style: italic;">// Offset in pixels from edge of browser window</span><br />
&nbsp; &nbsp; speed<span style="color: #339933;">:</span> <span style="color: #3366CC;">'slow'</span><span style="color: #339933;">,</span> &nbsp; &nbsp;<span style="color: #006600; font-style: italic;">// Speed of slide out animation</span><br />
&nbsp; &nbsp; tabText<span style="color: #339933;">:</span> <span style="color: #3366CC;">'Click'</span><span style="color: #339933;">,</span> &nbsp; &nbsp;<span style="color: #006600; font-style: italic;">// Default text for slick tab</span><br />
&nbsp; &nbsp; classTab<span style="color: #339933;">:</span> <span style="color: #3366CC;">'tab'</span><span style="color: #339933;">,</span> &nbsp; &nbsp;<span style="color: #006600; font-style: italic;">// Default CSS class for tab</span><br />
&nbsp; &nbsp; classOpen<span style="color: #339933;">:</span> <span style="color: #3366CC;">'slick-open'</span><span style="color: #339933;">,</span> <span style="color: #006600; font-style: italic;">// CSS for external link to open tab</span><br />
&nbsp; &nbsp; classClose<span style="color: #339933;">:</span> <span style="color: #3366CC;">'slick-close'</span><span style="color: #339933;">,</span> <span style="color: #006600; font-style: italic;">// CSS for external link to close tab</span><br />
&nbsp; &nbsp; classToggle<span style="color: #339933;">:</span> <span style="color: #3366CC;">'slick-toggle'</span><span style="color: #339933;">,</span> <span style="color: #006600; font-style: italic;">// CSS for external link to toggle tab</span><br />
&nbsp; &nbsp; autoClose<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span> &nbsp; &nbsp;<span style="color: #006600; font-style: italic;">// If set to true the slick content will auto-close when elsewhere in browser window is clicked</span><br />
&nbsp; &nbsp; loadOpen<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">false</span> <span style="color: #006600; font-style: italic;">// Set to true to have the tab open by default on page load</span><br />
&nbsp; &nbsp; <span style="color: #000066;">onLoad</span> <span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> &nbsp;<span style="color: #006600; font-style: italic;">// callback function on loading slick tab content</span><br />
&nbsp; &nbsp; beforeOpen <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: #009900;">&#125;</span><span style="color: #339933;">,</span> &nbsp;<span style="color: #006600; font-style: italic;">// callback function before opening slick tab</span><br />
&nbsp; &nbsp; beforeClose<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: #009900;">&#125;</span> &nbsp;<span style="color: #006600; font-style: italic;">// callback function before closing slick tab</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span></div></div>
<p>Puis la manière de les utiliser :</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#slick'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">dcSlick</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; location<span style="color: #339933;">:</span> <span style="color: #3366CC;">'bottom'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; align<span style="color: #339933;">:</span> <span style="color: #3366CC;">'right'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; offset<span style="color: #339933;">:</span> <span style="color: #3366CC;">'250px'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; speed<span style="color: #339933;">:</span> <span style="color: #3366CC;">'slow'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; tabText<span style="color: #339933;">:</span> <span style="color: #3366CC;">'Slick Tab'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; autoClose<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>Un <strong>plugin jQuery</strong> qui peut s&#8217;avérer pratique dans de nombreux cas. Plusieurs autres versions spécifiques existent : <a href="http://www.designchemical.com/blog/index.php/wordpress-plugins/wordpress-plugin-jquery-slick-menu-widget/" title="jQuery Slick Plugin WordPress">WordPress Slick Menu Plugin</a>, <a href="http://www.designchemical.com/blog/index.php/wordpress-plugin-slick-contact-forms/" title="jQuery Slick Plugin WordPress Contact">WordPress Slick Contact Form Plugin</a> et <a href="http://www.designchemical.com/blog/index.php/wordpress-plugins/wordpress-plugin-slick-social-share-buttons/" title="jQuery Slick Plugin Social">Slick Social Share Buttons</a>.</p>
<p>Et vous qu&#8217;en pensez vous ?</p>
<p><strong>Articles qui peuvent vous intéresser :</strong></p>
<ul>
<li><a href="http://blog.ludikreation.com/2011/09/13/jquery-favicon-notifier-plugin-jquery-modifiez-vos-favicons-a-la-volee-via-jquery">jQuery Favicon Notifier &#8211; Plugin jQuery &#8211; Modifiez vos favicons à la volée via jQuery</a></li>
<li><a href="http://blog.ludikreation.com/2011/08/04/jquery-validation-plugin-de-validation-de-formulaire">jQuery &#8211; Validation &#8211; Plugin de validation de formulaire</a></li>
<li><a href="http://blog.ludikreation.com/2011/07/08/jquery-compatibilite-utiliser-jquery-avec-un-autre-framework-javascript">jQuery &#8211; Compatibilité &#8211; Utiliser jQuery avec un autre Framework javascript</a></li>
<li><a href="http://blog.ludikreation.com/2011/06/10/facebox-plugin-jquery-des-lightbox-style-facebook">Facebox &#8211; Plugin jQuery &#8211; Des lightbox style Facebook</a></li>
<li><a href="http://blog.ludikreation.com/2011/05/27/jquery-qrcode-generez-vos-propres-qrcodes">jQuery &#8211; QRCode &#8211; Générez vos propres QRCodes</a></li>
</ul>
<p><iframe src="http://www.facebook.com/widgets/like.php?href=http://blog.ludikreation.com/2011/09/27/jquery-slick-plugin-agrementez-vos-sites-donglets-retractables"<br />
        scrolling="no" frameborder="0"<br />
        style="border:none; width:540px; height:50px"></iframe></p>

]]></content:encoded>
			<wfw:commentRss>http://blog.ludikreation.com/2011/09/27/jquery-slick-plugin-agrementez-vos-sites-donglets-retractables/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>jQuery Favicon Notifier &#8211; Plugin jQuery &#8211; Modifiez vos favicons à la volée via jQuery</title>
		<link>http://blog.ludikreation.com/2011/09/13/jquery-favicon-notifier-plugin-jquery-modifiez-vos-favicons-a-la-volee-via-jquery/</link>
		<comments>http://blog.ludikreation.com/2011/09/13/jquery-favicon-notifier-plugin-jquery-modifiez-vos-favicons-a-la-volee-via-jquery/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 12:13:08 +0000</pubDate>
		<dc:creator>LudiKadmin</dc:creator>
				<category><![CDATA[Framework]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[Favicon]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Plugins jQuery]]></category>

		<guid isPermaLink="false">http://blog.ludikreation.com/?p=921</guid>
		<description><![CDATA[Après un petit temps d&#8217;absence je reviens avec un petit billet sur un plugin jQuery que j&#8217;ai trouvé assez amusant, et je dois avouer que je n&#8217;avais jamais vraiment pensé à cela. En effet, via jQuery Favicon Notifier, vous allez pouvoir changer l&#8217;aspect de vos favicons de sites à la volée, sans recharger la page, et vous allez même pouvoir y ajouter des nombres et chiffres accolés, idéal pour ajouter un petit gadget indiquant un nombre de messages non lus par exemple. Bon, petit bémol, ça n&#8217;a pas l&#8217;air de fonctionner sous IE. Mais ça a le mérite d&#8217;exister et j&#8217;aime bien les petites idées comme ça Par contre, peu de documentation, mais comme le suggère l&#8217;auteur, il suffit de regarder le code source, ça parle tout seul, pour peu qu&#8217;on ai des notions javascript On peut donc voir l&#8217;intégration des librairies : &#60;script type=&#34;text/javascript&#34; src=&#34;jquery-1.6.2.min.js&#34;&#62;&#60;/script&#62; &#60;script type=&#34;text/javascript&#34; src=&#34;jquery.faviconNotify.js&#34;&#62;&#60;/script&#62; et le fonctionnement des boutons : &#160; &#160; &#60;button onclick=&#34;$.faviconNotify('/favicon.ico', Math.ceil(Math.random()*100));&#34;&#62;Random number (keep clicking!)&#60;/button&#62; &#160; &#160; &#60;button onclick=&#34;$.faviconNotify('/favicon.ico', 100);&#34;&#62;More than 99&#60;/button&#62; &#160; &#160; &#60;button onclick=&#34;$.faviconNotify('/favicon.ico', 0);&#34;&#62;Zero&#60;/button&#62; &#160; &#160; &#60;button onclick=&#34;$.faviconNotify('/favicon.ico');&#34;&#62;Reset the icon&#60;/button&#62; &#160; &#160; &#60;button onclick=&#34;$.faviconNotify('/favicon.ico', 12, 'tr');&#34;&#62;Top Right&#60;/button&#62; &#160; &#160; &#60;button onclick=&#34;$.faviconNotify('/favicon.ico', 56, 'tl');&#34;&#62;Top Left&#60;/button&#62; &#160; &#160; &#60;button onclick=&#34;$.faviconNotify('/favicon.ico', 45, [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fblog.ludikreation.com%252F2011%252F09%252F13%252Fjquery-favicon-notifier-plugin-jquery-modifiez-vos-favicons-a-la-volee-via-jquery%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FmOV1Fi%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22jQuery%20Favicon%20Notifier%20-%20Plugin%20jQuery%20-%20Modifiez%20vos%20favicons%20%C3%A0%20la%20vol%C3%A9e%20via%20jQuery%20%23Favicon%20%23Framework%20%23Gadgets%20%23Javascript%20%23JQuery%20%23JS%20%23Plugins%20%23Plugins%20jQuery%22%20%7D);"></div>
<p>Après un petit temps d&#8217;absence je reviens avec un petit billet sur un <strong>plugin jQuery</strong> que j&#8217;ai trouvé assez amusant, et je dois avouer que je n&#8217;avais jamais vraiment pensé à cela. En effet, via <strong>jQuery Favicon Notifier</strong>, vous allez pouvoir changer l&#8217;aspect de vos favicons de sites à la volée, sans recharger la page, et vous allez même pouvoir y ajouter des nombres et chiffres accolés, idéal pour ajouter un petit gadget indiquant un nombre de messages non lus par exemple. Bon, petit bémol, ça n&#8217;a pas l&#8217;air de fonctionner sous IE. Mais ça a le mérite d&#8217;exister et j&#8217;aime bien les petites idées comme ça <img src='http://blog.ludikreation.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><img src="http://blog.ludikreation.com/wp-content/uploads/jquery-favicon-notifier-plugin-js-jquery.png" alt="jquery-favicon-notifier-plugin-js-jquery" title="jquery-favicon-notifier-plugin-js-jquery" width="322" height="42" class="aligncenter size-full wp-image-922" /></p>
<p>Par contre, peu de documentation, mais comme le suggère l&#8217;auteur, il suffit de regarder le code source, ça parle tout seul, pour peu qu&#8217;on ai des notions javascript <img src='http://blog.ludikreation.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>On peut donc voir l&#8217;intégration des librairies :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;jquery-1.6.2.min.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;jquery.faviconNotify.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span></div></div>
<p>et le fonctionnement des boutons :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;$.faviconNotify('/favicon.ico', Math.ceil(Math.random()*100));&quot;</span>&gt;</span>Random number (keep clicking!)<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;$.faviconNotify('/favicon.ico', 100);&quot;</span>&gt;</span>More than 99<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;$.faviconNotify('/favicon.ico', 0);&quot;</span>&gt;</span>Zero<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;$.faviconNotify('/favicon.ico');&quot;</span>&gt;</span>Reset the icon<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;$.faviconNotify('/favicon.ico', 12, 'tr');&quot;</span>&gt;</span>Top Right<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a>&gt;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;$.faviconNotify('/favicon.ico', 56, 'tl');&quot;</span>&gt;</span>Top Left<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;$.faviconNotify('/favicon.ico', 45, 'bl');&quot;</span>&gt;</span>Bottom Left<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;$.faviconNotify('/favicon.ico', 34, 'br');&quot;</span>&gt;</span>Bottom Right<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;$.faviconNotify('/favicon.ico', 34, 'br', '#FFFFFF', '#000000');&quot;</span>&gt;</span>Custom colors (inverted)<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;$.faviconNotify('/favicon.ico', 67, 'br', '#123456', '#ABCDEF');&quot;</span>&gt;</span>Custom colors<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;$.faviconNotify('/favicon.ico', 78, 'br', '#000000', '#FFAAAA');&quot;</span>&gt;</span>Custom colors<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a>&gt;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;$.faviconNotify('flask.png', 4, 'tr', '#FFFFFF', '#000000');&quot;</span>&gt;</span>Different icon (flask, png)<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;$.faviconNotify('pill.png', 9, 'br', '#FFFFFF', '#000000');&quot;</span>&gt;</span>Different icon (pill, png)<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/button.html"><span style="color: #000000; font-weight: bold;">button</span></a>&gt;</span></div></div>
<p>Pour découvrir le <strong>plugin jQuery Favicon Notifier</strong>, ça se passe par là : <a href="http://oodavid.com/jQueryFaviconNotifier/" title="Plugin jQuery Favicon Notifier">http://oodavid.com/jQueryFaviconNotifier</a></p>
<p><strong>Articles qui peuvent vous intéresser :</strong></p>
<ul>
<li><a href="http://blog.ludikreation.com/2011/08/04/jquery-validation-plugin-de-validation-de-formulaire">jQuery &#8211; Validation &#8211; Plugin de validation de formulaire</a></li>
<li><a href="http://blog.ludikreation.com/2011/07/08/jquery-compatibilite-utiliser-jquery-avec-un-autre-framework-javascript">jQuery &#8211; Compatibilité &#8211; Utiliser jQuery avec un autre Framework javascript</a></li>
<li><a href="http://blog.ludikreation.com/2011/06/10/facebox-plugin-jquery-des-lightbox-style-facebook">Facebox &#8211; Plugin jQuery &#8211; Des lightbox style Facebook</a></li>
<li><a href="http://blog.ludikreation.com/2011/05/27/jquery-qrcode-generez-vos-propres-qrcodes">jQuery &#8211; QRCode &#8211; Générez vos propres QRCodes</a></li>
<li><a href="http://blog.ludikreation.com/2011/05/12/passage-de-jquery-1-5-x-vers-jquery-1-6">Passage de jQuery 1.5.x vers jQuery 1.6</a></li>
</ul>
<p><iframe src="http://www.facebook.com/widgets/like.php?href=http://blog.ludikreation.com/2011/09/13/jquery-favicon-notifier-plugin-jquery-modifiez-vos-favicons-a-la-volee-via-jquery"<br />
        scrolling="no" frameborder="0"<br />
        style="border:none; width:540px; height:50px"></iframe></p>

]]></content:encoded>
			<wfw:commentRss>http://blog.ludikreation.com/2011/09/13/jquery-favicon-notifier-plugin-jquery-modifiez-vos-favicons-a-la-volee-via-jquery/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>jQuery &#8211; Validation &#8211; Plugin de validation de formulaire</title>
		<link>http://blog.ludikreation.com/2011/08/04/jquery-validation-plugin-de-validation-de-formulaire/</link>
		<comments>http://blog.ludikreation.com/2011/08/04/jquery-validation-plugin-de-validation-de-formulaire/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 12:42:35 +0000</pubDate>
		<dc:creator>LudiKadmin</dc:creator>
				<category><![CDATA[Framework]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[Filtres]]></category>
		<category><![CDATA[Formulaires]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Plugins jQuery]]></category>
		<category><![CDATA[Validation]]></category>
		<category><![CDATA[Validation de formulaires]]></category>

		<guid isPermaLink="false">http://blog.ludikreation.com/?p=905</guid>
		<description><![CDATA[On a toujours besoin de vérifier et faire valider nos formulaires pour nos sites internet. Alors aujourd&#8217;hui, je vous présente un plugin jQuery qui va vous permettre de procéder plus facilement à la première couche de filtre coté client pour vos formulaires (une couche qui n&#8217;empêche pas de devoir en ajouter une coté serveur hein ! ) Rendez-vous donc sur github pour télécharger le plugin et vous pouvez visionner les démo ici si vous le souhaitez. Alors comment fonctionne ce plugin de validation de formulaire pour jQuery : 1/ Intégration de la librairie jQuery et du plugin : &#60;script src=&#34;http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62; &#60;script src=&#34;js/jquery.validationEngine-en.js&#34; type=&#34;text/javascript&#34; charset=&#34;utf-8&#34;&#62;&#60;/script&#62; &#60;script src=&#34;js/jquery.validationEngine.js&#34; type=&#34;text/javascript&#34; charset=&#34;utf-8&#34;&#62;&#60;/script&#62; &#60;link rel=&#34;stylesheet&#34; href=&#34;css/validationEngine.jquery.css&#34; type=&#34;text/css&#34;/&#62; On peut voir que l&#8217;on intègre un fichier js de langue, pour le Français, il suffit d&#8217;appeler le fichier fr à la place, comme ceci : &#60;script src=&#34;js/jquery.validationEngine-fr.js&#34; type=&#34;text/javascript&#34; charset=&#34;utf-8&#34;&#62;&#60;/script&#62; 2/ Imaginons une structure de formulaire comme ceci : &#60;form action=&#34;traitement.php&#34; method=&#34;post&#34; id=&#34;validate_form&#34;&#62; &#60;input value=&#34;someone@nowhere.com&#34; type=&#34;text&#34; name=&#34;email&#34; id=&#34;email&#34; /&#62; &#60;input value=&#34;2010-12-01&#34; type=&#34;text&#34; name=&#34;date&#34; id=&#34;date&#34; /&#62; &#60;input value=&#34;too many spaces obviously&#34; type=&#34;text&#34; name=&#34;special&#34; id=&#34;special&#34; /&#62; &#60;input type=&#34;submit&#34; value=&#34;envoyer&#34; name=&#34;send&#34; /&#62; &#60;/form&#62; 3/ nous allons donc activer la validation sur le formulaire comme ceci : &#60;script&#62; $&#40;document&#41;.ready&#40;function&#40;&#41;&#123; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fblog.ludikreation.com%252F2011%252F08%252F04%252Fjquery-validation-plugin-de-validation-de-formulaire%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FpZv46Q%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22jQuery%20-%20Validation%20-%20Plugin%20de%20validation%20de%20formulaire%20%23Filtres%20%23Formulaires%20%23Framework%20%23github%20%23HTML%20%23Javascript%20%23JQuery%20%23JS%20%23Plugins%20%23Plugins%20jQuery%20%23Validation%20%23Validation%20de%20formulaires%22%20%7D);"></div>
<p>On a toujours besoin de vérifier et faire valider nos formulaires pour nos sites internet. Alors aujourd&#8217;hui, je vous présente un <strong>plugin jQuery</strong> qui va vous permettre de procéder plus facilement à la première couche de filtre coté client pour vos formulaires (une couche qui n&#8217;empêche pas de devoir en ajouter une coté serveur hein ! <img src='http://blog.ludikreation.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> )</p>
<p><img src="http://blog.ludikreation.com/wp-content/uploads/validation-de-formulaire-jquery-js.jpg" alt="validation-de-formulaire-jquery-js" title="validation-de-formulaire-jquery-js" width="400" height="298" class="aligncenter size-full wp-image-906" /></p>
<p>Rendez-vous donc sur <strong>github</strong> pour <a href="http://github.com/posabsolute/jQuery-Validation-Engine">télécharger le plugin</a> et vous pouvez <a href="http://www.position-relative.net/creation/formValidator/">visionner les démo ici</a> si vous le souhaitez.</p>
<p>Alors comment fonctionne ce <strong>plugin de validation de formulaire pour jQuery</strong> :</p>
<p>1/ Intégration de la librairie jQuery et du plugin :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;js/jquery.validationEngine-en.js&quot;</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;">charset</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;utf-8&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;js/jquery.validationEngine.js&quot;</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;">charset</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;utf-8&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">link</span></a> <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;css/validationEngine.jquery.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></div></div>
<p>On peut voir que l&#8217;on intègre un fichier js de langue, pour le Français, il suffit d&#8217;appeler le fichier fr à la place, comme ceci :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;js/jquery.validationEngine-fr.js&quot;</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;">charset</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;utf-8&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span></div></div>
<p>2/ Imaginons une structure de formulaire comme ceci :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/form.html"><span style="color: #000000; font-weight: bold;">form</span></a> <span style="color: #000066;">action</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;traitement.php&quot;</span> <span style="color: #000066;">method</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;post&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;validate_form&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;someone@nowhere.com&quot;</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;email&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;email&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;2010-12-01&quot;</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;date&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;date&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;too many spaces obviously&quot;</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;special&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;special&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;envoyer&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;send&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/form.html"><span style="color: #000000; font-weight: bold;">form</span></a>&gt;</span></div></div>
<p>3/ nous allons donc activer la validation sur le formulaire comme ceci :</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">&lt;</span>script<span style="color: #339933;">&gt;</span><br />
$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#validate_form&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">validationEngine</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></div></div>
<p>4/ Il suffira de mettre les conditions de validation dans les attributs &laquo;&nbsp;class&nbsp;&raquo; de vos balises input, ce qui peut donner ceci :</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/form.html"><span style="color: #000000; font-weight: bold;">form</span></a> <span style="color: #000066;">action</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;traitement.php&quot;</span> <span style="color: #000066;">method</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;post&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;validate_form&quot;</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;someone@nowhere.com&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;validate[required,custom[email]]&quot;</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;email&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;email&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;2010-12-01&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;validate[required,custom[date]]&quot;</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;date&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;date&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;too many spaces obviously&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;validate[required,custom[onlyLetterNumber]]&quot;</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;special&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;special&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">input</span></a> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;envoyer&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;send&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/form.html"><span style="color: #000000; font-weight: bold;">form</span></a>&gt;</span></div></div>
<p>Et voilà, vous avez votre formulaire équipé d&#8217;un filtre de validation via jQuery. Cet exemple, permet d&#8217;obliger l&#8217;internaute à entrer une adresse e-mail requise et valide, une date requise et valide, ainsi que du texte requis et composé essentiellement de lettre et de chiffres.</p>
<p>Toutes les options sont disponibles sur la documentation du plugin, <a href="https://github.com/posabsolute/jQuery-Validation-Engine/blob/master/README.md">disponible ici</a>.</p>
<p><a href="http://www.position-absolute.com/articles/jquery-form-validator-because-form-validation-is-a-mess/">Source</a></p>
<p>Bon code à tous !</p>
<p><strong>Articles qui peuvent vous intéresser :</strong></p>
<ul>
<li><a href="http://blog.ludikreation.com/2011/07/08/jquery-compatibilite-utiliser-jquery-avec-un-autre-framework-javascript">jQuery &#8211; Compatibilité &#8211; Utiliser jQuery avec un autre Framework javascript</a></li>
<li><a href="http://blog.ludikreation.com/2011/06/10/facebox-plugin-jquery-des-lightbox-style-facebook">Facebox &#8211; Plugin jQuery &#8211; Des lightbox style Facebook</a></li>
<li><a href="http://blog.ludikreation.com/2011/05/27/jquery-qrcode-generez-vos-propres-qrcodes">jQuery &#8211; QRCode &#8211; Générez vos propres QRCodes</a></li>
<li><a href="http://blog.ludikreation.com/2011/05/12/passage-de-jquery-1-5-x-vers-jquery-1-6">Passage de jQuery 1.5.x vers jQuery 1.6</a></li>
<li><a href="http://blog.ludikreation.com/2011/05/10/web-event-3-de-lyon-retour">Web Event #3 de Lyon &#8211; Retour</a></li>
</ul>
<p><iframe src="http://www.facebook.com/widgets/like.php?href=http://blog.ludikreation.com/2011/08/04/jquery-validation-plugin-de-validation-de-formulaire"<br />
        scrolling="no" frameborder="0"<br />
        style="border:none; width:540px; height:50px"></iframe></p>

]]></content:encoded>
			<wfw:commentRss>http://blog.ludikreation.com/2011/08/04/jquery-validation-plugin-de-validation-de-formulaire/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

