<?xml version="1.0" encoding="UTF-8" ?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Posteet: Javascript</title> 
    <link>http://www.posteet.com/</link> 
    <description>Recent posteets posted to Posteet</description>
    <ttl>60</ttl>

    
    <item>
        <title>Executer du javascript chargé par une requête AJAX</title>
        <link>http://www.posteet.com/view/1207</link>
        <description>
        <![CDATA[<pre>// HTML de type:
// &lt;div id='mydiv'&gt; &lt;script type='text/javascript'&gt; [...] &lt;/script&gt; &lt;/div&gt;

var div = document.getElementById('mydiv');
div.innerHTML = innerHTML;
var x = div.getElementsByTagName(&quot;script&quot;); 
for(var i=0;i&lt;x.length;i++)
{
       eval(x[i].text);
}</pre> <a href="http://www.posteet.com/tags/ajax">[ajax]</a>  <a href="http://www.posteet.com/tags/eval">[eval]</a>  <a href="http://www.posteet.com/tags/javascript">[javascript]</a> ]]>        </description>
        <dc:creator>spirit</dc:creator>
        <pubDate>Thu, 21 Aug 2008 19:50:30 +0000</pubDate>

            <category>ajax</category>
            <category>eval</category>
            <category>javascript</category>
    
    </item>

  
    <item>
        <title>Support de la sortie de commande diff pour codepress (partie Javascript)</title>
        <link>http://www.posteet.com/view/1095</link>
        <description>
        <![CDATA[<pre>/* 
* CodePress regular expressions for DIFF syntax highlighting 
*/ 
 
// DIFF 
Language.syntax = [ 
{ input : /([0-9,]*)(c|d|a)([0-9,]+)(&lt;br|&lt;\/P)/g,output : '&lt;lines&gt;$1$2$3&lt;/lines&gt;$4' }, 
{ input : /(&gt;)(\-{3})(&lt;br|&lt;\/P)/g,output : '$1&lt;separator&gt;$2&lt;/separator&gt;$3'}, 
{ input : /(&gt;)(&amp;lt;.+?)(&lt;br|&lt;\/P)/g,output : '$1&lt;before&gt;$2&lt;/before&gt;$3'}, 
{ input : /(&gt;)(&amp;gt;.+?)(&lt;br|&lt;\/P)/g,output : '$1&lt;after&gt;$2&lt;/after&gt;$3' }, 
{ input : /(Common subdirectories.+?)(&lt;br|&lt;\/P)/g,output : '&lt;common&gt;$1&lt;/common&gt;$2' }, 
{ input : /(Only in )(.+?)(: )(.+?)(&lt;br|&lt;\/P)/g,output : '&lt;onlyin&gt;$1$2$3$4&lt;/onlyin&gt;$5' }, 
{ input : /(diff )(.+?)( )(.+?)(&lt;br|&lt;\/P)/g,output : '&lt;diff&gt;$1$2$3$4&lt;/diff&gt;$5' } 
] 
 
Language.snippets = [] 
 
Language.complete = [] 
 
Language.shortcuts = []</pre> <a href="http://www.posteet.com/tags/codepress">[codepress]</a>  <a href="http://www.posteet.com/tags/diff">[diff]</a>  <a href="http://www.posteet.com/tags/expressions regulieres">[expressions regulieres]</a>  <a href="http://www.posteet.com/tags/javascript">[javascript]</a> ]]>        </description>
        <dc:creator>benoitbalon</dc:creator>
        <pubDate>Wed, 09 Jul 2008 17:30:37 +0000</pubDate>

            <category>codepress</category>
            <category>diff</category>
            <category>expressions regulieres</category>
            <category>javascript</category>
    
    </item>

  
    <item>
        <title>Selenium : Vérifie qu'un champ n'est pas vide</title>
        <link>http://www.posteet.com/view/995</link>
        <description>
        <![CDATA[<pre>Ici on vérifie que le champ 'NomEmp' contient des lettres non accentuées :

&lt;tr&gt;
    &lt;td&gt;assertText&lt;/td&gt;
    &lt;td&gt;NomEmp&lt;/td&gt;
    &lt;td&gt;regex:^[a-zA-Z]*$&lt;/td&gt;
&lt;/tr&gt;</pre> <a href="http://www.posteet.com/tags/javascript">[javascript]</a>  <a href="http://www.posteet.com/tags/selenium">[selenium]</a>  <a href="http://www.posteet.com/tags/texte">[texte]</a> ]]>        </description>
        <dc:creator>cyo</dc:creator>
        <pubDate>Mon, 02 Jun 2008 11:25:57 +0000</pubDate>

            <category>javascript</category>
            <category>selenium</category>
            <category>texte</category>
    
    </item>

  
    <item>
        <title>Selenium : Vérifier la présence d'une image sur une page</title>
        <link>http://www.posteet.com/view/994</link>
        <description>
        <![CDATA[<pre>&lt;tr&gt;
	&lt;td&gt;assertElementPresent&lt;/td&gt;
	&lt;td&gt;//img[contains(@src,&quot;medias/carte/top.jpg&quot;)]/@src&lt;/td&gt;
	&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;</pre> <a href="http://www.posteet.com/tags/image">[image]</a>  <a href="http://www.posteet.com/tags/javascript">[javascript]</a>  <a href="http://www.posteet.com/tags/selenium">[selenium]</a> ]]>        </description>
        <dc:creator>cyo</dc:creator>
        <pubDate>Mon, 02 Jun 2008 07:39:25 +0000</pubDate>

            <category>image</category>
            <category>javascript</category>
            <category>selenium</category>
    
    </item>

  
    <item>
        <title>Menu déroulant qui se déroule/cache quand la souris est dessus avec JQuery</title>
        <link>http://www.posteet.com/view/952</link>
        <description>
        <![CDATA[<pre>&lt;script src=&quot;http://iscripting.net/jquery/jquery_1.2.1.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;
$(document).ready(function(){

$(&quot;#drop_down&quot;).hide();
$(&quot;#drop_down&quot;).animate({

opacity:0.5

});


$(&quot;a:contains('blah')&quot;).mouseover(function() {

$(&quot;#drop_down&quot;).show(&quot;slow&quot;);

});

$(&quot;#drop_down&quot;).mouseout(function(){

$(this).hide('slow');

});



});
&lt;/script&gt;
&lt;style&gt;
#drop_down {
background:olive;
width:100px;
height:200px;
z-index:1;
}

#hori_menu {
height:60px;
border: 2px solid #EEEEEE;
width:400px;
}
&lt;/style&gt;

&lt;div id=&quot;hori_menu&quot;&gt;
&lt;a href=&quot;#&quot;&gt;Google&lt;/a&gt;
&lt;br /&gt;
&lt;div id=&quot;drop_down&quot;&gt;
Bleh&lt;br /&gt;
Blub&lt;br /&gt;
Burp&lt;br /&gt;

Items
&lt;/div&gt;
&lt;/div&gt;</pre> <a href="http://www.posteet.com/tags/Déroulant">[Déroulant]</a>  <a href="http://www.posteet.com/tags/Javascript">[Javascript]</a>  <a href="http://www.posteet.com/tags/Menu">[Menu]</a> ]]>        </description>
        <dc:creator>angenoir</dc:creator>
        <pubDate>Fri, 09 May 2008 16:31:58 +0000</pubDate>

            <category>Déroulant</category>
            <category>Javascript</category>
            <category>Menu</category>
    
    </item>

  
    <item>
        <title>Selenium : Simuler un évènement Javascript depuis Selenium</title>
        <link>http://www.posteet.com/view/785</link>
        <description>
        <![CDATA[<pre>Par exemple, un évènement &quot;onblur()&quot; sur champ &lt;input&gt; :

&lt;tr&gt;
  &lt;td&gt;type&lt;/td&gt;
  &lt;td&gt;nom&lt;/td&gt;
  &lt;td&gt;nom&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;fireEvent&lt;/td&gt;
  &lt;td&gt;nom&lt;/td&gt;
  &lt;td&gt;blur&lt;/td&gt;
&lt;/tr&gt;


Pour un évènement &quot;onkeyup()&quot; :

&lt;tr&gt;
  &lt;td&gt;type&lt;/td&gt;
  &lt;td&gt;code_postal&lt;/td&gt;
  &lt;td&gt;75000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;keyUp&lt;/td&gt;
  &lt;td&gt;code_postal&lt;/td&gt;
  &lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;</pre> <a href="http://www.posteet.com/tags/ajax">[ajax]</a>  <a href="http://www.posteet.com/tags/évènement">[évènement]</a>  <a href="http://www.posteet.com/tags/javascript">[javascript]</a>  <a href="http://www.posteet.com/tags/selenium">[selenium]</a> ]]>        </description>
        <dc:creator>cyo</dc:creator>
        <pubDate>Fri, 22 Feb 2008 15:19:55 +0000</pubDate>

            <category>ajax</category>
            <category>évènement</category>
            <category>javascript</category>
            <category>selenium</category>
    
    </item>

  
    <item>
        <title>Selenium : Interagir avec le code Javascript d'une page, depuis un script Selenium</title>
        <link>http://www.posteet.com/view/782</link>
        <description>
        <![CDATA[<pre>Exemple pour afficher la valeur d’une variable qui se nomme &quot;maVariable&quot; :
&lt;tr&gt;
	&lt;td&gt;eval&lt;/td&gt;
	&lt;td&gt;javascript{alert(this.browserbot.getCurrentWindow().maVariable)}&lt;/td&gt;
	&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;</pre> <a href="http://www.posteet.com/tags/affichage">[affichage]</a>  <a href="http://www.posteet.com/tags/javascript">[javascript]</a>  <a href="http://www.posteet.com/tags/selenium">[selenium]</a>  <a href="http://www.posteet.com/tags/variable">[variable]</a> ]]>        </description>
        <dc:creator>cyo</dc:creator>
        <pubDate>Thu, 21 Feb 2008 10:35:15 +0000</pubDate>

            <category>affichage</category>
            <category>javascript</category>
            <category>selenium</category>
            <category>variable</category>
    
    </item>

  
    <item>
        <title>Enviar formulario al pulsar 'Intro'</title>
        <link>http://www.posteet.com/view/768</link>
        <description>
        <![CDATA[<pre>&lt;html&gt;
&lt;head&gt;
   &lt;title&gt;Enviar formulario al pulsar un enlace&lt;/title&gt;
&lt;script&gt;
function enviar_formulario(){
   document.formulario1.submit()
}
&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;form action=&quot;pagina_destino.php&quot; method=post name=&quot;formulario1&quot;&gt;
   &lt;input name=&quot;nombre&quot; onkeypress=&quot;if (event.keyCode == 13) enviar_formulario()&quot;/&gt;
&lt;/form&gt;

&lt;/body&gt;
&lt;/html&gt;</pre> <a href="http://www.posteet.com/tags/formularios">[formularios]</a>  <a href="http://www.posteet.com/tags/javascript">[javascript]</a> ]]>        </description>
        <dc:creator>jacinmontava</dc:creator>
        <pubDate>Mon, 18 Feb 2008 10:37:55 +0000</pubDate>

            <category>formularios</category>
            <category>javascript</category>
    
    </item>

  
    <item>
        <title>Enviar Form desde enlace</title>
        <link>http://www.posteet.com/view/767</link>
        <description>
        <![CDATA[<pre>&lt;html&gt;
&lt;head&gt;
   &lt;title&gt;Enviar formulario al pulsar un enlace&lt;/title&gt;
&lt;script&gt;
function enviar_formulario(){
   document.formulario1.submit()
}
&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;form action=&quot;pagina_destino.php&quot; method=post name=&quot;formulario1&quot;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;campo1&quot; value=&quot;valor&quot;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;campo2&quot; value=&quot;otroValor&quot;&gt;
&lt;/form&gt;

&lt;a href=&quot;javascript:enviar_formulario()&quot;&gt;Enviar formulario&lt;/a&gt;
&lt;/body&gt;
&lt;/html&gt;</pre> <a href="http://www.posteet.com/tags/formularios">[formularios]</a>  <a href="http://www.posteet.com/tags/javascript">[javascript]</a> ]]>        </description>
        <dc:creator>jacinmontava</dc:creator>
        <pubDate>Mon, 18 Feb 2008 10:33:56 +0000</pubDate>

            <category>formularios</category>
            <category>javascript</category>
    
    </item>

  
    <item>
        <title>onClick event on &lt;option&gt; does not fire in Internet Explorer</title>
        <link>http://www.posteet.com/view/761</link>
        <description>
        <![CDATA[<pre>Remove the events from the options, use an event directly on the select instead.

function myfunc(value) {
  alert(value);
}
...
&lt;select onchange=&quot;myfunc(this.options[this.selectedIndex].value)&quot;&gt;
  &lt;option value=&quot;1&quot;&gt;Item1&lt;/option&gt;
  &lt;option  value=&quot;2&quot;&gt;Item2&lt;/option&gt;
&lt;/select&gt;</pre> <a href="http://www.posteet.com/tags/ie">[ie]</a>  <a href="http://www.posteet.com/tags/javascript">[javascript]</a>  <a href="http://www.posteet.com/tags/onclick">[onclick]</a>  <a href="http://www.posteet.com/tags/select">[select]</a> ]]>        </description>
        <dc:creator>spirit</dc:creator>
        <pubDate>Fri, 15 Feb 2008 09:16:07 +0000</pubDate>

            <category>ie</category>
            <category>javascript</category>
            <category>onclick</category>
            <category>select</category>
    
    </item>

  
    <item>
        <title>Calendrier dynamique mois par mois</title>
        <link>http://www.posteet.com/view/713</link>
        <description>
        <![CDATA[<pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//FR&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;fr&quot; lang=&quot;fr&quot;&gt;
	&lt;head&gt;
		&lt;script language=&quot;javascript&quot;&gt;
			function get_mois(annee, mois, bloquer_a_date_actuelle, emplacement, bouton)
			{
				var today = new Date();
				var date_a_traiter = today;
				
				if (annee != null &amp;&amp; mois != null)
				{
					if (! bloquer_a_date_actuelle)
					{
						if (annee != today.getFullYear() || mois != today.getMonth())
						{
							date_a_traiter = new Date(annee, mois, 1);
						}
					}
					else
					{
						if (annee &lt; today.getFullYear() || mois &lt; today.getMonth())
						{
							date_a_traiter = new Date(annee, mois, 1);
						}
					}
				}
				
				var current_year = date_a_traiter.getFullYear();
				var current_month = date_a_traiter.getMonth();
				
				var debut_mois = new Date(current_year, current_month, 1);
				var premier_jour_mois = debut_mois.getDay();
				
				var fin_mois = new Date(current_year, current_month + 1, 0);
				var derniere_date_mois = fin_mois.getDate();
				
				var mon_code = &quot;&quot;;
				mon_code = &quot;\&lt;table\&gt;&quot; +
								&quot;\&lt;tr class=\&quot;deplace\&quot;\&gt;&quot; +
									&quot;\&lt;td\&gt;\&lt;a id=\&quot;annee_precedente\&quot; href=\&quot;\&quot; class=\&quot;survol\&quot; title=\&quot;Ann&amp;eacute;e pr&amp;eacute;c&amp;eacute;dente\&quot;\&gt;\&lt;\&lt;\&lt;/a\&gt;\&lt;/td\&gt;&quot; +
									&quot;\&lt;td\&gt;\&lt;a id=\&quot;mois_precedent\&quot; href=\&quot;\&quot; class=\&quot;survol\&quot; title=\&quot;Mois pr&amp;eacute;c&amp;eacute;dent\&quot;\&gt;\&lt;\&lt;/a\&gt;\&lt;/td\&gt;&quot; +
									&quot;\&lt;td\&gt;\&lt;span id=\&quot;mois_annee\&quot;\&gt;\&lt;/span\&gt;\&lt;/td\&gt;&quot; +
									&quot;\&lt;td\&gt;\&lt;a id=\&quot;mois_suivant\&quot; href=\&quot;\&quot; class=\&quot;survol\&quot; title=\&quot;Mois suivant\&quot;\&gt;\&gt;\&lt;/a\&gt;\&lt;/td\&gt;&quot; +
									&quot;\&lt;td\&gt;\&lt;a id=\&quot;annee_suivante\&quot; href=\&quot;\&quot; class=\&quot;survol\&quot; title=\&quot;Ann&amp;eacute;e suivante\&quot;\&gt;\&gt;\&gt;\&lt;/a\&gt;\&lt;/td\&gt;&quot; +
									&quot;\&lt;td\&gt;\&lt;a id=\&quot;fermer_calendrier\&quot; href=\&quot;javascript: cacher_calendrier('&quot; + emplacement + &quot;', '&quot; + bouton + &quot;');\&quot; class=\&quot;survol\&quot; title=\&quot;Fermer le calendrier\&quot;\&gt;x&lt;/a\&gt;\&lt;/td\&gt;&quot; +
								&quot;\&lt;/tr\&gt;&quot; +
							&quot;\&lt;/table\&gt;&quot;;
				mon_code = mon_code + &quot;\&lt;table\&gt;\&lt;tr class=\&quot;titre\&quot;\&gt;\&lt;td\&gt;Lu\&lt;/td\&gt;\&lt;td\&gt;Ma\&lt;/td\&gt;\&lt;td\&gt;Me\&lt;/td\&gt;\&lt;td\&gt;Je\&lt;/td\&gt;\&lt;td\&gt;Ve\&lt;/td\&gt;\&lt;td\&gt;Sa\&lt;/td\&gt;\&lt;td\&gt;Di\&lt;/td\&gt;\&lt;/tr\&gt;&quot;;
				
				for (var i = 1 ; i &lt;= derniere_date_mois ; i++)
				{
					var ma_date = new Date(current_year, current_month, i);
					
					var style_today = &quot; onclick=\&quot;javascript: alert('&quot; + i + &quot;/&quot; + current_month + &quot;/&quot; + current_year + &quot;');\&quot;&quot;;
					if (i == date_a_traiter.getDate() &amp;&amp; (ma_date.getDay() == 0 || ma_date.getDay() == 6) )
					{
						if (date_a_traiter == today)
						{
							style_today = style_today + &quot; class=\&quot;today_we\&quot;&quot;;
						}
						else
						{
							style_today = style_today + &quot; class=\&quot;not_today_we\&quot;&quot;;
						}
					}
					else if (i == date_a_traiter.getDate() &amp;&amp; (ma_date.getDay() != 0 &amp;&amp; ma_date.getDay() != 6) )
					{
						if (date_a_traiter == today)
						{
							style_today = style_today + &quot; class=\&quot;today_not_we\&quot;&quot;;
						}
						else
						{
							style_today = style_today + &quot; class=\&quot;not_today_not_we\&quot;&quot;;
						}
					}
					else if (i != date_a_traiter.getDate() &amp;&amp; (ma_date.getDay() != 0 &amp;&amp; ma_date.getDay() != 6) )
					{
						style_today = style_today + &quot; class=\&quot;not_today_not_we\&quot;&quot;;
					}
					else if (i != date_a_traiter.getDate() &amp;&amp; (ma_date.getDay() == 0 || ma_date.getDay() == 6) )
					{
						style_today = style_today + &quot; class=\&quot;not_today_we\&quot;&quot;;
					}
					
					if (i == 1)
					{
						switch (ma_date.getDay())
						{
							case 1:
									mon_code = mon_code + &quot;\&lt;tr\&gt;\&lt;td&quot; + style_today + &quot;\&gt;1\&lt;/td\&gt;&quot;;
									break;
							case 2:
									mon_code = mon_code + &quot;\&lt;tr\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td&quot; + style_today + &quot;\&gt;1\&lt;/td\&gt;&quot;;
									break;
							case 3:
									mon_code = mon_code + &quot;\&lt;tr\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td&quot; + style_today + &quot;\&gt;1\&lt;/td\&gt;&quot;;
									break;
							case 4:
									mon_code = mon_code + &quot;\&lt;tr\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td&quot; + style_today + &quot;\&gt;1\&lt;/td\&gt;&quot;;
									break;
							case 5:
									mon_code = mon_code + &quot;\&lt;tr\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td&quot; + style_today + &quot;\&gt;1\&lt;/td\&gt;&quot;;
									break;
							case 6:
									mon_code = mon_code + &quot;\&lt;tr\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td&quot; + style_today + &quot;\&gt;1\&lt;/td\&gt;&quot;;
									break;
							case 0:
									mon_code = mon_code + &quot;\&lt;tr\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td&quot; + style_today + &quot;\&gt;1\&lt;/td\&gt;\&lt;/tr\&gt;&quot;;
									break;
						}
					}
					else if (i == derniere_date_mois)
					{
						switch (ma_date.getDay())
						{
							case 1:
									mon_code = mon_code + &quot;\&lt;tr\&gt;\&lt;td&quot; + style_today + &quot;\&gt;&quot; + i + &quot;\&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;/tr\&gt;&quot;;
									break;
							case 2:
									mon_code = mon_code + &quot;\&lt;td&quot; + style_today + &quot;\&gt;&quot; + i + &quot;\&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;/tr\&gt;&quot;;
									break;
							case 3:
									mon_code = mon_code + &quot;\&lt;td&quot; + style_today + &quot;\&gt;&quot; + i + &quot;\&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;/tr\&gt;&quot;;
									break;
							case 4:
									mon_code = mon_code + &quot;\&lt;td&quot; + style_today + &quot;\&gt;&quot; + i + &quot;\&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;/tr\&gt;&quot;;
									break;
							case 5:
									mon_code = mon_code + &quot;\&lt;td&quot; + style_today + &quot;\&gt;&quot; + i + &quot;\&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;/tr\&gt;&quot;;
									break;
							case 6:
									mon_code = mon_code + &quot;\&lt;td&quot; + style_today + &quot;\&gt;&quot; + i + &quot;\&lt;/td\&gt;\&lt;td\&gt; \&lt;/td\&gt;\&lt;/tr\&gt;&quot;;
									break;
							case 0:
									mon_code = mon_code + &quot;\&lt;td&quot; + style_today + &quot;\&gt;&quot; + i + &quot;\&lt;/td\&gt;\&lt;/tr\&gt;\&lt;/tr\&gt;&quot;;
									break;
						}
					}
					else
					{
						if (ma_date.getDay() == 0)
						{
							mon_code = mon_code + &quot;\&lt;td&quot; + style_today + &quot;\&gt;&quot; + i + &quot;\&lt;/td\&gt;\&lt;/tr\&gt;&quot;;
						}
						else if (ma_date.getDay() == 1)
						{
							mon_code = mon_code + &quot;\&lt;tr\&gt;\&lt;td&quot; + style_today + &quot;\&gt;&quot; + i + &quot;\&lt;/td\&gt;&quot;;
						}
						else
						{
							mon_code = mon_code + &quot;\&lt;td&quot; + style_today + &quot;\&gt;&quot; + i + &quot;\&lt;/td\&gt;&quot;;
						}
					}
				}
				
				mon_code = mon_code + &quot;\&lt;/table\&gt;&quot;;
				document.getElementById(emplacement).innerHTML = mon_code;
				document.getElementById(&quot;mois_annee&quot;).innerHTML = get_select_month(current_month, current_year, bloquer_a_date_actuelle, emplacement) + &quot; &quot; + get_select_year(current_year, current_month, bloquer_a_date_actuelle, emplacement);
				
				var annee_precedente = new Date(current_year - 1, current_month, 1);
				var annee_suivante = new Date(current_year + 1, current_month, 1);
				var mois_precedent = new Date(current_year, current_month - 1, 1);
				var mois_suivant = new Date(current_year, current_month + 1, 1);
				document.getElementById(&quot;annee_precedente&quot;).setAttribute(&quot;href&quot;, &quot;javascript: get_mois(&quot; + annee_precedente.getFullYear() + &quot;, &quot; + annee_precedente.getMonth()  + &quot;, &quot; + bloquer_a_date_actuelle + &quot;, '&quot; + emplacement + &quot;', '&quot; + bouton + &quot;'&quot; + &quot;);&quot;);
				document.getElementById(&quot;mois_precedent&quot;).setAttribute(&quot;href&quot;, &quot;javascript: get_mois(&quot; + mois_precedent.getFullYear() + &quot;, &quot; + mois_precedent.getMonth() + &quot;, &quot; + bloquer_a_date_actuelle + &quot;, '&quot; + emplacement + &quot;', '&quot; + bouton + &quot;'&quot; + &quot;);&quot;);
				if (bloquer_a_date_actuelle)
				{
					if (current_year &gt;= today.getFullYear() &amp;&amp; current_month &gt;= today.getMonth())
					{
						document.getElementById(&quot;annee_suivante&quot;).setAttribute(&quot;href&quot;, &quot;javascript: alert(\&quot;Vous ne pouvez pas aller au-delà de la date actuelle\&quot;);&quot;);
						document.getElementById(&quot;mois_suivant&quot;).setAttribute(&quot;href&quot;, &quot;javascript: alert(\&quot;Vous ne pouvez pas aller au-delà de la date actuelle\&quot;);&quot;);
					}
					else if (current_year &gt;= today.getFullYear() &amp;&amp; current_month &lt; today.getMonth())
					{
						document.getElementById(&quot;annee_suivante&quot;).setAttribute(&quot;href&quot;, &quot;javascript: alert(\&quot;Vous ne pouvez pas aller au-delà de la date actuelle\&quot;);&quot;);
						document.getElementById(&quot;mois_suivant&quot;).setAttribute(&quot;href&quot;, &quot;javascript: get_mois(&quot; + mois_suivant.getFullYear() + &quot;, &quot; + mois_suivant.getMonth() + &quot;, &quot; + bloquer_a_date_actuelle + &quot;, '&quot; + emplacement + &quot;', '&quot; + bouton + &quot;'&quot; + &quot;);&quot;);
					}
					else
					{
						document.getElementById(&quot;annee_suivante&quot;).setAttribute(&quot;href&quot;, &quot;javascript: get_mois(&quot; + annee_suivante.getFullYear() + &quot;, &quot; + annee_suivante.getMonth() + &quot;, &quot; + bloquer_a_date_actuelle + &quot;, '&quot; + emplacement + &quot;', '&quot; + bouton + &quot;'&quot; + &quot;);&quot;);
						document.getElementById(&quot;mois_suivant&quot;).setAttribute(&quot;href&quot;, &quot;javascript: get_mois(&quot; + mois_suivant.getFullYear() + &quot;, &quot; + mois_suivant.getMonth() + &quot;, &quot; + bloquer_a_date_actuelle + &quot;, '&quot; + emplacement + &quot;', '&quot; + bouton + &quot;'&quot; + &quot;);&quot;);
					}
				}
				else
				{
					document.getElementById(&quot;annee_suivante&quot;).setAttribute(&quot;href&quot;, &quot;javascript: get_mois(&quot; + annee_suivante.getFullYear() + &quot;, &quot; + annee_suivante.getMonth() + &quot;, &quot; + bloquer_a_date_actuelle + &quot;, '&quot; + emplacement + &quot;', '&quot; + bouton + &quot;'&quot; + &quot;);&quot;);
					document.getElementById(&quot;mois_suivant&quot;).setAttribute(&quot;href&quot;, &quot;javascript: get_mois(&quot; + mois_suivant.getFullYear() + &quot;, &quot; + mois_suivant.getMonth() + &quot;, &quot; + bloquer_a_date_actuelle + &quot;, '&quot; + emplacement + &quot;', '&quot; + bouton + &quot;'&quot; + &quot;);&quot;);
				}
			}
			
			function get_nom_mois(numero)
			{
				var nom_mois = &quot;&quot;;
				
				switch (numero)
				{
					case 0:
							nom_mois = &quot;Janvier&quot;;
							break;
					case 1:
							nom_mois = &quot;F&amp;eacute;vrier&quot;;
							break;
					case 2:
							nom_mois = &quot;Mars&quot;;
							break;
					case 3:
							nom_mois = &quot;Avril&quot;;
							break;
					case 4:
							nom_mois = &quot;Mai&quot;;
							break;
					case 5:
							nom_mois = &quot;Juin&quot;;
							break;
					case 6:
							nom_mois = &quot;Juillet&quot;;
							break;
					case 7:
							nom_mois = &quot;Ao&amp;ucirc;t&quot;;
							break;
					case 8:
							nom_mois = &quot;Septembre&quot;;
							break;
					case 9:
							nom_mois = &quot;Octobre&quot;;
							break;
					case 10:
							nom_mois = &quot;Novembre&quot;;
							break;
					case 11:
							nom_mois = &quot;D&amp;eacute;cembre&quot;;
							break;
				}
				
				return nom_mois;
			}
			
			function get_select_month(mois, annee, bloquer_a_date_actuelle, emplacement)
			{
				var today = new Date();
				
				var select = &quot;\&lt;select name=\&quot;mois\&quot; onchange=\&quot;javascript: get_mois(&quot; + annee + &quot;, this.value, &quot; + bloquer_a_date_actuelle + &quot;, '&quot; + emplacement + &quot;'&quot; + &quot;);\&quot;\&gt;&quot;;
				
				if (annee == today.getFullYear() &amp;&amp; bloquer_a_date_actuelle == true)
				{
					for (var i = 0 ; i &lt;= today.getMonth() ; i++)
					{
						if (i != mois)
						{
							select = select + &quot;\&lt;option value=\&quot;&quot; + i + &quot;\&quot;\&gt;&quot; + get_nom_mois(i) + &quot;\&lt;/option\&gt;&quot;;
						}
						else
						{
							select = select + &quot;\&lt;option value=\&quot;&quot; + i + &quot;\&quot; selected=\&quot;selected\&quot;\&gt;&quot; + get_nom_mois(i) + &quot;\&lt;/option\&gt;&quot;;
						}
					}
				}
				else
				{
					for (var i = 0 ; i &lt;= 11 ; i++)
					{
						if (i != mois)
						{
							select = select + &quot;\&lt;option value=\&quot;&quot; + i + &quot;\&quot;\&gt;&quot; + get_nom_mois(i) + &quot;\&lt;/option\&gt;&quot;;
						}
						else
						{
							select = select + &quot;\&lt;option value=\&quot;&quot; + i + &quot;\&quot; selected=\&quot;selected\&quot;\&gt;&quot; + get_nom_mois(i) + &quot;\&lt;/option\&gt;&quot;;
						}
					}
				}
				
				select = select + &quot;\&lt;/select\&gt;&quot;;
				
				return select;
			}
			
			function get_select_year(annee, mois, bloquer_a_date_actuelle, emplacement)
			{
				var today = new Date();
				
				var select = &quot;\&lt;select name=\&quot;annee\&quot; onchange=\&quot;javascript: get_mois(this.value, &quot; + mois + &quot;, &quot; + bloquer_a_date_actuelle + &quot;, '&quot; + emplacement + &quot;'&quot; + &quot;);\&quot;\&gt;&quot;;
				
				if (bloquer_a_date_actuelle &amp;&amp; today.getFullYear() - annee &lt;= 10)
				{
					for (var i = today.getFullYear() ; i &gt; today.getFullYear() - 20 ; i-- )
					{
						if (i == annee)
						{
							select = select + &quot;\&lt;option value=\&quot;&quot; + i + &quot;\&quot; selected=\&quot;selected\&quot;\&gt;&quot; + i + &quot;\&lt;/option\&gt;&quot;;
						}
						else
						{
							select = select + &quot;\&lt;option value=\&quot;&quot; + i + &quot;\&quot;\&gt;&quot; + i + &quot;\&lt;/option\&gt;&quot;;
						}
					}
				}
				else
				{
					for (var i = annee + 9 ; i &gt; annee - 10 ; i-- )
					{
						if (i == annee)
						{
							select = select + &quot;\&lt;option value=\&quot;&quot; + i + &quot;\&quot; selected=\&quot;selected\&quot;\&gt;&quot; + i + &quot;\&lt;/option\&gt;&quot;;
						}
						else
						{
							select = select + &quot;\&lt;option value=\&quot;&quot; + i + &quot;\&quot;\&gt;&quot; + i + &quot;\&lt;/option\&gt;&quot;;
						}
					}
				}
				
				select = select + &quot;\&lt;/select\&gt;&quot;;
				
				return select;
			}
			
			function afficher_calendrier(calendrier, bouton_calendrier)
			{
				document.getElementById(calendrier).setAttribute(&quot;style&quot;, &quot;display: block;&quot;);
				document.getElementById(bouton_calendrier).setAttribute(&quot;onclick&quot;, &quot;javascript: cacher_calendrier('&quot; + calendrier + &quot;', '&quot; + bouton_calendrier + &quot;');&quot;);
			}
			
			function cacher_calendrier(calendrier, bouton_calendrier)
			{
				document.getElementById(calendrier).setAttribute(&quot;style&quot;, &quot;display: none;&quot;);
				document.getElementById(bouton_calendrier).setAttribute(&quot;onclick&quot;, &quot;javascript: afficher_calendrier('&quot; + calendrier + &quot;', '&quot; + bouton_calendrier + &quot;');&quot;);
			}
		&lt;/script&gt;
		&lt;style type=&quot;text/css&quot;&gt;
			body
			{
				background-color: black;
				color: white;
				font-family: sans-serif;
				font-weight: bold;
				font-size: 12px;
			}
			
			div.calendrier
			{
				border: 1px solid grey;
				width: 250px;
				display: none;
			}
			
			td.not_today_not_we, td.today_not_we, td.not_today_we, td.today_we
			{
				text-align: right;
				border: 1px solid transparent;
			}
			
			td.not_today_not_we:hover, td.today_not_we:hover, td.not_today_we:hover, td.today_we:hover
			{
				cursor: pointer;
				border: 1px solid white;
			}
			
			td.not_today_not_we, td.today_not_we
			{
				background-color: black;
			}
			
			td.not_today_we, td.today_we
			{
				color: grey;
			}
			
			td.today_we, td.today_not_we
			{
				color: red;
			}
			
			tr.titre
			{
				text-align: center;
				color: white;
				background-color: grey;
			}
			
			table
			{
				width: 100%;
			}
			
			tr.deplace
			{
				text-align: center;
			}
			
			tr.deplace span
			{
				border: 1px solid transparent;
				padding-left: 2px;
				padding-right: 2px;
				font-size: 10px;
				margin: 0px;
				color: white;
			}
			
			tr.deplace a.survol
			{
				border: 1px solid transparent;
				padding-left: 2px;
				padding-right: 2px;
				font-size: 10px;
				margin: 0px;
				color: white;
				text-decoration: none;
			}
			
			a#fermer_calendrier
			{
				color: red;
			}
			
			tr.deplace a.survol:hover
			{
				cursor: pointer;
				border: 1px solid white;
			}
			
			select, option
			{
				background-color: black;
				color: white;
				font-family: sans-serif;
				font-weight: bold;
				font-variant: small-caps;
				font-size: 10px;
				margin: 0px;
				border: 1px solid transparent;
			}
			
			option:hover
			{
				background-color: black;
				border: 1px solid white;
			}
		&lt;/style&gt;
	&lt;/head&gt;
	&lt;body onload=&quot;javascript: get_mois(null, null, true, 'calendrier', 'bouton_calendrier');&quot;&gt;
		&lt;input type=&quot;button&quot; name=&quot;afficher_calendrier&quot; value=&quot;Calendrier&quot; onclick=&quot;javascript: afficher_calendrier('calendrier', 'bouton_calendrier');&quot; id=&quot;bouton_calendrier&quot;/&gt;
		&lt;div class=&quot;calendrier&quot; id=&quot;calendrier&quot;&gt;&lt;/div&gt;
	&lt;/body&gt;
&lt;/html&gt;</pre> <a href="http://www.posteet.com/tags/calendrier">[calendrier]</a>  <a href="http://www.posteet.com/tags/Date">[Date]</a>  <a href="http://www.posteet.com/tags/getElementById">[getElementById]</a>  <a href="http://www.posteet.com/tags/innerHTML">[innerHTML]</a>  <a href="http://www.posteet.com/tags/javascript">[javascript]</a> ]]>        </description>
        <dc:creator>benoitbalon</dc:creator>
        <pubDate>Fri, 01 Feb 2008 20:17:23 +0000</pubDate>

            <category>calendrier</category>
            <category>Date</category>
            <category>getElementById</category>
            <category>innerHTML</category>
            <category>javascript</category>
    
    </item>

  
    <item>
        <title>Clavier virtuel</title>
        <link>http://www.posteet.com/view/693</link>
        <description>
        <![CDATA[<pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//FR&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;fr&quot; lang=&quot;fr&quot;&gt;
	&lt;head&gt;
		&lt;script language=&quot;javascript&quot;&gt;
			function taper(lettre)
			{
				if (lettre == 'ECHAP')
				{
					document.getElementsByTagName(&quot;textarea&quot;)[0].value = &quot;&quot;;
				}
				else if (lettre == 'BACKSPACE')
				{
					var temp = document.getElementsByTagName(&quot;textarea&quot;)[0].value;
					temp = temp.substring(temp.length - 1, 0);
					document.getElementsByTagName(&quot;textarea&quot;)[0].value = temp;
				}
				else
				{
					var temp = document.getElementsByTagName(&quot;textarea&quot;)[0].value;
					document.getElementsByTagName(&quot;textarea&quot;)[0].value = temp + lettre;
				}
			}
			
			function clic_maj(showmaj)
			{
				if (showmaj)
				{
					var anchors = document.getElementsByTagName(&quot;span&quot;);
					for (var i=0; i&lt;anchors.length; i++) {
						var anchor = anchors[i];
						if (anchor.getAttribute(&quot;class&quot;) == &quot;minus&quot;) anchor.style.display = &quot;none&quot;;
						if (anchor.getAttribute(&quot;class&quot;) == &quot;majus&quot;) anchor.style.display = &quot;inline&quot;;
						if (anchor.getAttribute(&quot;class&quot;) == &quot;altgr&quot;) anchor.style.display = &quot;none&quot;;
					}
					document.getElementById(&quot;majg&quot;).setAttribute(&quot;onclick&quot;, &quot;javascript: clic_maj(false);&quot;);
					document.getElementById(&quot;majd&quot;).setAttribute(&quot;onclick&quot;, &quot;javascript: clic_maj(false);&quot;);
					document.getElementById(&quot;verr&quot;).setAttribute(&quot;onclick&quot;, &quot;javascript: clic_verr(true);&quot;);
				}
				else
				{
					var anchors = document.getElementsByTagName(&quot;span&quot;);
					for (var i=0; i&lt;anchors.length; i++) {
						var anchor = anchors[i];
						if (anchor.getAttribute(&quot;class&quot;) == &quot;minus&quot;) anchor.style.display = &quot;inline&quot;;
						if (anchor.getAttribute(&quot;class&quot;) == &quot;majus&quot;) anchor.style.display = &quot;none&quot;;
						if (anchor.getAttribute(&quot;class&quot;) == &quot;altgr&quot;) anchor.style.display = &quot;none&quot;;
					}
					document.getElementById(&quot;majg&quot;).setAttribute(&quot;onclick&quot;, &quot;javascript: clic_maj(true);&quot;);
					document.getElementById(&quot;majd&quot;).setAttribute(&quot;onclick&quot;, &quot;javascript: clic_maj(true);&quot;);
				}
			}
			
			function clic_altgr()
			{
				var anchors = document.getElementsByTagName(&quot;span&quot;);
				for (var i=0; i&lt;anchors.length; i++) {
					var anchor = anchors[i];
					if (anchor.getAttribute(&quot;class&quot;) == &quot;minus&quot;) anchor.style.display = &quot;none&quot;;
					if (anchor.getAttribute(&quot;class&quot;) == &quot;majus&quot;) anchor.style.display = &quot;none&quot;;
					if (anchor.getAttribute(&quot;class&quot;) == &quot;altgr&quot;) anchor.style.display = &quot;inline&quot;;
				}
			}
			
			function declic_altgr()
			{
				var anchors = document.getElementsByTagName(&quot;span&quot;);
				for (var i=0; i&lt;anchors.length; i++) {
					var anchor = anchors[i];
					if (anchor.getAttribute(&quot;class&quot;) == &quot;minus&quot;) anchor.style.display = &quot;inline&quot;;
					if (anchor.getAttribute(&quot;class&quot;) == &quot;majus&quot;) anchor.style.display = &quot;none&quot;;
					if (anchor.getAttribute(&quot;class&quot;) == &quot;altgr&quot;) anchor.style.display = &quot;none&quot;;
				}
			}
			
			function clic_verr(verrouiller)
			{
				if (verrouiller)
				{
					var anchors = document.getElementsByTagName(&quot;span&quot;);
					for (var i=0; i&lt;anchors.length; i++) {
						var anchor = anchors[i];
						if (anchor.getAttribute(&quot;class&quot;) == &quot;minus&quot;) anchor.style.display = &quot;none&quot;;
						if (anchor.getAttribute(&quot;class&quot;) == &quot;majus&quot;) anchor.style.display = &quot;inline&quot;;
						if (anchor.getAttribute(&quot;class&quot;) == &quot;altgr&quot;) anchor.style.display = &quot;none&quot;;
					}
					document.getElementById(&quot;verr&quot;).setAttribute(&quot;onclick&quot;, &quot;javascript: clic_verr(false);&quot;);
					document.getElementById(&quot;majg&quot;).setAttribute(&quot;onclick&quot;, &quot;javascript: clic_maj(true);&quot;);
					document.getElementById(&quot;majd&quot;).setAttribute(&quot;onclick&quot;, &quot;javascript: clic_maj(true);&quot;);
				}
				else
				{
					var anchors = document.getElementsByTagName(&quot;span&quot;);
					for (var i=0; i&lt;anchors.length; i++) {
						var anchor = anchors[i];
						if (anchor.getAttribute(&quot;class&quot;) == &quot;minus&quot;) anchor.style.display = &quot;inline&quot;;
						if (anchor.getAttribute(&quot;class&quot;) == &quot;majus&quot;) anchor.style.display = &quot;none&quot;;
						if (anchor.getAttribute(&quot;class&quot;) == &quot;altgr&quot;) anchor.style.display = &quot;none&quot;;
					}
					document.getElementById(&quot;verr&quot;).setAttribute(&quot;onclick&quot;, &quot;javascript: clic_verr(true);&quot;);
				}
			}
			
			function clic_majus()
			{
				if ( document.getElementById(&quot;verr&quot;).getAttribute(&quot;onclick&quot;) == &quot;javascript: clic_verr(true);&quot; )
				{
					clic_maj(false);
				}
			}
		&lt;/script&gt;
		&lt;style type=&quot;text/css&quot;&gt;
		span.bouton
		{
			background-color: #D4D0C8;
			border-left: 1px solid white;
			border-top: 1px solid white;
			border-right: 2px solid grey;
			border-bottom: 2px solid grey;
			padding-left: 5px;
			padding-right: 5px;
			padding-top: 3px;
			padding-bottom: 3px;
			cursor: default;
			font-family: sans-serif;
			font-size: smaller;
		}
		
		span.bouton:active
		{
			border-left: 2px solid grey;
			border-top: 2px solid grey;
			border-right: 1px solid white;
			border-bottom: 1px solid white;
			padding-left: 5px;
			padding-right: 5px;
			padding-top: 3px;
			padding-bottom: 3px;
		}

		span.touche, span.minus, span.majus, span.altgr
		{
			background-color: #E9E8E6;
			border-left: 5px solid silver;
			border-top: 2px solid silver;
			border-right: 5px solid grey;
			border-bottom: 7px solid grey;
			padding-left: 10px;
			padding-right: 10px;
			padding-top: 1px;
			padding-bottom: 3px;
			cursor: pointer;
			font-weight: bold;
			font-family: sans-serif;
		}

		span.touchetop
		{
			background-color: #E9E8E6;
			border-left: 5px solid silver;
			border-top: 2px solid silver;
			border-right: 5px solid grey;
			border-bottom: 7px solid grey;
			padding-left: 10px;
			padding-right: 10px;
			padding-top: 1px;
			padding-bottom: 3px;
			cursor: pointer;
			font-weight: bold;
			font-family: sans-serif;
			font-size: smaller;
		}

		span.touche:active, span.minus:active, span.majus:active, span.altgr:active
		{
			border-left: 4px solid grey;
			border-top: 1px solid grey;
			border-right: 4px solid silver;
			border-bottom: 6px solid silver;
			margin-left: 2px;
			margin-right: 2px;
			margin-bottom: 3px;
			padding-left: 9px;
			padding-right: 9px;
			padding-bottom: 2px;
		}
		
		span.majus
		{
			display: none;
		}
		
		span.altgr
		{
			display: none;
		}

		span.touchetop:active
		{
			border-left: 4px solid grey;
			border-top: 1px solid grey;
			border-right: 4px solid silver;
			border-bottom: 6px solid silver;
			margin-left: 2px;
			margin-right: 2px;
			margin-bottom: 3px;
			padding-left: 9px;
			padding-right: 9px;
			padding-bottom: 2px;
		}
		
		/*div
		{
			height: 250px;
		}*/
		&lt;/style&gt;
	&lt;/head&gt;
	&lt;body&gt;
		&lt;div&gt;&lt;textarea cols=&quot;80&quot; rows=&quot;25&quot; name=&quot;saisie&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;
		&lt;div&gt;
			&lt;p&gt;
			&lt;span class=&quot;touchetop&quot; onmousedown=&quot;javascript: taper('ECHAP');&quot;&gt;Esc&lt;/span&gt;&amp;#160;&lt;span class=&quot;touchetop&quot;&gt;F1 &lt;/span&gt;&lt;span class=&quot;touchetop&quot;&gt;F2 &lt;/span&gt;&lt;span class=&quot;touchetop&quot;&gt;F3 &lt;/span&gt;&lt;span class=&quot;touchetop&quot;&gt;F4 &lt;/span&gt;&amp;#160;&lt;span class=&quot;touchetop&quot;&gt;F5 &lt;/span&gt;&lt;span class=&quot;touchetop&quot;&gt;F6 &lt;/span&gt;&lt;span class=&quot;touchetop&quot;&gt;F7 &lt;/span&gt;&lt;span class=&quot;touchetop&quot;&gt;F8 &lt;/span&gt;&amp;#160;&lt;span class=&quot;touchetop&quot;&gt;F9 &lt;/span&gt;&lt;span class=&quot;touchetop&quot;&gt;F10&lt;/span&gt;&lt;span class=&quot;touchetop&quot;&gt;F11&lt;/span&gt;&lt;span class=&quot;touchetop&quot;&gt;F12&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;
			&lt;/P&gt;
			&lt;P&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('&amp;#178;');&quot;&gt;&amp;#178;&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('&amp;amp;');&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('1');&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('&amp;#233;');&quot;&gt;&amp;#233;&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('2');&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot; onmousedown=&quot;javascript: taper('&amp;#152;');&quot;&gt;&amp;#152;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('&amp;quot;');&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('3');&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot; onmousedown=&quot;javascript: taper('#');&quot;&gt;#&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('\'');&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('4');&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot; onmousedown=&quot;javascript: taper('{');&quot;&gt;{&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('(');&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('5');&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot; onmousedown=&quot;javascript: taper('[');&quot;&gt;[&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('-');&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('6');&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot; onmousedown=&quot;javascript: taper('|');&quot;&gt;|&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('&amp;#232;');&quot;&gt;&amp;#232;&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('7');&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot; onmousedown=&quot;javascript: taper('`');&quot;&gt;`&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('_');&quot;&gt;_&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('8');&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot; onmousedown=&quot;javascript: taper('\\');&quot;&gt;\&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('&amp;#231;');&quot;&gt;&amp;#231;&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('9');&quot;&gt;9&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot; onmousedown=&quot;javascript: taper('&amp;#136;');&quot;&gt;&amp;#136;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('&amp;#224;');&quot;&gt;&amp;#224;&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('0');&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot; onmousedown=&quot;javascript: taper('@');&quot;&gt;@&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper(')');&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('&amp;#176;');&quot;&gt;&amp;#176;&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot; onmousedown=&quot;javascript: taper(']');&quot;&gt;]&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('=');&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('+');&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot; onmousedown=&quot;javascript: taper('}');&quot;&gt;}&lt;/span&gt;
			&lt;span class=&quot;touche&quot; onmousedown=&quot;javascript: taper('BACKSPACE');&quot;&gt;Backspace&lt;/span&gt;
			&lt;/P&gt;
			&lt;P&gt;
			&lt;span class=&quot;touche&quot; onmousedown=&quot;javascript: taper('\t');&quot;&gt;Tab&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('a');&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('A');&quot;&gt;A&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('z');&quot;&gt;z&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('Z');&quot;&gt;Z&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('e');&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('E');&quot;&gt;E&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot; onmousedown=&quot;javascript: taper('&amp;euro;');&quot;&gt;&amp;euro;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('r');&quot;&gt;r&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('R');&quot;&gt;R&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('t');&quot;&gt;t&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('T');&quot;&gt;T&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('y');&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('Y');&quot;&gt;Y&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('u');&quot;&gt;u&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('U');&quot;&gt;U&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('i');&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('I');&quot;&gt;I&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('o');&quot;&gt;o&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('O');&quot;&gt;O&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('p');&quot;&gt;p&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('P');&quot;&gt;P&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('&amp;#136;');&quot;&gt;&amp;#136;&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('&amp;#168;');&quot;&gt;&amp;#168;&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('$');&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('&amp;#163;');&quot;&gt;&amp;#163;&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;curren;&lt;/span&gt;
			&lt;span class=&quot;touche&quot; onmousedown=&quot;javascript: taper('\n');&quot;&gt;Entr&amp;eacute;e&lt;/span&gt;
			&lt;/P&gt;
			&lt;P&gt;
			&lt;span class=&quot;touche&quot; id=&quot;verr&quot; onclick=&quot;javascript: clic_verr(true);&quot;&gt;Verr&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('q');&quot;&gt;q&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('Q');&quot;&gt;Q&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('s');&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('S');&quot;&gt;S&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('d');&quot;&gt;d&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('D');&quot;&gt;D&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('f');&quot;&gt;f&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('F');&quot;&gt;F&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('g');&quot;&gt;g&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('G');&quot;&gt;G&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('h');&quot;&gt;h&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('H');&quot;&gt;H&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('j');&quot;&gt;j&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('J');&quot;&gt;J&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('k');&quot;&gt;k&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('K');&quot;&gt;K&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('l');&quot;&gt;l&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('L');&quot;&gt;L&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('m');&quot;&gt;m&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('M');&quot;&gt;M&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('&amp;#249;');&quot;&gt;&amp;#249;&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('%');&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('*');&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('&amp;#181;');&quot;&gt;&amp;#181;&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;/P&gt;
			&lt;P&gt;
			&lt;span class=&quot;touche&quot; id=&quot;majg&quot; onclick=&quot;javascript: clic_maj(true);&quot;&gt;Maj&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('&amp;#139;');&quot;&gt;&amp;#139;&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('&amp;#155;');&quot;&gt;&amp;#155;&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('w');&quot;&gt;w&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('W');&quot;&gt;W&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: clic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('x');&quot;&gt;x&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('X');&quot;&gt;X&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('c');&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('C');&quot;&gt;C&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('v');&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('V');&quot;&gt;V&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('b');&quot;&gt;b&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('B');&quot;&gt;B&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('n');&quot;&gt;n&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('N');&quot;&gt;N&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper(',');&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('?');&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper(';');&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('.');&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper(':');&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('/');&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;minus&quot; onmousedown=&quot;javascript: taper('!');&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;majus&quot; onclick=&quot;javascript: clic_majus();&quot; onmousedown=&quot;javascript: taper('&amp;#167;');&quot;&gt;&amp;#167;&lt;/span&gt;&lt;span class=&quot;altgr&quot; onclick=&quot;javascript: declic_altgr();&quot;&gt;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;touche&quot; id=&quot;majd&quot; onclick=&quot;javascript: clic_maj(true);&quot;&gt;Maj&lt;/span&gt;
			&lt;/P&gt;
			&lt;P&gt;
			&lt;span class=&quot;touche&quot; onmousedown=&quot;javascript: taper('CONTROL');&quot;&gt;Ctrl&lt;/span&gt;
			&lt;span class=&quot;touche&quot; onmousedown=&quot;javascript: taper('SUPER');&quot;&gt;Win&lt;/span&gt;
			&lt;span class=&quot;touche&quot; onmousedown=&quot;javascript: taper('ALT');&quot;&gt;Alt&lt;/span&gt;
			&lt;span class=&quot;touche&quot; onmousedown=&quot;javascript: taper(' ');&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Espace&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;
			&lt;span class=&quot;touche&quot; onclick=&quot;javascript: clic_altgr();&quot;&gt;Alt Gr&lt;/span&gt;
			&lt;span class=&quot;touche&quot; onmousedown=&quot;javascript: taper('SUPER');&quot;&gt;Win&lt;/span&gt;
			&lt;span class=&quot;touche&quot; onmousedown=&quot;javascript: taper('MENU');&quot;&gt;Menu&lt;/span&gt;
			&lt;span class=&quot;touche&quot; onmousedown=&quot;javascript: taper('CONTROL');&quot;&gt;Ctrl&lt;/span&gt;
			&lt;/P&gt;
		&lt;/div&gt;
	&lt;/body&gt;
&lt;/html&gt;</pre> <a href="http://www.posteet.com/tags/clavier">[clavier]</a>  <a href="http://www.posteet.com/tags/clavier virtuel">[clavier virtuel]</a>  <a href="http://www.posteet.com/tags/css">[css]</a>  <a href="http://www.posteet.com/tags/javascript">[javascript]</a>  <a href="http://www.posteet.com/tags/touche">[touche]</a>  <a href="http://www.posteet.com/tags/touches">[touches]</a> ]]>        </description>
        <dc:creator>benoitbalon</dc:creator>
        <pubDate>Fri, 25 Jan 2008 09:05:27 +0000</pubDate>

            <category>clavier</category>
            <category>clavier virtuel</category>
            <category>css</category>
            <category>javascript</category>
            <category>touche</category>
            <category>touches</category>
    
    </item>

  
    <item>
        <title>Optional parameter in Javascript function and default value</title>
        <link>http://www.posteet.com/view/691</link>
        <description>
        <![CDATA[<pre>var myfunc = function(optional) {
  if (typeof optional == &quot;undefined&quot;) {
    optional = &quot;default value&quot;;
  }
  alert(optional);
}</pre> <a href="http://www.posteet.com/tags/function">[function]</a>  <a href="http://www.posteet.com/tags/javascript">[javascript]</a>  <a href="http://www.posteet.com/tags/optional">[optional]</a> ]]>        </description>
        <dc:creator>spirit</dc:creator>
        <pubDate>Fri, 25 Jan 2008 00:19:46 +0000</pubDate>

            <category>function</category>
            <category>javascript</category>
            <category>optional</category>
    
    </item>

  
    <item>
        <title>Comprueba que el NIF sea valido</title>
        <link>http://www.posteet.com/view/681</link>
        <description>
        <![CDATA[<pre>function nif_valido(campo)
{
abc=campo.value
nif=abc.substring(0,abc.length-1)
let=abc.charAt(abc.length-1)
if (!isNaN(let))
 {
  alert('El nif debe tener 8 digitos y una letra al final ')
  campo.focus()
  return false
 }
else
 {
  cadena=&quot;TRWAGMYFPDXBNJZSQVHLCKET&quot;
  posicion = nif % 23
  letra = cadena.substring(posicion,posicion+1)
  if (letra!=let.toUpperCase())
   {
    alert(&quot;NIF incorrecto.Revise la letra y no deje espacios. &quot;)
    campo.focus()
    return false
   }
 }

return(true)

}</pre> <a href="http://www.posteet.com/tags/formularios">[formularios]</a>  <a href="http://www.posteet.com/tags/javascript">[javascript]</a>  <a href="http://www.posteet.com/tags/validacion">[validacion]</a> ]]>        </description>
        <dc:creator>jacinmontava</dc:creator>
        <pubDate>Thu, 17 Jan 2008 13:16:03 +0000</pubDate>

            <category>formularios</category>
            <category>javascript</category>
            <category>validacion</category>
    
    </item>

  
    <item>
        <title>Mostrar / Ocultar una capa con JavaSctipt.</title>
        <link>http://www.posteet.com/view/637</link>
        <description>
        <![CDATA[<pre>// MOSTRAR - OCULTAR
	
function mostrarOcultar(id) {
	divID = document.getElementById(id);
	if(divID.style.display == &quot;&quot;)
		divID.style.display = &quot;none&quot;;
	else
		divID.style.display = &quot;&quot;;
}

// Enlace y Capa

&lt;a href=&quot;#&quot; onclick=&quot;mostrarOcultar('capa'); return false;&quot;&gt;Mostrar-Ocultar&lt;/a&gt;
&lt;div id=&quot;capa&quot; style=&quot;display: none;&quot;&gt;Contenido de la Capa.&lt;/div&gt;</pre> <a href="http://www.posteet.com/tags/css">[css]</a>  <a href="http://www.posteet.com/tags/dom">[dom]</a>  <a href="http://www.posteet.com/tags/html">[html]</a>  <a href="http://www.posteet.com/tags/javascript">[javascript]</a> ]]>        </description>
        <dc:creator>yasakani</dc:creator>
        <pubDate>Mon, 31 Dec 2007 06:16:54 +0000</pubDate>

            <category>css</category>
            <category>dom</category>
            <category>html</category>
            <category>javascript</category>
    
    </item>


</channel>
</rss>
