IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

JavaScript Discussion :

boucle qui s'arrête avec firefox


Sujet :

JavaScript

  1. #1
    Membre averti
    Profil pro
    Inscrit en
    Mars 2007
    Messages
    49
    Détails du profil
    Informations personnelles :
    Âge : 47
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Mars 2007
    Messages : 49
    Par défaut boucle qui s'arrête avec firefox
    bonjour

    j'ai développé (repiqué et amélioré) 3 fonctions qui permettent de faire clignoter des cellules en modifiant selon un timer la couleur de styles CSS.

    cela fonctionnait bien sous firefox ET IE , mais depuis que j'ai passé toutes les variables sous forme d'array, la boucle démarre et s'arrête après 5 cycles sous firefox ... je ne comprends pas ...

    voici le code si vous voulez voir à quoi ça ressemble : http://pastebin.ca/1303380

  2. #2
    Rédacteur/Modérateur

    Avatar de SpaceFrog
    Homme Profil pro
    Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Inscrit en
    Mars 2002
    Messages
    39 659
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 75
    Localisation : Royaume-Uni

    Informations professionnelles :
    Activité : Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2002
    Messages : 39 659
    Billets dans le blog
    1
    Par défaut
    C'est juste pour faire clignoter une cellule ???
    Quel est l'effet recherché, on peut certainement faire beaucoup plus simple ...
    et du coup crossbrowser !
    Ma page Developpez - Mon Blog Developpez
    Président du CCMPTP (Comité Contre le Mot "Problème" dans les Titres de Posts)
    Deux règles du succès: 1) Ne communiquez jamais à quelqu'un tout votre savoir...
    Votre post est résolu ? Alors n'oubliez pas le Tag

    Venez sur le Chat de Développez !

  3. #3
    Membre averti
    Profil pro
    Inscrit en
    Mars 2007
    Messages
    49
    Détails du profil
    Informations personnelles :
    Âge : 47
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Mars 2007
    Messages : 49
    Par défaut
    cela a l'air de t'étonner ... C'est pourtant très clair :

    on peut simplement animer des éléments html en citant leur ID, ok je sais.

    Ici il s'agit de faire du GENERIQUE : animer des classes CSS. Pas d'ID dans les balises html. Impossible de les citer nommément. Il FAUT parcourir tous les styles de la liste générée avec une boucle, et faire l'animation avec une autre boucle, alors oui ça a l'air lourd mais il faut saisir toute la portée de la chose ...

    je n'utilise pas d'id, mais des classes, et sur de gros tableaux, et j'anime simplement les classes, aucun id à gérer ...

    si tu connais une autre solution pour animer des styles CSS rien qu'avec leurs noms, je suis prenneur !!!

  4. #4
    Expert éminent

    Homme Profil pro
    Inscrit en
    Janvier 2007
    Messages
    13 474
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Isère (Rhône Alpes)

    Informations professionnelles :
    Secteur : Finance

    Informations forums :
    Inscription : Janvier 2007
    Messages : 13 474
    Par défaut
    Bonjour,
    je sais pas pour SpaceFrog, mais ce qui m'étonne moi, c'est que tu trouves un intérêt à ce genre de démarche (ne pas mettre d'id dans les balises html)
    D'une part parce qu'il n'y a pas besoin d'id pour faire ce que tu décris, et d'autres part car les id sont quasi obligatoires pour tout traitement à effectuer dans la page (et indiqué aussi pour le CSS dans certains cas).

    Alors se faire une obligation de s'en passer juste pour un artifice d'affichage, gérable simplement d'une autre manière, est un peu vain (et de plus en l'occurrence, hyper-lourd)

    A+

  5. #5
    Membre averti
    Profil pro
    Inscrit en
    Mars 2007
    Messages
    49
    Détails du profil
    Informations personnelles :
    Âge : 47
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Mars 2007
    Messages : 49
    Par défaut
    hmmmmmm

    alors là soit j'ai rien compris, soit je suis débile, soit ... tout le monde s'en fout de ce que j'ai pu imaginer ... remarquez je ne me vexe pas hein

    pré-requis :
    1) il s'agit de faire ressortir dans un tableau, certaines valeurs en les faisant clignoter

    génération :
    1) le tableau est bien sûr généré en PHP à partir d'un mysql_result
    2) un test sur les valeurs du tableau en PHP ajoute ou non une certaine classe dans le TD

    javascript :
    1) il faut animer les 2 ou 3 classes utilisées dans le tableau, point barre.

    Je ne vois pas OU ni COMMENT j'utiliserai des ID qui ne peuvent être génériques alors que les classes, si.
    En d'autres termes, si au lieu d'une classe j'ajoutais des ID aux balises TD contenant les valeurs à faire clignoter, heu et bien, comment javascript il saurait quels ID il faut animer ??
    Et puis les ID j'en utilise dans certains de mes tableaux pour supprimer ou modifier les valeurs des celllules donc c'est niet pour les ID.

    Ou alors j'envoie avec siddh ou ajax des listes d'ID à javascript en JSON ???

    Non sérieusement les amis là je ne vous suis plus du tout ... Comment aurais-je dû procéder selon vous ?

    Je suis prêt à tout recommencer (bien que j'ai déjà un résultat correct) pour respecter les normes en vigueur car le code pourri et lourdingue j'aime ça autant que vous ! Mais il faut me donner des pistes alors, et pas juste me dire que c'est nul ce que j'ai fait , vous voyez ce que je veux dire ?

  6. #6
    Membre chevronné
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Janvier 2005
    Messages
    357
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 63
    Localisation : Belgique

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : Conseil

    Informations forums :
    Inscription : Janvier 2005
    Messages : 357
    Par défaut
    Salut,
    juste pour signaler que ton code ne fonctionne pas non plus sur Opéra, Safari et Google Chrome. Comme quoi, tant qu'à faire compliqué ... mieux vaut utiliser du simple et portable que l'artillerie lourde.

  7. #7
    Rédacteur/Modérateur

    Avatar de SpaceFrog
    Homme Profil pro
    Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Inscrit en
    Mars 2002
    Messages
    39 659
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 75
    Localisation : Royaume-Uni

    Informations professionnelles :
    Activité : Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2002
    Messages : 39 659
    Billets dans le blog
    1
    Par défaut
    voici un exemple beaucoup plus leger :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
     
    <html>
    <head>
     
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
     
    <script type="text/javascript">
    function clignotte(mycell){
      	mycell.style.backgroundColor=(mycell.style.backgroundColor=='white')?'red':'white';
    		}
     
    function run(mycell){
     	if (mycell.active){mycell.active=(mycell.active=='true')?'false':'true';}
     	else{mycell.active='true';}
    	if(mycell.active=='true'){ 	mycell.flash=setInterval(function(){clignotte(mycell)},500);
    								}
    	else{ clearInterval(mycell.flash);
    	   mycell.style.backgroundColor='white';
    	   }
     }
     
     function populate(){
    	var TabCells=document.getElementById("mytable").getElementsByTagName('td');
     	var i=0;
     	while(TabCells[i]){
             if(TabCells[i].className=="cligno"){ TabCells[i].onclick=function(){run(this);}}
             i++;
             }
    	}
     
     
     </script>
    <style type="text/css">
      td {border:solid 1px black;
      width:100px;}
      </style>
     
     
    <title>Nouvelle page 1</title>
    </head>
     
    <body onload="populate()">
    <table id='mytable'>
     <tr>
     	<td>&nbsp;</td>
     	<td class="cligno">&nbsp;</td> 	
     	<td>&nbsp;</td>
     </tr>	
     <tr>
     	<td>&nbsp;</td>
     	<td class="cligno">&nbsp;</td> 	
     	<td>&nbsp;</td>
     </tr>	
     <tr>
     	<td>&nbsp;</td>
     	<td>&nbsp;</td> 	
     	<td>&nbsp;</td>
     </tr>	
     <tr>
     	<td>&nbsp;</td>
     	<td>&nbsp;</td> 	
     	<td>&nbsp;</td>
     </tr>	
    </table>
    </body>
     
     
     
    </html>
    dans ce code c'est au onclick que le clignottement commence et s'arrete...
    si tu veux que ce soit juste au demarrage

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
        if(TabCells[i].className=="cligno"){ run(TabCells[i])}
    et du coup la focntion peut se reduire comme suit

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    function run(mycell){
     		mycell.flash=setInterval(function(){clignotte(mycell)},500);
    	 }
     
     function populate(){
    	var TabCells=document.getElementById("mytable").getElementsByTagName('td');
     	var i=0;
     	while(TabCells[i]){
             if(TabCells[i].className=="cligno"){ run(TabCells[i])} //.onclick=function(){run(this);}}
             i++;
             }
    	}
     
     
     </script>
     
     </script>
    <style type="text/css">
      td {border:solid 1px black;
      width:100px;}
      </style>
     
     
    <title>Nouvelle page 1</title>
    </head>
     
    <body onload="populate()">
    <table id='mytable'>
     <tr>
     	<td>&nbsp;</td>
     	<td class="cligno">&nbsp;</td> 	
     	<td>&nbsp;</td>
     </tr>	
     <tr>
     	<td>&nbsp;</td>
     	<td class="cligno">&nbsp;</td> 	
     	<td>&nbsp;</td>
     </tr>	
     <tr>
     	<td>&nbsp;</td>
     	<td>&nbsp;</td> 	
     	<td>&nbsp;</td>
     </tr>	
     <tr>
     	<td>&nbsp;</td>
     	<td>&nbsp;</td> 	
     	<td>&nbsp;</td>
     </tr>	
    </table>
    </body>
    et pour le fun
    avec selection de couleur

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    function clignotte(mycell,couleur){
      	mycell.style.backgroundColor=(mycell.style.backgroundColor=='white')?couleur:'white';
    		}
     
    function run(mycell,couleur){
     		mycell.flash=setInterval(function(){clignotte(mycell,couleur)},500);
    	 }
     
     function populate(){
    	var TabCells=document.getElementById("mytable").getElementsByTagName('td');
     	var i=0;
     	while(TabCells[i]){
             if(TabCells[i].className.indexOf("cligno")==0){
                     Couleur=TabCells[i].className.replace('cligno','');
             			 run(TabCells[i],Couleur)} 
             i++;
             }
    	}
     
     
     </script>
     
     </script>
    <style type="text/css">
      td {border:solid 1px black;
      width:100px;}
      </style>
     
     
    <title>Nouvelle page 1</title>
    </head>
     
    <body onload="populate()">
    <table id='mytable'>
     <tr>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td>&nbsp;</td>
     </tr>	
     <tr>
     	<td class="clignoyellow">&nbsp;</td>
     	<td class="clignoblue">&nbsp;</td> 	
     	<td>&nbsp;</td>
     </tr>	
     <tr>
     	<td>&nbsp;</td>
     	<td class="cligno#EEFFCC">&nbsp;</td> 	
     	<td>&nbsp;</td>
     </tr>	
     <tr>
     	<td class="clignosalmon">&nbsp;</td>
     	<td>&nbsp;</td> 	
     	<td class="cligno#FF0000">&nbsp;</td>
     </tr>	
    </table>
    </body>
    Je sasi pas pourquoi j'ai l'impression de réinventer JQuery ou scriptaculous ^^
    Ma page Developpez - Mon Blog Developpez
    Président du CCMPTP (Comité Contre le Mot "Problème" dans les Titres de Posts)
    Deux règles du succès: 1) Ne communiquez jamais à quelqu'un tout votre savoir...
    Votre post est résolu ? Alors n'oubliez pas le Tag

    Venez sur le Chat de Développez !

  8. #8
    Rédacteur/Modérateur

    Avatar de SpaceFrog
    Homme Profil pro
    Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Inscrit en
    Mars 2002
    Messages
    39 659
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 75
    Localisation : Royaume-Uni

    Informations professionnelles :
    Activité : Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2002
    Messages : 39 659
    Billets dans le blog
    1
    Par défaut
    Ce qu'il y a de très fort avec ce code est la permissivité au niveau de la syntaxe de la couleur ...

    j'ai testé les codes suivants:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
     
    	<td class="clignosalmon">&nbsp;</td>
     	<td  class="clignorgb(10,230,80)">&nbsp;</td> 	
     	<td class="cligno#FF0000">&nbsp;</td>
    et il fonctionnent tous !!!!
    Ma page Developpez - Mon Blog Developpez
    Président du CCMPTP (Comité Contre le Mot "Problème" dans les Titres de Posts)
    Deux règles du succès: 1) Ne communiquez jamais à quelqu'un tout votre savoir...
    Votre post est résolu ? Alors n'oubliez pas le Tag

    Venez sur le Chat de Développez !

  9. #9
    Expert éminent

    Homme Profil pro
    Inscrit en
    Janvier 2007
    Messages
    13 474
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Isère (Rhône Alpes)

    Informations professionnelles :
    Secteur : Finance

    Informations forums :
    Inscription : Janvier 2007
    Messages : 13 474
    Par défaut
    Jolie solution

  10. #10
    Membre chevronné
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Janvier 2005
    Messages
    357
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 63
    Localisation : Belgique

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : Conseil

    Informations forums :
    Inscription : Janvier 2005
    Messages : 357
    Par défaut
    SpaceFrog++

  11. #11
    Rédacteur

    Avatar de Bovino
    Homme Profil pro
    Développeur Web
    Inscrit en
    Juin 2008
    Messages
    23 647
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 54
    Localisation : France, Gironde (Aquitaine)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2008
    Messages : 23 647
    Billets dans le blog
    20
    Par défaut
    Je sais pas pourquoi j'ai l'impression de réinventer JQuery ou scriptaculous ^^
    Non, ce que tu fais est beaucoup mieux
    Pas de question technique par MP !
    Tout le monde peut participer à developpez.com, vous avez une idée, contactez-moi !
    Mes formations video2brain : La formation complète sur JavaScriptJavaScript et le DOM par la pratiquePHP 5 et MySQL : les fondamentaux
    Mon livre sur jQuery
    Module Firefox / Chrome d'intégration de JSFiddle et CodePen sur le forum

  12. #12
    Rédacteur/Modérateur

    Avatar de SpaceFrog
    Homme Profil pro
    Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Inscrit en
    Mars 2002
    Messages
    39 659
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 75
    Localisation : Royaume-Uni

    Informations professionnelles :
    Activité : Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2002
    Messages : 39 659
    Billets dans le blog
    1
    Par défaut
    Non, ce que tu fais est beaucoup mieux
    Je n'aurais pas cette prétention
    Ma page Developpez - Mon Blog Developpez
    Président du CCMPTP (Comité Contre le Mot "Problème" dans les Titres de Posts)
    Deux règles du succès: 1) Ne communiquez jamais à quelqu'un tout votre savoir...
    Votre post est résolu ? Alors n'oubliez pas le Tag

    Venez sur le Chat de Développez !

  13. #13
    Membre averti
    Profil pro
    Inscrit en
    Mars 2007
    Messages
    49
    Détails du profil
    Informations personnelles :
    Âge : 47
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Mars 2007
    Messages : 49
    Par défaut
    ^^ ahhhhhhhh là d'accord ... dans ce cas je peux utiliser dojo et compagnie ...

    bah vu comme ça d'accord : ça fait à peu près ce que j'attendais, le fading en moins, le CSS en moins... ET y'a un ID que pour la table, pas pour les TD, ok cool

    D'après ce que je comprends populate() est lancée une seule fois puis lance autant de fonction run() que de cellules concernées... Hm on peut alors réintroduire le fading ... à la mano en réduisant L'Interval ou avec dojo peut être... je vais voir ça !

    mais je suis d'accord grâce à cette méthode, c'est cross compatible !

    N'empêche ce que j'ai fait n'est pas si lourd, je ne parcourais les listes de styles qu'une seule fois après tout ... et puis changer 3 styles toutes les 40ms c'est pas si lourd non plus , si ?

    bref bref bref ... qu'est-ce qui n'allait pas dans mon code mince alors ! les array ? pourquoi ça marche avec IE et pas les autres ? Ils sont incapables d'opérer des changements rapides de styles ?


    en tous les cas MERCI pour cet autre point de vue, j'aurais vu les 2 méthodes comme ça

  14. #14
    Rédacteur/Modérateur

    Avatar de SpaceFrog
    Homme Profil pro
    Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Inscrit en
    Mars 2002
    Messages
    39 659
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 75
    Localisation : Royaume-Uni

    Informations professionnelles :
    Activité : Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2002
    Messages : 39 659
    Billets dans le blog
    1
    Par défaut
    pour le coup du fade on pourrait imaginer de coup deu slide d'un background image ...
    Ma page Developpez - Mon Blog Developpez
    Président du CCMPTP (Comité Contre le Mot "Problème" dans les Titres de Posts)
    Deux règles du succès: 1) Ne communiquez jamais à quelqu'un tout votre savoir...
    Votre post est résolu ? Alors n'oubliez pas le Tag

    Venez sur le Chat de Développez !

  15. #15
    Membre averti
    Profil pro
    Inscrit en
    Mars 2007
    Messages
    49
    Détails du profil
    Informations personnelles :
    Âge : 47
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Mars 2007
    Messages : 49
    Par défaut
    ok alors pour les class au lieu des couleurs ton code donne ceci :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
     
    function clignotte(mycell,Class){
      	mycell.className=(mycell.className=='Blank')?Class:'Blank';
    		}
     
    function run(mycell,Class){
     		mycell.flash=setInterval(function(){clignotte(mycell,Class)},500);
    	 }
     
     function populate(TABLE){
    	var TabCells=document.getElementById(TABLE).getElementsByTagName('td');
     	var i=0;
     	while(TabCells[i]){
             if(TabCells[i].className.indexOf("cligno")==0){
                     Class=TabCells[i].className.replace('cligno','');
             			 run(TabCells[i],Class)} 
             i++;
             }
    	}
    on m'a appris à séparer le spécifique du générique, i.e. la décoration du code de l'applicatif, donc avec les class c'est encore plus la class ...

    mirki encore !

  16. #16
    Rédacteur/Modérateur

    Avatar de SpaceFrog
    Homme Profil pro
    Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Inscrit en
    Mars 2002
    Messages
    39 659
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 75
    Localisation : Royaume-Uni

    Informations professionnelles :
    Activité : Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2002
    Messages : 39 659
    Billets dans le blog
    1
    Par défaut
    juste une limite à ce script telquel, si l'on a beaucoup de cellules:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    702
    703
    704
    function clignotte(mycell,couleur){
      	mycell.style.backgroundColor=(mycell.style.backgroundColor=='white')?couleur:'white';
    		}
     
    function run(mycell,couleur){
     		mycell.flash=setInterval(function(){new clignotte(mycell,couleur)},500);
    	 }
     
     function populate(){
    	var TabCells=document.getElementById("mytable").getElementsByTagName('td');
     	var i=0;
     	while(TabCells[i]){
             if(TabCells[i].className.indexOf("cligno")==0){
                     Couleur=TabCells[i].className.replace('cligno','');
             			 new run(TabCells[i],Couleur)} 
             i++;
             }
    	}
     
     
     </script>
     
     </script>
    <style type="text/css">
      td {border:solid 1px black;
      width:10px;}
      </style>
     
     
    <title>Nouvelle page 1</title>
    </head>
     
    <body onload="populate()">
    <table id='mytable'>
     <tr>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="cligno#EEE8AA">&nbsp;</td>
     	<td class="cligno#87CEEB">&nbsp;</td> 	
     	<td class="cligno#DC143C">&nbsp;</td>
     	<td class="cligno#F0FFFF">&nbsp;</td>
     	<td class="cligno#FDF5E6">&nbsp;</td> 	
     	<td class="cligno#000080">&nbsp;</td>
     	<td class="cligno#20B2AA">&nbsp;</td>
     	<td class="cligno#9ACD32">&nbsp;</td> 	
     	<td class="cligno#00CED1">&nbsp;</td>
    	<td class="cligno#FF7F50">&nbsp;</td>
     	<td class="cligno#F4A460">&nbsp;</td> 	
     	<td class="cligno#808000">&nbsp;</td>
     	<td class="clignorgb(1,0,120)">&nbsp;</td>
     	<td class="clignorgb(1,0,120)">&nbsp;</td> 	
     	<td class="clignorgb(1,0,120)">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     </tr>	
     <tr>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="cligno#EEE8AA">&nbsp;</td>
     	<td class="cligno#87CEEB">&nbsp;</td> 	
     	<td class="cligno#DC143C">&nbsp;</td>
     	<td class="cligno#F0FFFF">&nbsp;</td>
     	<td class="cligno#FDF5E6">&nbsp;</td> 	
     	<td class="cligno#000080">&nbsp;</td>
     	<td class="cligno#20B2AA">&nbsp;</td>
     	<td class="cligno#9ACD32">&nbsp;</td> 	
     	<td class="cligno#00CED1">&nbsp;</td>
    	<td class="cligno#FF7F50">&nbsp;</td>
     	<td class="cligno#F4A460">&nbsp;</td> 	
     	<td class="cligno#808000">&nbsp;</td>
     </tr>	
     <tr>
     	<td class="clignorgb(1,0,120)">&nbsp;</td>
     	<td class="clignorgb(1,0,120)">&nbsp;</td> 	
     	<td class="clignorgb(1,0,120)">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     </tr>	
     <tr>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="cligno#EEE8AA">&nbsp;</td>
     	<td class="cligno#87CEEB">&nbsp;</td> 	
     	<td class="cligno#DC143C">&nbsp;</td>
     	<td class="cligno#F0FFFF">&nbsp;</td>
     	<td class="cligno#FDF5E6">&nbsp;</td> 	
     	<td class="cligno#000080">&nbsp;</td>
     	<td class="cligno#20B2AA">&nbsp;</td>
     	<td class="cligno#9ACD32">&nbsp;</td> 	
     	<td class="cligno#00CED1">&nbsp;</td>
    	<td class="cligno#FF7F50">&nbsp;</td>
     	<td class="cligno#F4A460">&nbsp;</td> 	
     	<td class="cligno#808000">&nbsp;</td>
      	<td class="clignorgb(1,0,120)">&nbsp;</td>
     	<td class="clignorgb(1,0,120)">&nbsp;</td> 	
     	<td class="clignorgb(1,0,120)">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     </tr>	
     <tr>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     </tr>	
      <tr>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="cligno#EEE8AA">&nbsp;</td>
     	<td class="cligno#87CEEB">&nbsp;</td> 	
     	<td class="cligno#DC143C">&nbsp;</td>
     	<td class="cligno#F0FFFF">&nbsp;</td>
     	<td class="cligno#FDF5E6">&nbsp;</td> 	
     	<td class="cligno#000080">&nbsp;</td>
     	<td class="cligno#20B2AA">&nbsp;</td>
     	<td class="cligno#9ACD32">&nbsp;</td> 	
     	<td class="cligno#00CED1">&nbsp;</td>
    	<td class="cligno#FF7F50">&nbsp;</td>
     	<td class="cligno#F4A460">&nbsp;</td> 	
     	<td class="cligno#808000">&nbsp;</td>
     	<td class="clignorgb(1,0,120)">&nbsp;</td>
     	<td class="clignorgb(1,0,120)">&nbsp;</td> 	
     	<td class="clignorgb(1,0,120)">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     </tr>	
     <tr>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="cligno#EEE8AA">&nbsp;</td>
     	<td class="cligno#87CEEB">&nbsp;</td> 	
     	<td class="cligno#DC143C">&nbsp;</td>
     	<td class="cligno#F0FFFF">&nbsp;</td>
     	<td class="cligno#FDF5E6">&nbsp;</td> 	
     	<td class="cligno#000080">&nbsp;</td>
     	<td class="cligno#20B2AA">&nbsp;</td>
     	<td class="cligno#9ACD32">&nbsp;</td> 	
     	<td class="cligno#00CED1">&nbsp;</td>
    	<td class="cligno#FF7F50">&nbsp;</td>
     	<td class="cligno#F4A460">&nbsp;</td> 	
     	<td class="cligno#808000">&nbsp;</td>
     	<td class="clignorgb(1,0,120)">&nbsp;</td>
     	<td class="clignorgb(1,0,120)">&nbsp;</td> 	
     	<td class="clignorgb(1,0,120)">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     </tr>	
     <tr>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="cligno#EEE8AA">&nbsp;</td>
     	<td class="cligno#87CEEB">&nbsp;</td> 	
     	<td class="cligno#DC143C">&nbsp;</td>
     	<td class="cligno#F0FFFF">&nbsp;</td>
     	<td class="cligno#FDF5E6">&nbsp;</td> 	
     	<td class="cligno#000080">&nbsp;</td>
     	<td class="cligno#20B2AA">&nbsp;</td>
     	<td class="cligno#9ACD32">&nbsp;</td> 	
     	<td class="cligno#00CED1">&nbsp;</td>
    	<td class="cligno#FF7F50">&nbsp;</td>
     	<td class="cligno#F4A460">&nbsp;</td> 	
     	<td class="cligno#808000">&nbsp;</td>
     </tr>	
     <tr>
     	<td class="clignorgb(1,0,120)">&nbsp;</td>
     	<td class="clignorgb(1,0,120)">&nbsp;</td> 	
     	<td class="clignorgb(1,0,120)">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignored">&nbsp;</td> 	
     	<td class="clignobrown">&nbsp;</td>
     	<td class="clignogreen">&nbsp;</td>
     	<td class="clignoaqua">&nbsp;</td> 	
     	<td class="clignomagenta">&nbsp;</td>
     	<td class="clignoorange">&nbsp;</td>
     	<td class="clignogold">&nbsp;</td> 	
     	<td class="clignogreenyellow">&nbsp;</td>
    	<td class="clignohotpink">&nbsp;</td>
     	<td class="clignoindigo">&nbsp;</td> 	
     	<td class="clignolime">&nbsp;</td>
     </tr>	
    <!--  .../... -->
    </table>
    </body>
    </html>
    Coment remédier au décallage ?
    Ma page Developpez - Mon Blog Developpez
    Président du CCMPTP (Comité Contre le Mot "Problème" dans les Titres de Posts)
    Deux règles du succès: 1) Ne communiquez jamais à quelqu'un tout votre savoir...
    Votre post est résolu ? Alors n'oubliez pas le Tag

    Venez sur le Chat de Développez !

  17. #17
    Membre averti
    Profil pro
    Inscrit en
    Mars 2007
    Messages
    49
    Détails du profil
    Informations personnelles :
    Âge : 47
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Mars 2007
    Messages : 49
    Par défaut
    je suis obligé de connaître à l'avance le nom de la table ?

    j'utilise des templates pour le header et tout ça, et les noms de tables sont différents selon ce qu'on choisi d'afficher, et je ne peux pas mettre le onLoad() ailleurs que dans body...

    comment je peux déclencher populate() une fois la table générée en php ?

  18. #18
    Rédacteur/Modérateur

    Avatar de SpaceFrog
    Homme Profil pro
    Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Inscrit en
    Mars 2002
    Messages
    39 659
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 75
    Localisation : Royaume-Uni

    Informations professionnelles :
    Activité : Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2002
    Messages : 39 659
    Billets dans le blog
    1
    Par défaut
    tu as plusieurs tables sur la page ???

    si tu n'en a qu'une:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    document.getElementByTagName('table')[0]
    Ma page Developpez - Mon Blog Developpez
    Président du CCMPTP (Comité Contre le Mot "Problème" dans les Titres de Posts)
    Deux règles du succès: 1) Ne communiquez jamais à quelqu'un tout votre savoir...
    Votre post est résolu ? Alors n'oubliez pas le Tag

    Venez sur le Chat de Développez !

  19. #19
    Membre averti
    Profil pro
    Inscrit en
    Mars 2007
    Messages
    49
    Détails du profil
    Informations personnelles :
    Âge : 47
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Mars 2007
    Messages : 49
    Par défaut
    Citation Envoyé par SpaceFrog Voir le message
    juste une limite à ce script telquel, si l'on a beaucoup de cellules:

    Coment remédier au décallage ?
    hahaaaaa c'est rigolo sous IE ... on dirait un jeu ...
    Sous ff pas de décallage

  20. #20
    Rédacteur/Modérateur

    Avatar de SpaceFrog
    Homme Profil pro
    Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Inscrit en
    Mars 2002
    Messages
    39 659
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 75
    Localisation : Royaume-Uni

    Informations professionnelles :
    Activité : Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2002
    Messages : 39 659
    Billets dans le blog
    1
    Par défaut
    encore plus drole :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
     		mycell.flash=setInterval(function(){new clignotte(mycell,couleur)},Math.random()*500);
    avec
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
           Couleur="RGB("+Math.round(Math.random()*255,0)+","+Math.round(Math.random()*255,0)+","+Math.round(Math.random()*255,0)+")"
    Ma page Developpez - Mon Blog Developpez
    Président du CCMPTP (Comité Contre le Mot "Problème" dans les Titres de Posts)
    Deux règles du succès: 1) Ne communiquez jamais à quelqu'un tout votre savoir...
    Votre post est résolu ? Alors n'oubliez pas le Tag

    Venez sur le Chat de Développez !

+ Répondre à la discussion
Cette discussion est résolue.
Page 1 sur 2 12 DernièreDernière

Discussions similaires

  1. Infobulle qui se décale avec Firefox
    Par nico44530 dans le forum Mise en page CSS
    Réponses: 1
    Dernier message: 21/09/2012, 11h20
  2. Boucle avec tempo qui s'arrête a minuit
    Par thedjtony dans le forum Macros et VBA Excel
    Réponses: 3
    Dernier message: 02/04/2008, 23h35
  3. Horloge BIOS qui s'arrête avec le PC
    Par fenkys dans le forum Composants
    Réponses: 3
    Dernier message: 04/12/2007, 18h53
  4. Réponses: 1
    Dernier message: 12/01/2007, 11h20
  5. [VBA-E]une boucle qui ne s'arrète pas
    Par vivelesgnous dans le forum Macros et VBA Excel
    Réponses: 8
    Dernier message: 15/02/2006, 18h05

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo