<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="WordPress/2.8" --><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="0.92">
<channel>
	<title>(parenthese.be)</title>
	<link>http://www.parenthese.be</link>
	<description>Le web est vaste, à nous de le découvrir!</description>
	<lastBuildDate>Tue, 23 Jun 2009 18:10:27 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Activer automatiquement le premier champs d’un formulaire – Prototype</title>
		<description>&lt;p&gt;La saisie de données est et reste l&amp;#8217;action la plus courante lorsque l&amp;#8217;on visite un site web. S&amp;#8217;il est vrai qu&amp;#8217;il est souvent pénible à mettre en page, le formulaire HTML standard reste aussi une vraie plaie à compléter.&lt;/p&gt;
&lt;p&gt;Une bonne pratique &amp;#8211; très souvent oubliée, et par moi en premier &amp;#8211; consiste à sélectionner automatiquement le premier champs disponible sur le formulaire. Cela permet en effet de supprimer une étape dans le processus de complétion : celle où l&amp;#8217;utilisateur va devoir bouger sa main pour sélectionner ledit champs et, potentiellement, réfléchir et décider d&amp;#8217;abandonner son action.&lt;/p&gt;
&lt;p&gt;Pour éviter ce genre de désagrément, je vous propose donc la fonction suivante :&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="javascript" style="font-family:monospace;"&gt;&lt;span style="color: #006600; font-style: italic;"&gt;// Automagicaly select the first field of a form, if any, within the div#content&lt;/span&gt;
&lt;span style="color: #006600; font-style: italic;"&gt;// (this exclude potential form within sidebar, footer, etc)&lt;/span&gt;
&amp;nbsp;
$&lt;span style="color: #009900;"&gt;&amp;#40;&lt;/span&gt;document&lt;span style="color: #009900;"&gt;&amp;#41;&lt;/span&gt;.&lt;span style="color: #660066;"&gt;observe&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #3366CC;"&gt;'dom:loaded'&lt;/span&gt;&lt;span style="color: #339933;"&gt;,&lt;/span&gt; &lt;span style="color: #003366; font-weight: bold;"&gt;function&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#41;&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#123;&lt;/span&gt;
	&lt;span style="color: #003366; font-weight: bold;"&gt;var&lt;/span&gt; firstForm &lt;span style="color: #339933;"&gt;=&lt;/span&gt; $$&lt;span style="color: #009900;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #3366CC;"&gt;'#content form'&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#41;&lt;/span&gt;.&lt;span style="color: #660066;"&gt;first&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#41;&lt;/span&gt;&lt;span style="color: #339933;"&gt;;&lt;/span&gt;
	&lt;span style="color: #000066; font-weight: bold;"&gt;if&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#40;&lt;/span&gt;firstForm &lt;span style="color: #339933;"&gt;!=&lt;/span&gt; &lt;span style="color: #003366; font-weight: bold;"&gt;null&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#41;&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#123;&lt;/span&gt;
		&lt;span style="color: #003366; font-weight: bold;"&gt;var&lt;/span&gt; firstElement &lt;span style="color: #339933;"&gt;=&lt;/span&gt; Form.&lt;span style="color: #660066;"&gt;getElements&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#40;&lt;/span&gt;firstForm&lt;span style="color: #009900;"&gt;&amp;#41;&lt;/span&gt;.&lt;span style="color: #660066;"&gt;find&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #003366; font-weight: bold;"&gt;function&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#40;&lt;/span&gt;element&lt;span style="color: #009900;"&gt;&amp;#41;&lt;/span&gt; &lt;span style="color: #009900;"&gt;&amp;#123;&lt;/span&gt;
		    &lt;span style="color: #000066; font-weight: bold;"&gt;return&lt;/span&gt; element.&lt;span style="color: #660066;"&gt;type&lt;/span&gt; &lt;span style="color: #339933;"&gt;!=&lt;/span&gt; &lt;span style="color: #3366CC;"&gt;'hidden'&lt;/span&gt; &lt;span style="color: #339933;"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span style="color: #339933;"&gt;!&lt;/span&gt;element.&lt;span style="color: #660066;"&gt;disabled&lt;/span&gt; &lt;span style="color: #339933;"&gt;&amp;amp;&amp;amp;&lt;/span&gt;
		    &lt;span style="color: #009900;"&gt;&amp;#91;&lt;/span&gt;&lt;span style="color: #3366CC;"&gt;'input'&lt;/span&gt;&lt;span style="color: #339933;"&gt;,&lt;/span&gt; &lt;span style="color: #3366CC;"&gt;'textarea'&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#93;&lt;/span&gt;.&lt;span style="color: #660066;"&gt;include&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#40;&lt;/span&gt;element.&lt;span style="color: #660066;"&gt;tagName&lt;/span&gt;.&lt;span style="color: #660066;"&gt;toLowerCase&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#41;&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#41;&lt;/span&gt;&lt;span style="color: #339933;"&gt;;&lt;/span&gt;
		&lt;span style="color: #009900;"&gt;&amp;#125;&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#41;&lt;/span&gt;&lt;span style="color: #339933;"&gt;;&lt;/span&gt;
		&lt;span style="color: #000066; font-weight: bold;"&gt;if&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#40;&lt;/span&gt;firstElement &lt;span style="color: #339933;"&gt;!=&lt;/span&gt; &lt;span style="color: #003366; font-weight: bold;"&gt;null&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#41;&lt;/span&gt;
		    firstElement.&lt;span style="color: #660066;"&gt;activate&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#40;&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#41;&lt;/span&gt;&lt;span style="color: #339933;"&gt;;&lt;/span&gt;	
	&lt;span style="color: #009900;"&gt;&amp;#125;&lt;/span&gt;
&lt;span style="color: #009900;"&gt;&amp;#125;&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#41;&lt;/span&gt;&lt;span style="color: #339933;"&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;small&gt;Source : &lt;a href="http://stackoverflow.com/questions/644128/how-to-select-the-first-child-form-element-using-prototype" lang="en"&gt;How to select the first child form element (using prototype)?&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;
&lt;p&gt;En clair et en français : On recherche, au sein du &lt;code&gt;div#content&lt;/code&gt; un éventuel formulaire. Si ce dernier existe, on recherche, parmis ses élements, le premier champs de type &lt;code&gt;input&lt;/code&gt; ou &lt;code&gt;textarea&lt;/code&gt; qui n&amp;#8217;est ni désactivé ni caché, en somme, le premier champs de saisie de texte qui nous intéresse. Une fois ce champs trouvé, on lui donne le focus, tout simplement.&lt;/p&gt;
&lt;p&gt;Désormais, vous n&amp;#8217;avez plus d&amp;#8217;excuses &amp;#8211; et moi non plus.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/parenthesebe/~4/6lZHg1kFiFg" height="1" width="1"/&gt;</description>
		<link>http://feedproxy.google.com/~r/parenthesebe/~3/6lZHg1kFiFg/</link>
			<feedburner:origLink>http://www.parenthese.be/2009/06/23/activer-automatiquement-le-premier-champs-dun-formulaire-prototype/</feedburner:origLink></item>
	<item>
		<title>Compilation de Nginx sur un VPS Gandi</title>
		<description>&lt;p&gt;Hier soir, j&amp;#8217;ai effectué une petite opération de maintenance sur le VPS Gandi qui héberge ce blog. J&amp;#8217;avais besoin de la dernière version stable de Nginx (0.7.59) alors que la version installée, fournie par les dépôts officiels, était la 0.5.33. (Pour plus de détails, voir l&amp;#8217;article : &lt;a href="http://www.parenthese.be/2009/02/07/installation-de-nginx-sur-un-vps-gandi/"&gt;Installation de Nginx sur un VPS Gandi&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;J&amp;#8217;ai par conséquent dû me rendre à l&amp;#8217;évidence et compiler la dernière &lt;em&gt;release&lt;/em&gt; depuis les sources. &lt;strong&gt;Cet article est un peu long&lt;/strong&gt; et risque d&amp;#8217;en décourager plus d&amp;#8217;un, mais j&amp;#8217;ai absolument tenu à ce qu&amp;#8217;il soit le plus complet possible.&lt;/p&gt;
&lt;p&gt;Commençons par &lt;a href="http://wiki.nginx.org/NginxInstall" lang="en"&gt;télécharger les sources de Nginx depuis le site officiel&lt;/a&gt;. A l&amp;#8217;heure où j&amp;#8217;écris ces lignes, la dernière version stable est la 0.7.59.&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash" style="font-family:monospace;"&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;cd&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;opt
&lt;span style="color: #c20cb9; font-weight: bold;"&gt;wget&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;sysoev.ru&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nginx&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nginx-0.7.59.tar.gz
&lt;span style="color: #c20cb9; font-weight: bold;"&gt;tar&lt;/span&gt; &lt;span style="color: #660033;"&gt;-zxfv&lt;/span&gt; nginx-0.7.59.tar.gz
&lt;span style="color: #7a0874; font-weight: bold;"&gt;cd&lt;/span&gt; nginx-0.7.59&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Si l&amp;#8217;on s&amp;#8217;en tient à la documentation, il suffit d&amp;#8217;exécuter le script de configuration. Ayant auparavant utilisé une version installée depuis les dépôts officiels d&amp;#8217;Ubuntu, nous allons indiquer au script où installer le programme et où se situent les fichiers de configuration.&lt;/p&gt;
&lt;p&gt;De plus, nous allons configurer Nginx pour pouvoir utiliser le module &lt;strong&gt;http_stub_status&lt;/strong&gt;, qui nous permettra de récupérer les statistiques d&amp;#8217;utilisation du serveur.&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash" style="font-family:monospace;"&gt;.&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;configure --with-http_stub_status_module &lt;span style="color: #660033;"&gt;--prefix&lt;/span&gt;=&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nginx &lt;span style="color: #660033;"&gt;--sbin-path&lt;/span&gt;=&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sbin&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nginx &lt;span style="color: #660033;"&gt;--conf-path&lt;/span&gt;=&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nginx&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nginx.conf&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Une petite explication s&amp;#8217;impose : &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;with-http_stub_status_module&lt;/strong&gt; : compiler Nginx avec le support du module http_stub_status&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;prefix&lt;/strong&gt; : Précise à Nginx le répertoire d&amp;#8217;installation, par défaut &lt;code&gt;/usr/local/nginx&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;sbin-path&lt;/strong&gt; : Précise le chemin de l&amp;#8217;exécutable, par défaut &lt;code&gt;&amp;lt;prefix&amp;gt;/sbin/nginx&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;conf-path&lt;/strong&gt; : Précise le chemin du fichier de configuration principal. Par défaut &lt;code&gt;&amp;lt;prefix&amp;gt;/conf/nginx.conf&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Toutes les options de compilation sont disponibles dans la documentation officielle : &lt;a href="http://wiki.nginx.org/NginxInstallOptions" lang="en"&gt;Nginx Install Options&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Si vous avez un doute quant aux valeurs à passer aux options de compilation, vous pouvez localiser l&amp;#8217;emplacement de l&amp;#8217;exécutable avec la commande &lt;code&gt;which&lt;/code&gt; :&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash" style="font-family:monospace;"&gt;akyrho&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;gus:~$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;which&lt;/span&gt; nginx
&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sbin&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nginx&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Quant au fichier de configuration, utilisez la commande &lt;code&gt;locate&lt;/code&gt; pour le retrouver. Vous pourrez également en déduire la valeur de l&amp;#8217;option &lt;code&gt;prefix&lt;/code&gt; :&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash" style="font-family:monospace;"&gt;akyrho&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;gus:~$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;locate&lt;/span&gt; nginx.conf
&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nginx&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nginx.conf
&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nginx&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nginx.conf.default&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Si la configuration s&amp;#8217;est bien déroulée, vous devriez voir ceci dans votre terminal :&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash" style="font-family:monospace;"&gt;nginx path prefix: &lt;span style="color: #ff0000;"&gt;&amp;quot;/etc/nginx/&amp;quot;&lt;/span&gt;
nginx binary &lt;span style="color: #c20cb9; font-weight: bold;"&gt;file&lt;/span&gt;: &lt;span style="color: #ff0000;"&gt;&amp;quot;/usr/sbin/nginx&amp;quot;&lt;/span&gt;
nginx configuration prefix: &lt;span style="color: #ff0000;"&gt;&amp;quot;/etc&amp;quot;&lt;/span&gt;
nginx configuration &lt;span style="color: #c20cb9; font-weight: bold;"&gt;file&lt;/span&gt;: &lt;span style="color: #ff0000;"&gt;&amp;quot;/etc/nginx/&amp;quot;&lt;/span&gt;
nginx pid &lt;span style="color: #c20cb9; font-weight: bold;"&gt;file&lt;/span&gt;: &lt;span style="color: #ff0000;"&gt;&amp;quot;/etc/nginx//logs/nginx.pid&amp;quot;&lt;/span&gt;
nginx error log &lt;span style="color: #c20cb9; font-weight: bold;"&gt;file&lt;/span&gt;: &lt;span style="color: #ff0000;"&gt;&amp;quot;/etc/nginx//logs/error.log&amp;quot;&lt;/span&gt;
nginx http access log &lt;span style="color: #c20cb9; font-weight: bold;"&gt;file&lt;/span&gt;: &lt;span style="color: #ff0000;"&gt;&amp;quot;/etc/nginx//logs/access.log&amp;quot;&lt;/span&gt;
nginx http client request body temporary files: &lt;span style="color: #ff0000;"&gt;&amp;quot;client_body_temp&amp;quot;&lt;/span&gt;
nginx http proxy temporary files: &lt;span style="color: #ff0000;"&gt;&amp;quot;proxy_temp&amp;quot;&lt;/span&gt;
nginx http fastcgi temporary files: &lt;span style="color: #ff0000;"&gt;&amp;quot;fastcgi_temp&amp;quot;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;A ce stade, il ne nous reste plus qu&amp;#8217;à lancer la compilation et à aller chercher un café :&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash" style="font-family:monospace;"&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;make&lt;/span&gt;
&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;make&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;install&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Si tout s&amp;#8217;est bien déroulé, vous devriez pouvoir relancer Nginx :&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash" style="font-family:monospace;"&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;init.d&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nginx restart&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Et c&amp;#8217;est terminé &lt;img src='http://www.parenthese.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /&gt; &lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/parenthesebe/~4/MzjfTqRoO8I" height="1" width="1"/&gt;</description>
		<link>http://feedproxy.google.com/~r/parenthesebe/~3/MzjfTqRoO8I/</link>
			<feedburner:origLink>http://www.parenthese.be/2009/06/04/compilation-de-nginx-sur-un-vps-gandi/</feedburner:origLink></item>
	<item>
		<title>La détections des navigateur en JavaScript (Prototype, Mootools et jQuery)</title>
		<description>&lt;p&gt;Les intégrateurs le savent bien, certains navigateurs ont &lt;del&gt;parfois&lt;/del&gt; un comportement bizarre. Les problèmes les plus connus touchent généralement la mise en page, mais l&amp;#8217;utilisation du javascript peut également poser certains problèmes.&lt;/p&gt;
&lt;p&gt;La solution la plus rapide consistera à tester le navigateur du visiteur et d&amp;#8217;agir en fonction. Pour ce faire, les trois principaux framework javascript disposent chacun de méthodes permettant de faire cette distinction assez facilement.&lt;/p&gt;
&lt;p&gt;Pour distinguer &lt;abbr title="Internet Explorer"&gt;IE&lt;/abbr&gt; des autres navigateurs, nous utiliserons donc le test suivant (&lt;strong&gt;Prototype&lt;/strong&gt;) :&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="javascript" style="font-family:monospace;"&gt;&lt;span style="color: #000066; font-weight: bold;"&gt;if&lt;/span&gt; &lt;span style="color: #009900;"&gt;&amp;#40;&lt;/span&gt;Prototype.&lt;span style="color: #660066;"&gt;Browser&lt;/span&gt;.&lt;span style="color: #660066;"&gt;IE&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#41;&lt;/span&gt; &lt;span style="color: #009900;"&gt;&amp;#123;&lt;/span&gt;
&lt;span style="color: #006600; font-style: italic;"&gt;// Internet Explorer&lt;/span&gt;
&lt;span style="color: #009900;"&gt;&amp;#125;&lt;/span&gt; &lt;span style="color: #000066; font-weight: bold;"&gt;else&lt;/span&gt; &lt;span style="color: #009900;"&gt;&amp;#123;&lt;/span&gt;
&lt;span style="color: #006600; font-style: italic;"&gt;// Autres (Mozilla, Opera, etc.)&lt;/span&gt;
&lt;span style="color: #009900;"&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;small&gt;Source : &lt;a href="http://www.vinch.be/blog/2008/01/04/la-detection-des-navigateurs-de-prototype/"&gt;vinch.be&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;
&lt;p&gt;De même, avec &lt;strong&gt;Mootools&lt;/strong&gt; :&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="javascript" style="font-family:monospace;"&gt;&lt;span style="color: #000066; font-weight: bold;"&gt;if&lt;/span&gt; &lt;span style="color: #009900;"&gt;&amp;#40;&lt;/span&gt;Browser.&lt;span style="color: #660066;"&gt;Engine&lt;/span&gt;.&lt;span style="color: #660066;"&gt;trident&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#41;&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#123;&lt;/span&gt;
&lt;span style="color: #006600; font-style: italic;"&gt;// Internet Explorer&lt;/span&gt;
&lt;span style="color: #009900;"&gt;&amp;#125;&lt;/span&gt;&lt;span style="color: #000066; font-weight: bold;"&gt;else&lt;/span&gt; &lt;span style="color: #009900;"&gt;&amp;#123;&lt;/span&gt;
&lt;span style="color: #006600; font-style: italic;"&gt;// Autres (Mozilla, Opera, etc.)&lt;/span&gt;
&lt;span style="color: #009900;"&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;small&gt;Source : &lt;a href="http://www.geoffray.be/blog/mootools/mootools-browser-detection"&gt;geoffray.be&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;
&lt;p&gt;Et pour terminer, avec &lt;strong&gt;jQuery&lt;/strong&gt; :&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="javascript" style="font-family:monospace;"&gt;&lt;span style="color: #000066; font-weight: bold;"&gt;if&lt;/span&gt; &lt;span style="color: #009900;"&gt;&amp;#40;&lt;/span&gt;$.&lt;span style="color: #660066;"&gt;browser&lt;/span&gt;.&lt;span style="color: #660066;"&gt;msie&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#41;&lt;/span&gt;&lt;span style="color: #009900;"&gt;&amp;#123;&lt;/span&gt;
&lt;span style="color: #006600; font-style: italic;"&gt;// Internet Explorer&lt;/span&gt;
&lt;span style="color: #009900;"&gt;&amp;#125;&lt;/span&gt;&lt;span style="color: #000066; font-weight: bold;"&gt;else&lt;/span&gt; &lt;span style="color: #009900;"&gt;&amp;#123;&lt;/span&gt;
&lt;span style="color: #006600; font-style: italic;"&gt;// Autres (Mozilla, Opera, etc.)&lt;/span&gt;
&lt;span style="color: #009900;"&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;small&gt;Source : &lt;a href="http://docs.jquery.com/Utilities/jQuery.browser" lang="en"&gt;jQuery&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;
&lt;p&gt;Les exemples listés ci-dessus ne permettent que de distinguer &lt;abbr title="Internet Explorer"&gt;IE&lt;/abbr&gt; des autres navigateurs, mais il est bien évidemment possible de distinguer d&amp;#8217;autres navigateurs et/ou de pousser les tests jusque dans les versions des logiciels.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/parenthesebe/~4/Nty6oLNZTb4" height="1" width="1"/&gt;</description>
		<link>http://feedproxy.google.com/~r/parenthesebe/~3/Nty6oLNZTb4/</link>
			<feedburner:origLink>http://www.parenthese.be/2009/05/27/browser-detection-javascript-prototype-mootools-jquery/</feedburner:origLink></item>
	<item>
		<title>Les Caricoles – Papy Chapeau</title>
		<description>&lt;p&gt;Depuis maintenant plus d&amp;#8217;un an, So fait régulièrement des &lt;a href="http://www.lhektsok.net/tag/les-caricoles/"&gt;photos pour Les Caricoles&lt;/a&gt;, un groupe d&amp;#8217;éthno-folk issus des plaines brabançonnes (sic). &lt;/p&gt;
&lt;p&gt;Le 7 mai dernier, le groupe avait invité ses proches pour la toute première diffusion de son premier clip : Papy Chapeau.&lt;/p&gt;
&lt;div&gt;&lt;object width="528" height="318"&gt;&lt;param name="movie" value="http://www.dailymotion.com/swf/x995g1_les-caricoles-papy-chapeau_music&amp;#038;related=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.dailymotion.com/swf/x995g1_les-caricoles-papy-chapeau_music&amp;#038;related=0" type="application/x-shockwave-flash" width="528" height="318" allowFullScreen="true" allowScriptAccess="always"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;strong&gt;&lt;a href="http://www.dailymotion.com/video/x995g1_les-caricoles-papy-chapeau_music"&gt;Les Caricoles &amp;#8211; &amp;laquo;&amp;nbsp;Papy Chapeau&amp;raquo;&amp;nbsp;&lt;/a&gt;&lt;/strong&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/parenthesebe/~4/KhISsh3Gj1o" height="1" width="1"/&gt;</description>
		<link>http://feedproxy.google.com/~r/parenthesebe/~3/KhISsh3Gj1o/</link>
			<feedburner:origLink>http://www.parenthese.be/2009/05/24/les-caricoles-papy-chapeau/</feedburner:origLink></item>
	<item>
		<title>Ca va laisser des traces</title>
		<description>&lt;p&gt;Un énorme merci à &lt;a lang="en" href="http://1md.be"&gt;1MD&lt;/a&gt; qui m&amp;#8217;a fait livrer ce joli cadeau :&lt;/p&gt;
&lt;p style="text-align: center;"&gt;&lt;a href="http://www.feartracker.be/"&gt;&lt;img class="aligncenter size-full wp-image-1090" title="Buzz Feartracker.be" src="/public/2009/05/cimg0633.jpg" alt="" width="500" height="375" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="text-align: center;"&gt;&lt;a href="http://www.feartracker.be/"&gt;&lt;img class="aligncenter size-full wp-image-1091" title="Buzz Feartracker.be" src="/public/2009/05/cimg0635.jpg" alt="" width="500" height="375" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="text-align: center;"&gt;&lt;a href="http://www.feartracker.be/"&gt;&lt;img class="aligncenter size-full wp-image-1092" title="Buzz Feartracker.be" src="/public/2009/05/cimg0636.jpg" alt="" width="500" height="375" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="text-align: left;"&gt;&lt;img src="http://feeds.feedburner.com/~r/parenthesebe/~4/Uf5308LS3Fw" height="1" width="1"/&gt;</description>
		<link>http://feedproxy.google.com/~r/parenthesebe/~3/Uf5308LS3Fw/</link>
			<feedburner:origLink>http://www.parenthese.be/2009/05/11/ca-va-laisser-des-traces/</feedburner:origLink></item>
</channel>
</rss>
