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 :

[JS + CSS] Onmouseover sur div marche pas sur ie6


Sujet :

JavaScript

  1. #1
    Futur Membre du Club
    Inscrit en
    Mars 2008
    Messages
    7
    Détails du profil
    Informations forums :
    Inscription : Mars 2008
    Messages : 7
    Points : 5
    Points
    5
    Par défaut [JS + CSS] Onmouseover sur div marche pas sur ie6
    Bonjour,

    Voilà, j'ai ce petit bout de code :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
     
    <div onmouseover="document.getElementById('zoom').style.visibility='visible';" onmouseout="document.getElementById('zoom').style.visibility='hidden';" style="font-size:9px;width:90px;margin-left:70px;cursor:pointer;text-decoration:underline;">
    	Agrandir la photo
    </div>
    qui fonctionne parfaitement sur firefox et pas sur ie6. Même la petite partie css n'est pas interprétée.
    D'après vous, quel est le problème ? Je ne comprends pas bien car j'ai un code similaire sur une autre page et il fonctionne.

    Merci d'avance

  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 640
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 74
    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 640
    Points : 66 669
    Points
    66 669
    Billets dans le blog
    1
    Par défaut
    le style visibility est il défini par defaut dans la balise ?

    on peut voir le html de la balise visée ?
    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
    Expert confirmé
    Avatar de le_chomeur
    Profil pro
    Développeur informatique
    Inscrit en
    Février 2006
    Messages
    3 653
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Février 2006
    Messages : 3 653
    Points : 4 835
    Points
    4 835
    Par défaut
    étrange , je ne vois pas d'erreur , testé sous FF et ie7 cela fonctionne
    remplace la div par un lien sous ie6 ( au cas ou ... )
    mais peut-être une erreur en amont ...
    est ton ami fait gagner du temps à ceux qui aident , donc un message avec la balise résolu laisse plus de temps pour résoudre d'autres problèmes

    Premier ministre du CCMPTP (Comité Contre le Mot "Problème" dans les Titres de Posts )

  4. #4
    Futur Membre du Club
    Inscrit en
    Mars 2008
    Messages
    7
    Détails du profil
    Informations forums :
    Inscription : Mars 2008
    Messages : 7
    Points : 5
    Points
    5
    Par défaut
    Citation Envoyé par SpaceFrog Voir le message
    le style visibility est il défini par defaut dans la balise ?

    on peut voir le html de la balise visée ?
    Oui bien sûr le voilà

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
     
    <div id="zoom" class="photo_grande">
    	<img src="<?php echo $this->imgDir; ?>chiens/<?php echo $nomChien.$this->chienCourant->getId(); ?>_grande.jpg" alt=""/>
    </div>
    avec le css de la classe "photo_grande" :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
     
    .photo_grande {
    	position:absolute;
    	margin-top:-18px;
    	margin-left:60px;
    	width:500px;
    	height:338px;
    	visibility:hidden;
    	z-index:500;
    	}
    Citation Envoyé par le_chomeur
    étrange , je ne vois pas d'erreur , testé sous FF et ie7 cela fonctionne
    remplace la div par un lien sous ie6 ( au cas ou ... )
    mais peut-être une erreur en amont ...
    Oui j'y ai pensé mais je n'ai rien trouvé.
    J'ai testé avec un span au lieu d'un div (j'utilise un span à un autre endroit et ça fonctionne), mais ça n'a pas marché non plus...

  5. #5
    Expert éminent sénior

    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
    Points : 36 571
    Points
    36 571
    Par défaut
    Bonjour,
    tu n'aurais pas plusieurs éléments avec id='zoom' dans cette page, ou un autre élément ayant un name='zoom' ?
    (IE6 est "un peu light" sur la distinction id/name )

    A+
    Pour tout savoir sur l'utilisation du forum

    En postant votre message, n'oubliez pas les Règles du Club.

  6. #6
    Membre éprouvé Avatar de shaun_the_sheep
    Homme Profil pro
    Chef de projet NTIC
    Inscrit en
    Octobre 2004
    Messages
    1 619
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Chef de projet NTIC
    Secteur : Enseignement

    Informations forums :
    Inscription : Octobre 2004
    Messages : 1 619
    Points : 996
    Points
    996
    Par défaut
    Salut,

    Testé sous ie6. cela fonction bien. Et avec document.getElementById('zoom').style.display=''; ou document.getElementById('zoom').style.display='none'; ?

    c'est pareil ?

  7. #7
    Futur Membre du Club
    Inscrit en
    Mars 2008
    Messages
    7
    Détails du profil
    Informations forums :
    Inscription : Mars 2008
    Messages : 7
    Points : 5
    Points
    5
    Par défaut
    Bon, j'ai essayé toutes vos idées ça n'a pas fonctionné... A force de tester des choses et modifier mon code, j'en suis arrivé à mettre mon bloc div en dehors de ses div parents, et ça fonctionne en laissant le javascript et le css tel quel...

    Je ne comprends pas bien pourquoi, mais au moins ça marche

    Si quelqu'un a une explication...

    En tout cas merci pour votre aide et votre réactivité !

  8. #8
    Expert confirmé
    Avatar de le_chomeur
    Profil pro
    Développeur informatique
    Inscrit en
    Février 2006
    Messages
    3 653
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Février 2006
    Messages : 3 653
    Points : 4 835
    Points
    4 835
    Par défaut
    donne nous le contexte ( tout le code autour )
    est ton ami fait gagner du temps à ceux qui aident , donc un message avec la balise résolu laisse plus de temps pour résoudre d'autres problèmes

    Premier ministre du CCMPTP (Comité Contre le Mot "Problème" dans les Titres de Posts )

  9. #9
    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 640
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 74
    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 640
    Points : 66 669
    Points
    66 669
    Billets dans le blog
    1
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    document.getElementById('zoom').style.visibility='visible !important';"
    a tout hasard ???
    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 !

  10. #10
    Expert confirmé
    Avatar de le_chomeur
    Profil pro
    Développeur informatique
    Inscrit en
    Février 2006
    Messages
    3 653
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Février 2006
    Messages : 3 653
    Points : 4 835
    Points
    4 835
    Par défaut
    heuu sauf erreur de ma part, le !important , n'est pris en compte que dans une classse css spaffy pas directement via une propriété css affectées en javascript, a vérifier
    est ton ami fait gagner du temps à ceux qui aident , donc un message avec la balise résolu laisse plus de temps pour résoudre d'autres problèmes

    Premier ministre du CCMPTP (Comité Contre le Mot "Problème" dans les Titres de Posts )

  11. #11
    Expert éminent sénior

    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
    Points : 36 571
    Points
    36 571
    Par défaut
    Citation Envoyé par le_chomeur Voir le message
    heuu sauf erreur de ma part, le !important , n'est pris en compte que dans une classse css spaffy pas directement via une propriété css affectées en javascript, a vérifier
    +1

    Pas forcément dans une class, mais en CSS pur en tous cas ...

    A+
    Pour tout savoir sur l'utilisation du forum

    En postant votre message, n'oubliez pas les Règles du Club.

  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 640
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 74
    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 640
    Points : 66 669
    Points
    66 669
    Billets dans le blog
    1
    Par défaut
    Je sasi fillot, mais je ne suis pa un petit bras ...
    qui ne tente rien n'a rien ...
    petit joueur ...
    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
    Expert confirmé
    Avatar de le_chomeur
    Profil pro
    Développeur informatique
    Inscrit en
    Février 2006
    Messages
    3 653
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Février 2006
    Messages : 3 653
    Points : 4 835
    Points
    4 835
    Par défaut
    mdrrrrr alors toi ^^


    ebz :
    Pas forcément dans une class, mais en CSS pur en tous cas ..
    oui c'est ce que je voulais dire, mais mal exprimé
    est ton ami fait gagner du temps à ceux qui aident , donc un message avec la balise résolu laisse plus de temps pour résoudre d'autres problèmes

    Premier ministre du CCMPTP (Comité Contre le Mot "Problème" dans les Titres de Posts )

  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 640
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 74
    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 640
    Points : 66 669
    Points
    66 669
    Billets dans le blog
    1
    Par défaut
    cssText ...
    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
    Futur Membre du Club
    Inscrit en
    Mars 2008
    Messages
    7
    Détails du profil
    Informations forums :
    Inscription : Mars 2008
    Messages : 7
    Points : 5
    Points
    5
    Par défaut
    Citation Envoyé par le_chomeur Voir le message
    donne nous le contexte ( tout le code autour )
    Le voilà ^^

    La page qui ne fonctionne pas :
    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
     
    <?php echo $this->render('header.phtml'); ?>
     
    <script type="text/javascript">
    <!--
    	function setOn(id) {
    		document.getElementById(id).className = 'ligneover';
    	}
     
    	function setOff(id) {
    		document.getElementById(id).className = 'ligneout';
    	}
    -->
    </script>
     
    <div class="page">
    	<div class="arrondi">
    		<div class="arrondi-un"></div>
    		<div class="arrondi-deux"></div>
    		<div class="arrondi-trois"></div>
    		<div class="arrondi-quatre"></div>
    		<div class="content">
    			<a href="/index/index"><div id="banniere"></div></a>
     
    			<?php echo $this->render('menu.phtml'); ?>
    			<div class="big_widget">
    				<div id="big_widget_chiens"></div>
    				<div class="big_widget_content">
    					<form name="formAdherent" action="chiens#tag" method="post">
     
    						<div class="liste_chiens">
    							<?php
                                                            $i = 0; 
                                                            foreach ($this->chiens as $chien) {?>									
    								<?php
                                                                    if($i == $this->chienSelected) {
                                                                            ?>
    									<a name="tag">
    										<span id="<?php echo $i?>" class="ligneover" onmouseover="setOn(<?php echo $i?>);" onmouseout="setOff(<?php echo $i?>);" onclick="document.getElementById('listeChiens').value=<?php echo $i ?>;document.formAdherent.submit();"><?php echo $chien; ?></span>
    									</a>
    									<?php
                                                                    } else {?>
    									<span id="<?php echo $i?>" class="ligneout" onmouseover="setOn(<?php echo $i?>);" onmouseout="setOff(<?php echo $i?>);" onclick="document.getElementById('listeChiens').value=<?php echo $i ?>;document.formAdherent.submit();"><?php echo $chien; ?></span>
    							<?php }
                                                            $i++; 
                                                            }
                                                            ?>
    						</div>
     
    						<?php echo $this->formHidden('listeChiens', $this->chienSelected, null); ?>
     
    						<div style="position:absolute;font-size:9px;margin-top:230px;margin-left:29px;">
    							Cliquez sur un nom pour voir la fiche<br/>
    						</div>
     
    						<div id="fiche_identite">
     
    							<br/>
     
    							<p align="center" style="font-size:12px;">
    								<u>Fiche du chien</u>
    							</p>
     
    							<?php if($this->chienCourant->getLicence() == true) { ?>
    								<div id="tampon_licencie"></div>
    							<?php } ?>
     
    							<br/>
     
    							<div class="texte">
    								<?php
    									$nomChien = preg_replace('/ï/','i',$this->chienCourant->getNom());
    									$nomChien = preg_replace('/\'/','',$nomChien);
    									$nomChien = preg_replace('/é/','e',$nomChien);
    								 ?>
    								&nbsp;&nbsp;<u>Nom</u> : <?php echo $this->chienCourant->getNom(); ?>
    								&nbsp;<div id="<?php echo $this->chienCourant->getSexe() ?>">&nbsp;&nbsp;&nbsp;</div>
    								<?php if ($this->chienCourant->getWeb() != '') { ?>
    									&nbsp;<a id="globe" href="<?php echo $this->chienCourant->getWeb() ?>" target="_blank" title="Site web de <?php echo $this->chienCourant->getNom(); ?>">&nbsp;&nbsp;&nbsp;</a> 
    								<?php }?><br/><br/>
    								&nbsp;&nbsp;<u>Race</u> : <?php echo $this->chienCourant->getRace(); ?><br/><br/>
    								&nbsp;&nbsp;<u>Maître(s)</u> : <?php echo $this->maitre; ?><br/><br/>
    								&nbsp;&nbsp;<u>Adhérent depuis</u> : <?php echo $this->chienCourant->getAdherentBO()->getDateInscription(); ?><br/>
    								<br/>
    								&nbsp;&nbsp;<img src="<?php echo $this->imgDir.'chiens/'.$nomChien.$this->chienCourant->getId().'.jpg'?>" alt="Pas de photo de <?php echo $this->chienCourant->getNom(); ?> pour l'instant" />
     
    								<?php
                                                                    if (file_exists(SERVER_URL.$this->imgDir.'chiens/'.$nomChien.$this->chienCourant->getId().'.jpg')) { ?>
    									<div onmouseover="document.getElementById('zoom').style.visibility='visible';" onmouseout="document.getElementById('zoom').style.visibility='hidden';" style="margin-left:20px;font-size:9px;width:87px;cursor:pointer;color:#3F2800;border-bottom:#3F2800 dashed 1px;z-index:500;">
    										Agrandir la photo
    									</div>
    								<?php } ?>
     
    							</div>
    						</div>
     
    						<div id="zoom" class="photo_grande">
    							<img src="<?php echo $this->imgDir; ?>chiens/<?php echo $nomChien.$this->chienCourant->getId(); ?>_grande.jpg" alt=""/>
    						</div>
     
    						<input type="hidden" id="fleche" name="fleche" value="">
    						<input type="image" onclick="document.getElementById('fleche').value='precedent';document.formAdherent.submit();" title="Chien précédent" src="<?php echo $this->imgDir ?>fleche_precedent.png" style="position:absolute; margin-top:390px; margin-left:392px;"/>
    						<input type="image" onclick="document.getElementById('fleche').value='suivant';document.formAdherent.submit();" title="Chien suivant" src="<?php echo $this->imgDir ?>fleche_suivant.png" style="position:absolute; margin-top:390px; margin-left:432px;"/>
     
    						<div id="haie"></div>
     
    					</form>
    				</div>
    			</div>
    			<div id="herbe"></div>
    			<div id="herbe_gauche"></div>
    			<div id="herbe_droite"></div>
    		</div>			
    		<div class="arrondi-quatre"></div>
    		<div class="arrondi-trois"></div>
    		<div class="arrondi-deux"></div>
    		<div class="arrondi-un"></div>
     
     
    	</div>
    </div>
     
    <?php echo $this->render('footer.phtml'); ?>
    Le css :

    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
    705
    706
    707
    708
    709
    710
    711
    712
    713
    714
    715
    716
    717
    718
    719
    720
    721
    722
    723
    724
    725
    726
    727
    728
    729
    730
    731
    732
    733
    734
    735
    736
    737
     
    body {
    	text-align: center;
    	font-family: tahoma;
    	font-size: 12x;
    	background:#4F2500;
    }
     
    .content {
    	background: #ffe1bf;
    	width: 797px;
    	height: 650px;;
    	margin-left: auto;
    	margin-right: auto;
    	text-align: left;
    	border-right: #77b254 solid 4px;
    	border-left: #77b254 solid 4px;
    }
     
    .arrondi {
    	margin-top: 30px;
    }
     
    .arrondi-un {
    	height: 1px;
    	width: 796px;
    	background-color: #77b254;
    	overflow: hidden; /*necessaire pour IE */
    	border: 1px solid #77b254;
    	border-top: 0;
    	border-bottom: 0;
    	margin-left: auto;
    	margin-right: auto;
    }
     
    .arrondi-deux {
    	height: 1px;
    	width: 798px;
    	background-color: #77b254;
    	overflow: hidden; /*necessaire pour IE */
    	border: 1px solid #77b254;
    	border-top: 0;
    	border-bottom: 0;
    	margin-left: auto;
    	margin-right: auto;
    }
     
    .arrondi-trois {
    	height: 1px;
    	width: 800px;
    	background-color: #77b254;
    	overflow: hidden; /*necessaire pour IE */
    	border: 1px solid #77b254;
    	border-top: 0;
    	border-bottom: 0;
    	margin-left: auto;
    	margin-right: auto;
    }
     
    .arrondi-quatre {
    	height: 1px;
    	width: 801px;
    	background-color: #77b254;
    	overflow: hidden; /*necessaire pour IE */
    	border: 1px solid #77b254;
    	border-top: 0;
    	border-bottom: 0;
    	margin-left: auto;
    	margin-right: auto;
    }
     
    #herbe {
    	position: absolute;
    	margin-left: auto;
    	margin-right: auto;
    	margin-top: 617px;
    	background-image: url(../../images/herbe_transparente3.png);
    	width: 820px;
    	height: 46px;
    	z-index: auto;
    }
    * html #herbe {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/herbe_transparente3.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #herbe_gauche {
    	position: absolute;
    	margin-left: -50px;
    	margin-right: auto;
    	margin-top: 618px;
    	background-image: url(../../images/herbe_transparente_gauche.png);
    	width: 69px;
    	height: 46px;
    	z-index: auto;
    }
    * html #herbe_gauche {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/herbe_transparente_gauche.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #herbe_droite {
    	position: absolute;
    	margin-left: 790px;
    	margin-right: auto;
    	margin-top: 621px;
    	background-image: url(../../images/herbe_transparente_droite.png);
    	width: 69px;
    	height: 46px;
    	z-index: auto;
    }
    * html #herbe_droite {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/herbe_transparente_droite.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #haie {
    	position: absolute;
    	margin-left: 15px;
    	margin-right: auto;
    	margin-top: 381px;
    	background-image: url(../../images/haie2.png);
    	backkground-repeat: yes;
    	width: 250px;
    	height: 119px;
    }
    * html #haie {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/haie2.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #pancarte_fleche {
    	width: 176px;
    	height: 160px;
    	position: absolute;
    	margin-left: 610px;
    	margin-top: 465px;
    	background-image: url(../../images/pancarte_fleche.png);
    }
    * html #pancarte_fleche {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/pancarte_fleche.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #dossier {
    	position:absolute;
    	background-image:url(../../images/dossier.png);
    	width:70px;
    	height:65px;
    	display:inline;
    	cursor:pointer;
    }
     
    * html #dossier {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/dossier.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
     
    #banniere {
    	position: absolute;
    	width: 746px;
    	height: 86px;
    	margin-top: 12px;
    	margin-left: 23px;
    	border: 2px solid #442200;
    	cursor:pointer;
    	background-image: url(../../images/banniere2.png);
    }
    * html #banniere {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/banniere2.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    .big_widget {
    	position: absolute;
    	margin-top: 105px;
    	margin-left: 146px;
    }
     
    #big_widget_accueil {
    	width: 634px;
    	height: 35px;
    	background-image: url(../../images/big_widget_accueil.png);
    }
    * html #big_widget_accueil {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/big_widget_accueil.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #big_widget_chiens {
    	width: 634px;
    	height: 35px;
    	background-image: url(../../images/big_widget_chiens.png);
    }
    * html #big_widget_chiens {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/big_widget_chiens.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #big_widget_livredor {
    	width: 634px;
    	height: 35px;
    	background-image: url(../../images/big_widget_livredor.png);
    }
    * html #big_widget_livredor {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/big_widget_livredor.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #big_widget_infospratiques {
    	width: 634px;
    	height: 35px;
    	background-image: url(../../images/big_widget_infospratiques.png);
    }
    * html #big_widget_infospratiques {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/big_widget_infospratiques.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #big_widget_liensutiles {
    	width: 634px;
    	height: 35px;
    	background-image: url(../../images/big_widget_liensutiles.png);
    }
    * html #big_widget_liensutiles {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/big_widget_liensutiles.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #big_widget_agility {
    	width: 634px;
    	height: 35px;
    	background-image: url(../../images/big_widget_agility.png);
    	}
    * html #big_widget_agility {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/big_widget_agility.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #big_widget_equipe {
    	width: 634px;
    	height: 35px;
    	background-image: url(../../images/big_widget_equipe.png);
    	}
    * html #big_widget_equipe {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/big_widget_equipe.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #big_widget_actualite {
    	width: 634px;
    	height: 35px;
    	background-image: url(../../images/big_widget_actualite.png);
    	}
    * html #big_widget_actualite {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/big_widget_actualite.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #big_widget_photos {
    	width: 634px;
    	height: 35px;
    	background-image: url(../../images/big_widget_photos.png);
    	}
    * html #big_widget_photos {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/big_widget_photos.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #big_widget_presentation {
    	width: 634px;
    	height: 35px;
    	background-image: url(../../images/big_widget_presentation.png);
    	}
    * html #big_widget_presentation {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/big_widget_presentation.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #big_widget_concours {
    	width: 634px;
    	height: 35px;
    	background-image: url(../../images/big_widget_concours.png);
    	}
    * html #big_widget_concours {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/big_widget_concours.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    .big_widget_content {
    	position: absolute;
    	width: 600px;
    	height: 500px;
    	margin-left: 7px;
    	border-top: #ffe1bf solid 1px;
    	background: #7f3b00;
    	color: white;
    	font-family: verdana;
    	padding-left: 10px;
    	padding-right: 10px;
    	padding-top: 2px;
    	padding-bottom: 2px;
    }
     
    .titre {
    	font-size: 14px;
    }
     
    .texte {
    	font-size: 11px;
    }
     
    .legende {
    	font-size: 9px;
    }
     
    .widget1 {
    	position: absolute;
    	margin-top: 105px;
    	margin-left: 15px;
    }
     
    .widget2 {
    	position: absolute;
    	margin-top: 218px;
    	margin-left: 15px;
    }
     
    .widget3 {
    	position: absolute;
    	margin-top: 289px;
    	margin-left: 15px;
    }
     
    .widget4 {
    	position: absolute;
    	margin-top: 375px;
    	margin-left: 15px;
    }
     
    #widget_club {
    	width: 134px;
    	height: 36px;
    	background-image: url(../../images/widget_club.png);
    }
    * html #widget_club {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/widget_club.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #widget_calendrier {
    	width: 134px;
    	height: 36px;
    	background-image: url(../../images/widget_calendrier.png);
    }
    * html #widget_calendrier {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/widget_calendrier.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #widget_adherents {
    	width: 134px;
    	height: 36px;
    	background-image: url(../../images/widget_adherents.png);
    }
    * html #widget_adherents {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/widget_adherents.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #widget_vrac {
    	width: 134px;
    	height: 36px;
    	background-image: url(../../images/widget_vrac.png);
    }
    * html #widget_vrac {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/widget_vrac.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    .widget_content {
    	position: absolute;
    	width: 115px;
    	margin-left: 7px;
    	border-top: #ffe1bf solid 1px;
    	background: #7f3b00;
    	color: white;
    	line-height: 130%;
    	font-family: verdana;
    	font-size: 11px;
    	padding-left: 5px;
    	padding-top: 2px;
    	padding-bottom: 3px;
    	border-top: #ffe1bf solid 1px;
    }
     
    a:link {
    	color: #442200;
    	text-decoration: none;
    	border-bottom:#442200 dashed 1px;
    	}
     
    a:visited {
    	color: #442200;
    	text-decoration: none;
    	border-bottom:#442200 dashed 1px;
    	}
     
    a:hover {
    	color: #CC9900;
    	text-decoration: none;
    	border-bottom:#CC9900 dashed 1px;
    	}
     
    .widget_content a:link {
    	color: white;
    	text-decoration: none;
    	border-bottom:0px;
    }
     
    .widget_content a:visited {
    	color: white;
    	text-decoration: none;
    	border-bottom:0px;
    }
     
    .widget_content a:hover {
    	color: #6CBE4C;
    }
     
    #fiche_identite {
    	position: absolute;
    	color:#3F2800;
    	width: 284px;
    	height: 360px;
    	padding-right:30px;
    	padding-left:30px;
    	margin-top: 18px;
    	margin-left: 260px;
    	background-image: url(../../images/fiche_identite_v2.png);
    }
    * html #fiche_identite {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/fiche_identite_v2.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #tampon_licencie {
    	position:absolute;
    	margin-left:205px;
    	margin-top:-10px;
    	width:85px;
    	height:110px;
    	background-image: url(../../images/tampon_licencie.png);
    	}
    * html #tampon_licencie {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/tampon_licencie.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #pancarte_agility {
    	position:absolute;
    	margin-left:610px;
    	margin-top:320px;
    	width:180px;
    	height:315px;
    	background-image: url(../../images/pancarte_agility.png);
    	}
    * html #pancarte_agility {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/pancarte_agility.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #mascotte_table {
    	position: absolute;
    	width: 180px;
    	height: 227px;
    	margin-top: 410px;
    	margin-left: 595px;
    	background-image: url(../../images/mascotte_sur_table.png);
    }
    * html #mascotte_table {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/mascotte_sur_table.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #slalom {
    	position: absolute;
    	width: 500px;
    	height: 120px;
    	margin-top: 525px;
    	margin-left: 205px;
    	background-image: url(../../images/slalom.png);
    }
    * html #slalom {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/slalom.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #bascule {
    	position: absolute;
    	width: 460px;
    	height: 299px;
    	margin-top: 183px;
    	margin-left: 30px;
    	background-image: url(../../images/mascotte_bascule.png);
    }
    * html #bascule {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/mascotte_bascule.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #passerelle {
    	position: absolute;
    	width: 520px;
    	height: 107px;
    	margin-top: 557px;
    	margin-left: 200px;
    	background-image: url(../../images/passerelle.png);
    }
    * html #passerelle {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/passerelle.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #patte {
    	width:25px;
    	height:25px;
    	background-image: url(../../images/patte2.png);
    	}
    * html #patte {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/patte2.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #patte_miroir {
    	width:25px;
    	height:25px;
    	background-image: url(../../images/patte2_miroir.png);
    	}
    * html #patte_miroir {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/patte2_miroir.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #numero {
    	position: absolute;
    	width: 90px;
    	height: 90px;
    	margin-top: 555px;
    	margin-left: 675px;
    	background-image: url(../../images/numero.png);
    }
    * html #numero {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/numero.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #femelle {
    	width:15px;
    	height:15px;
    	display:inline;
    	background-image: url(../../images/femelle.png);
    	z-index:300;
    }
    * html #femelle {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/femelle.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #male {
    	width:15px;
    	height:15px;
    	display:inline;
    	background-image: url(../../images/male.png);
    	z-index:300;
    }
    * html #male {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/male.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #globe {
    	width:20px;
    	height:20px;
    	display:inline;
    	background-image: url(../../images/globe.png);
    	z-index:300;
    }
    * html #globe {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/globe.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    #chien_os {
    	position: absolute;
    	width: 80px;
    	height: 84px;
    	margin-top: 550px;
    	margin-left: 750px;
    	background-image: url(../../images/chien_os.gif);
    }
     
    #accueil {
    	position:absolute;
    	width:115px;
    	height:105px;
    	margin-left:22px;
    	margin-top:535px;
    	background-image: url(../../images/pancarte_accueil.png);
    	cursor:pointer;
    	}
    * html #accueil {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/pancarte_accueil.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    .liste_chiens {
    	position: absolute;
    	margin-top: 25px;
    	margin-left: 7px;
    	width:234px;
    	height:190px;
    	overflow:auto;
    	border:#DFA46F inset 2px;
    	background-color:#FFF7EF;
    	padding:4px;
    	font-family: tahoma;
    	font-size: 12px;
    	color:#3F2800;
    	z-index: 0;
    	cursor:pointer;
    }
     
    .ligneover {
    	display:block;
    	background-color:#FFDDBF;
    }
     
    .ligneout {
    	display:block;
    	background-color:#FFF7EF;
    }
     
    ul {
    	list-style-image: url(../../images/patte.gif);
    	list-style-position:outside; 
    	}
     
    #news {
    	position:absolute;
    	width:80px;
    	height:40px;
    	margin-top:-15px;
    	margin-left:247px;
    	z-index:300;
    	background-image: url(../../images/news.png);
    	}
    * html #news {
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../images/news.png", enabled="enabled", sizingMethod="image");
    	background-image: none;
    }
     
    .photo_grande {
    	position:absolute;
    	margin-top:-18px;
    	margin-left:60px;
    	width:500px;
    	height:338px;
    	visibility:hidden;
    	z-index:500;
    	}
     
    #photo_suivante {
    	position:absolute;
    	margin-top:200px;
    	margin-left:549px;
    	width:40px;
    	height:40px;
    	background-image:url(../../images/flechephoto_suivant.png);
    	cursor:pointer;
    	}
     
    #photo_precedente {
    	position:absolute;
    	margin-top:200px;
    	margin-left:12px;
    	width:40px;
    	height:40px;
    	background-image:url(../../images/flechephoto_precedent.png);
    	cursor:pointer;
    	}
     
    .cadre {
    	position:absolute;
    	margin-top:0px;
    	margin-left:57px;
    	width:480px;
    	height:420px;
    	}
     
     
    .paysage {
    	margin-top:40px;
    	margin-left:0px;
    	}
     
    .portrait {
    	margin-top:20px;
    	margin-left:110px;
    	}
     
    .photo_comite {
    	position:absolute;
    	width:385px;
    	height:380px;
    	margin-top:30px;
    	margin-left:280px;
    	visibility:hidden;
    	z-index:500;
    	}
     
    .photo_educateur {
    	position:absolute;
    	width:385px;
    	height:380px;
    	margin-top:30px;
    	margin-left:-25px;
    	visibility:hidden;
    	z-index:500;
    	}
     
    .credits {
    	color: #ffffff;
    	font-size: 10px;
    	text-align: center;
    }

    La page qui fonctionne :
    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
     
    <?php echo $this->render('header.phtml'); ?>
     
    <script type="text/javascript">
    <!--
    	function setOn(id) {
    		document.getElementById(id).className = 'ligneover';
    	}
     
    	function setOff(id) {
    		document.getElementById(id).className = 'ligneout';
    	}
    -->
    </script>
     
    <div class="page">
    	<div class="arrondi">
    		<div class="arrondi-un"></div>
    		<div class="arrondi-deux"></div>
    		<div class="arrondi-trois"></div>
    		<div class="arrondi-quatre"></div>
    		<div class="content">
    			<a href="/index/index"><div id="banniere"></div></a>
     
    			<?php echo $this->render('menu.phtml'); ?>
    			<div class="big_widget">
    				<div id="big_widget_chiens"></div>
    				<div class="big_widget_content">
    					<form name="formAdherent" action="chiens#tag" method="post">
     
    						<div class="liste_chiens">
    							<?php
                                                            $i = 0; 
                                                            foreach ($this->chiens as $chien) {?>									
    								<?php
                                                                    if($i == $this->chienSelected) {
                                                                            ?>
    									<a name="tag">
    										<span id="<?php echo $i?>" class="ligneover" onmouseover="setOn(<?php echo $i?>);" onmouseout="setOff(<?php echo $i?>);" onclick="document.getElementById('listeChiens').value=<?php echo $i ?>;document.formAdherent.submit();"><?php echo $chien; ?></span>
    									</a>
    									<?php
                                                                    } else {?>
    									<span id="<?php echo $i?>" class="ligneout" onmouseover="setOn(<?php echo $i?>);" onmouseout="setOff(<?php echo $i?>);" onclick="document.getElementById('listeChiens').value=<?php echo $i ?>;document.formAdherent.submit();"><?php echo $chien; ?></span>
    							<?php }
                                                            $i++; 
                                                            }
                                                            ?>
    						</div>
     
    						<?php echo $this->formHidden('listeChiens', $this->chienSelected, null); ?>
     
    						<div style="position:absolute;font-size:9px;margin-top:230px;margin-left:29px;">
    							Cliquez sur un nom pour voir la fiche<br/>
    						</div>
     
    						<div id="fiche_identite">
     
    							<br/>
     
    							<p align="center" style="font-size:12px;">
    								<u>Fiche du chien</u>
    							</p>
     
    							<?php if($this->chienCourant->getLicence() == true) { ?>
    								<div id="tampon_licencie"></div>
    							<?php } ?>
     
    							<br/>
     
    							<div class="texte">
    								<?php
    									$nomChien = preg_replace('/ï/','i',$this->chienCourant->getNom());
    									$nomChien = preg_replace('/\'/','',$nomChien);
    									$nomChien = preg_replace('/é/','e',$nomChien);
    								 ?>
    								&nbsp;&nbsp;<u>Nom</u> : <?php echo $this->chienCourant->getNom(); ?>
    								&nbsp;<div id="<?php echo $this->chienCourant->getSexe() ?>">&nbsp;&nbsp;&nbsp;</div>
    								<?php if ($this->chienCourant->getWeb() != '') { ?>
    									&nbsp;<a id="globe" href="<?php echo $this->chienCourant->getWeb() ?>" target="_blank" title="Site web de <?php echo $this->chienCourant->getNom(); ?>">&nbsp;&nbsp;&nbsp;</a> 
    								<?php }?><br/><br/>
    								&nbsp;&nbsp;<u>Race</u> : <?php echo $this->chienCourant->getRace(); ?><br/><br/>
    								&nbsp;&nbsp;<u>Maître(s)</u> : <?php echo $this->maitre; ?><br/><br/>
    								&nbsp;&nbsp;<u>Adhérent depuis</u> : <?php echo $this->chienCourant->getAdherentBO()->getDateInscription(); ?><br/>
    								<br/>
    								&nbsp;&nbsp;<img src="<?php echo $this->imgDir.'chiens/'.$nomChien.$this->chienCourant->getId().'.jpg'?>" alt="Pas de photo de <?php echo $this->chienCourant->getNom(); ?> pour l'instant" />
     
    							</div>
    						</div>
     
    						<?php
                                                    if (file_exists(SERVER_URL.$this->imgDir.'chiens/'.$nomChien.$this->chienCourant->getId().'.jpg')) { ?>
    							<div onmouseover="document.getElementById('zoom').style.visibility='visible';" onmouseout="document.getElementById('zoom').style.visibility='hidden';" style="position:absolute;margin-left:355px;margin-top:351px;font-size:9px;width:87px;cursor:pointer;color:#3F2800;border-bottom:#3F2800 dashed 1px;z-index:500;">
    								Agrandir la photo
    							</div>
    						<?php } ?>	
     
    						<div id="zoom" class="photo_grande">
    							<img src="<?php echo $this->imgDir; ?>chiens/<?php echo $nomChien.$this->chienCourant->getId(); ?>_grande.jpg" alt=""/>
    						</div>
     
    						<input type="hidden" id="fleche" name="fleche" value="">
    						<input type="image" onclick="document.getElementById('fleche').value='precedent';document.formAdherent.submit();" title="Chien précédent" src="<?php echo $this->imgDir ?>fleche_precedent.png" style="position:absolute; margin-top:390px; margin-left:392px;"/>
    						<input type="image" onclick="document.getElementById('fleche').value='suivant';document.formAdherent.submit();" title="Chien suivant" src="<?php echo $this->imgDir ?>fleche_suivant.png" style="position:absolute; margin-top:390px; margin-left:432px;"/>
     
    						<div id="haie"></div>
     
    					</form>
    				</div>
    			</div>
    			<div id="herbe"></div>
    			<div id="herbe_gauche"></div>
    			<div id="herbe_droite"></div>
    		</div>			
    		<div class="arrondi-quatre"></div>
    		<div class="arrondi-trois"></div>
    		<div class="arrondi-deux"></div>
    		<div class="arrondi-un"></div>
     
     
    	</div>
    </div>
     
    <?php echo $this->render('footer.phtml'); ?>
    Le bout de code qui a changé de place (aux lignes 85-90 environ) :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
     
    <?php
            if (file_exists(SERVER_URL.$this->imgDir.'chiens/'.$nomChien.$this->chienCourant->getId().'.jpg')) { ?>
    		<div onmouseover="document.getElementById('zoom').style.visibility='visible';" onmouseout="document.getElementById('zoom').style.visibility='hidden';" style="position:absolute;margin-left:355px;margin-top:351px;font-size:9px;width:87px;cursor:pointer;color:#3F2800;border-bottom:#3F2800 dashed 1px;z-index:500;">
    			Agrandir la photo
    		</div>
    <?php } ?>


    L'adresse du site : http://www.agility77.fr (rubrique : Les chiens, puis cliquez sur le nom d'un chien qui a une photo (par exemple Aïka)). C'est le lien "Agrandir la photo" qui correspond au bout de code...

  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 640
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 74
    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 640
    Points : 66 669
    Points
    66 669
    Billets dans le blog
    1
    Par défaut
    je vais peut être dire une ânerie mais sous IE 6 className n'est pas une propriété de style ?


    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    document.getElementById(id).style.className
    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
    Expert éminent sénior

    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
    Points : 36 571
    Points
    36 571
    Par défaut
    Citation Envoyé par SpaceFrog Voir le message
    je vais peut être dire une ânerie mais sous IE 6 className n'est pas une propriété de style ?
    Belle "tentative", mais non
    Pour tout savoir sur l'utilisation du forum

    En postant votre message, n'oubliez pas les Règles du Club.

  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 640
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 74
    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 640
    Points : 66 669
    Points
    66 669
    Billets dans le blog
    1
    Par défaut
    J'ai déja croisé le style.className ... pourtant ...
    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
    Expert éminent sénior

    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
    Points : 36 571
    Points
    36 571
    Par défaut
    Citation Envoyé par SpaceFrog Voir le message
    J'ai déja croisé le style.className ... pourtant ...
    Avec un code (en prod) sous les yeux : ça ne devait pas être pour IE6.
    (à moins qu'il soit aussi indulgent que pour les name/id et permette les deux )

    A+
    Pour tout savoir sur l'utilisation du forum

    En postant votre message, n'oubliez pas les Règles du Club.

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. propriété top qui ne marche pas sur DIV relative
    Par comode dans le forum Mise en page CSS
    Réponses: 7
    Dernier message: 26/07/2013, 09h00
  2. CSS ne marche pas sur IE8
    Par seanbean dans le forum Mise en page CSS
    Réponses: 1
    Dernier message: 26/04/2011, 10h31
  3. Réponses: 1
    Dernier message: 28/03/2007, 19h20
  4. Réponses: 9
    Dernier message: 07/05/2003, 12h57

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