Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| playground:rtdp [19/01/2012 15:01] – r-ml | playground:rtdp [31/01/2012 01:56] (Version actuelle) – r-ml | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| < | < | ||
| - | <style type=" | ||
| - | .clicTitre | ||
| - | { | ||
| - | border-color: | ||
| - | border-top: 1px solid; | ||
| - | border-left: | ||
| - | border-right: | ||
| - | border-bottom: | ||
| - | background-color: | ||
| - | } | ||
| - | .clicCacher | ||
| - | { | ||
| - | top: -20px; | ||
| - | position: relative; | ||
| - | text-align: | ||
| - | } | ||
| - | .contenant | + | < |
| - | { | + | .infobulle{ |
| - | | + | position: absolute; |
| - | border: 1px solid #000000; | + | visibility : hidden; |
| - | } | + | border: 1px solid Black; |
| - | </ | + | padding: |
| + | font-family: | ||
| + | font-size: | ||
| + | background-color: | ||
| + | } | ||
| + | </style> | ||
| + | |||
| + | < | ||
| + | function GetId(id) | ||
| + | { | ||
| + | return document.getElementById(id); | ||
| + | } | ||
| + | var i=false; | ||
| + | function move(e) { | ||
| + | if(i) { | ||
| + | if (navigator.appName!=" | ||
| + | GetId(" | ||
| + | GetId(" | ||
| + | } | ||
| + | else { | ||
| + | if(document.documentElement.clientWidth> | ||
| + | GetId(" | ||
| + | GetId(" | ||
| + | } | ||
| + | else { | ||
| + | GetId(" | ||
| + | GetId(" | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | |||
| + | function montre(text) { | ||
| + | if(i==false) { | ||
| + | GetId(" | ||
| + | GetId(" | ||
| + | i=true; | ||
| + | } | ||
| + | } | ||
| + | function cache() { | ||
| + | if(i==true) { | ||
| + | GetId(" | ||
| + | i=false; | ||
| + | } | ||
| + | } | ||
| + | document.onmousemove=move; | ||
| + | </ | ||
| - | <script> | + | <div id=" |
| - | function afficheId(baliseId) | + | |
| - | { | + | |
| - | if (document.getElementById && document.getElementById(baliseId) != null) | + | |
| - | { | + | |
| - | document.getElementById(baliseId).style.visibility=' | + | |
| - | document.getElementById(baliseId).style.display=' | + | |
| - | } | + | |
| - | } | + | |
| - | function cacheId(baliseId) | + | <p onmouseover=" |
| - | { | + | |
| - | if (document.getElementById && document.getElementById(baliseId) | + | |
| - | { | + | |
| - | document.getElementById(baliseId).style.visibility=' | + | |
| - | document.getElementById(baliseId).style.display=' | + | |
| - | } | + | |
| - | } | + | |
| - | cacheId(' | ||
| - | // si JavaScript est disponible, cache le contenu dès le | ||
| - | // chargement de la page. Sans JavaScript, le contenu sera | ||
| - | // affiché. | ||
| - | </ | ||
| - | <div class=" | ||
| - | <a href=" | ||
| - | </ | ||
| - | <div class=" | ||
| - | <div class=" | ||
| - | <a href=" | ||
| - | </ | ||
| - | Xavier Borderie< | ||
| - | Rédacteur Nouvelles Technologies< | ||
| - | <br> | ||
| - | Journal Du Net Développeurs / Benchmark Group <br> | ||
| - | 4, rue Diderot <br> | ||
| - | 92156 Suresnes CEDEX <br> | ||
| - | <a href=" | ||
| - | </ | ||
| - | |||
| - | |||
| - | <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> | ||
| - | < | ||
| - | |||
| - | < | ||
| - | <td>_ <input type=" | ||
| - | < | ||
| - | |||
| - | < | ||
| - | <td>_ <input type=" | ||
| - | < | ||
| - | |||
| - | < | ||
| - | <td>_ <input type=" | ||
| - | < | ||
| - | |||
| - | < | ||
| - | <td>_ <input type=" | ||
| - | < | ||
| - | |||
| - | < | ||
| - | <td>_ <input type=" | ||
| - | < | ||
| - | |||
| - | < | ||
| - | <td>_ <input type=" | ||
| - | < | ||
| - | |||
| - | < | ||
| - | <td>_ <input type=" | ||
| - | < | ||
| - | |||
| - | < | ||
| - | <td>_ <input type=" | ||
| - | < | ||
| - | |||
| - | </ | ||
| </ | </ | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | < | ||
| - | |||
| - | < | ||
| - | |||
| - | |||
| - | <form name=" | ||
| - | < | ||
| - | function total() { if ((un.checked==true)) {alert(" | ||
| - | <input type=" | ||
| - | |||
| - | |||
| - | <form name=" | ||
| - | < | ||
| - | function total() { if ((deux.checked==true)) {alert(" | ||
| - | <input type=" | ||
| - | |||
| - | |||
| - | </ | ||
| - | </ | ||
| - | |||
| - | |||
| - | |||
| - | http:// | ||