problème avec smilies dans IE

Répondre


Cette question est un moyen d’empêcher des soumissions automatisées de formulaires par des robots.
Smileys
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: =D> #-o =P~ :^o :non: :priere: 8-|
Voir plus de smileys
  Revue du sujet
 

  Étendre la vue Revue du sujet : problème avec smilies dans IE

par charabia » 27 oct. 2006, 14:05

tu es génial !!!!!!!!
ça marche !!!!
je suis trop contente grave je galère avec ça depuis le début
merci merci merci !!!!!! =D> :D

par contre je ne peux pas mettre résolu car j'ai ouvert ce post en tant qu'invité au début merci , si quelqu'un peut le faire !
merciiiiiii encore à toi !!!!
val :D :D
mais di rien ;) Le forum est là pour ça :)

par framboizz » 27 oct. 2006, 13:38

merci beaucoup Cyrano ! :D

par Cyrano » 27 oct. 2006, 13:22

par contre je ne peux pas mettre résolu car j'ai ouvert ce post en tant qu'invité
Je l'ai fait pour toi ;)

par framboizz » 27 oct. 2006, 12:26

tu es génial !!!!!!!!
ça marche !!!!
je suis trop contente grave je galère avec ça depuis le début
merci merci merci !!!!!! =D> :D

par contre je ne peux pas mettre résolu car j'ai ouvert ce post en tant qu'invité au début merci , si quelqu'un peut le faire !
merciiiiiii encore à toi !!!!
val :D :D

par framboizz » 27 oct. 2006, 12:23

dans posting_smilies ?
parce que je l'ai déja fait mais ça me donne le même resultat !
je vais réessayer quand même !
je te dis quoi
merci en tout cas !
val

par charabia » 27 oct. 2006, 12:19

Oki je vois. En fait en gardant les tags width et height présents mais vides, le navigateur doit mettre une taille par défaut (sans doute 1*1). Pour corriger ça il te suffit d'enlever ces deux tags ;)

Code : Tout sélectionner

<img src="images/smiles/icon_biggrin.gif" alt="Very Happy" border="0" title="Very Happy" />

par framboizz » 27 oct. 2006, 12:16

désolée je ne suis pas balaise en informatique
excuse moi :oops:

Code : Tout sélectionner

<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <title>AquaFramboizz :: Smilies</title> <link rel="stylesheet" href="templates/maxiblue/maxiblue.css" type="text/css" /> </head> <body> <a name="top" id="top"></a> <script language="javascript" type="text/javascript"> <!-- function emoticon(text) { text = ' ' + text + ' '; if (opener.document.forms['post'].message.createTextRange && opener.document.forms['post'].message.caretPos) { var caretPos = opener.document.forms['post'].message.caretPos; caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text; opener.document.forms['post'].message.focus(); } else { opener.document.forms['post'].message.value += text; opener.document.forms['post'].message.focus(); } } //--> </script> <table width="100%" border="0" cellspacing="0" cellpadding="10"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="4" class="forumline"> <tr> <th>Smilies</th> </tr> <tr> <td> <table width="100" border="0" cellspacing="0" cellpadding="5"> <tr align="center"> <td> <a href="javascript:emoticon(':D')"><img src="images/smiles/icon_biggrin.gif" alt="Very Happy" width="" height="" border="0" title="Very Happy" /></a></td> <td> <a href="javascript:emoticon(':)')"><img src="images/smiles/icon_smile.gif" alt="Smile" width="" height="" border="0" title="Smile" /></a></td> <td> <a href="javascript:emoticon(':(')"><img src="images/smiles/icon_sad.gif" alt="Sad" width="" height="" border="0" title="Sad" /></a></td> <td> <a href="javascript:emoticon(':o')"><img src="images/smiles/icon_surprised.gif" alt="Surprised" width="" height="" border="0" title="Surprised" /></a></td> <td> <a href="javascript:emoticon(':shock:')"><img src="images/smiles/icon_eek.gif" alt="Shocked" width="" height="" border="0" title="Shocked" /></a></td> <td> <a href="javascript:emoticon(':?')"><img src="images/smiles/icon_confused.gif" alt="Confused" width="" height="" border="0" title="Confused" /></a></td> <td> <a href="javascript:emoticon('8)')"><img src="images/smiles/icon_cool.gif" alt="Cool" width="" height="" border="0" title="Cool" /></a></td> <td> <a href="javascript:emoticon(':lol:')"><img src="images/smiles/icon_lol.gif" alt="Laughing" width="" height="" border="0" title="Laughing" /></a></td> </tr> <tr align="center"> <td> <a href="javascript:emoticon(':x')"><img src="images/smiles/icon_mad.gif" alt="Mad" width="" height="" border="0" title="Mad" /></a></td> <td> <a href="javascript:emoticon(':P')"><img src="images/smiles/icon_razz.gif" alt="Razz" width="" height="" border="0" title="Razz" /></a></td> <td> <a href="javascript:emoticon(':oops:')"><img src="images/smiles/icon_redface.gif" alt="Embarassed" width="" height="" border="0" title="Embarassed" /></a></td> <td> <a href="javascript:emoticon(':cry:')"><img src="images/smiles/icon_cry.gif" alt="Crying or Very sad" width="" height="" border="0" title="Crying or Very sad" /></a></td> <td> <a href="javascript:emoticon(':evil:')"><img src="images/smiles/icon_evil.gif" alt="Evil or Very Mad" width="" height="" border="0" title="Evil or Very Mad" /></a></td> <td> <a href="javascript:emoticon(':twisted:')"><img src="images/smiles/icon_twisted.gif" alt="Twisted Evil" width="" height="" border="0" title="Twisted Evil" /></a></td> <td> <a href="javascript:emoticon(':roll:')"><img src="images/smiles/icon_rolleyes.gif" alt="Rolling Eyes" width="" height="" border="0" title="Rolling Eyes" /></a></td> <td> <a href="javascript:emoticon(':wink:')"><img src="images/smiles/icon_wink.gif" alt="Wink" width="" height="" border="0" title="Wink" /></a></td> </tr> <tr align="center"> <td> <a href="javascript:emoticon(':!:')"><img src="images/smiles/icon_exclaim.gif" alt="Exclamation" width="" height="" border="0" title="Exclamation" /></a></td> <td> <a href="javascript:emoticon(':?:')"><img src="images/smiles/icon_question.gif" alt="Question" width="" height="" border="0" title="Question" /></a></td> <td> <a href="javascript:emoticon(':idea:')"><img src="images/smiles/icon_idea.gif" alt="Idea" width="" height="" border="0" title="Idea" /></a></td> <td> <a href="javascript:emoticon(':arrow:')"><img src="images/smiles/icon_arrow.gif" alt="Arrow" width="" height="" border="0" title="Arrow" /></a></td> <td> <a href="javascript:emoticon(':|')"><img src="images/smiles/icon_neutral.gif" alt="Neutral" width="" height="" border="0" title="Neutral" /></a></td> <td> <a href="javascript:emoticon(':mrgreen:')"><img src="images/smiles/icon_mrgreen.gif" alt="Mr. Green" width="" height="" border="0" title="Mr. Green" /></a></td> <td> <a href="javascript:emoticon('[:badesttrip]')"><img src="images/smiles/badesttrip.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('[:babylove2004]')"><img src="images/smiles/babylove2004.gif" alt="" width="" height="" border="0" title="" /></a></td> </tr> <tr align="center"> <td> <a href="javascript:emoticon('[:bolox]')"><img src="images/smiles/bolox.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('[:chaolie]')"><img src="images/smiles/chaolie.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('[:chouka]')"><img src="images/smiles/chouka.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('[:chpuce]')"><img src="images/smiles/chpuce.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('[:delphewen]')"><img src="images/smiles/delphewen.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('[:frisette78]')"><img src="images/smiles/frisette78.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('[: val1]')"><img src="images/smiles/BonAnnif03.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('[:::)]')"><img src="images/smiles/MDR45.gif" alt="" width="" height="" border="0" title="" /></a></td> </tr> <tr align="center"> <td> <a href="javascript:emoticon('[super]')"><img src="images/smiles/Super11.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('[alcool 04]')"><img src="images/smiles/Alcooliques04.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('hein?')"><img src="images/smiles/Hein07.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('langue02')"><img src="images/smiles/Langue02.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('langue44')"><img src="images/smiles/langue44.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('musique/')"><img src="images/smiles/Musique37.gif" alt="musique" width="" height="" border="0" title="musique" /></a></td> <td> <a href="javascript:emoticon('n\'importe')"><img src="images/smiles/Forum11.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('pleure')"><img src="images/smiles/pleure_gif.gif" alt="" width="" height="" border="0" title="" /></a></td> </tr> <tr align="center"> <td> <a href="javascript:emoticon('jongleup')"><img src="images/smiles/jongleup01.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('annif')"><img src="images/smiles/annif01.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('yeh!')"><img src="images/smiles/Invision-Board-France-161.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('bisous à toi')"><img src="images/smiles/Bisous14.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('nonnon!')"><img src="images/smiles/NonNon01.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('dodo')"><img src="images/smiles/Dodo41.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('banane zik')"><img src="images/smiles/Banane08.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('pompom')"><img src="images/smiles/Danseuse01.gif" alt="" width="" height="" border="0" title="" /></a></td> </tr> <tr align="center"> <td> <a href="javascript:emoticon('bonannif')"><img src="images/smiles/BonAnnif07.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('iiiiii0')"><img src="images/smiles/boubou28.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('iiib')"><img src="images/smiles/antoni.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('aschra')"><img src="images/smiles/aschrack.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('asdads')"><img src="images/smiles/asdasd.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('atmos')"><img src="images/smiles/atmos.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('nardo')"><img src="images/smiles/bernardo.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('bnou')"><img src="images/smiles/boulet_man.gif" alt="" width="" height="" border="0" title="" /></a></td> </tr> <tr align="center"> <td> <a href="javascript:emoticon('bunga')"><img src="images/smiles/bungalor_fucker.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('chenailliou')"><img src="images/smiles/chenaillou.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('chewy')"><img src="images/smiles/chewyy.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('fhc')"><img src="images/smiles/fish.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('kfyk')"><img src="images/smiles/fkyom.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('19uiy')"><img src="images/smiles/gerald1978.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('gnou')"><img src="images/smiles/gnou 345.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('laujjiuy')"><img src="images/smiles/laughing-smiley-001.gif" alt="" width="" height="" border="0" title="" /></a></td> </tr> <tr align="center"> <td> <a href="javascript:emoticon('niuy')"><img src="images/smiles/noel.gif" alt="" width="" height="" border="0" title="" /></a></td> <td> <a href="javascript:emoticon('pichaiyu')"><img src="images/smiles/picha.gif" alt="" width="" height="" border="0" title="" /></a></td> </tr> </table> </td> </tr> <tr> <td class="genmed" align="center"><br /> <a href="javascript:window.close();">Fermer la Fenêtre</a> </td> </tr> </table> </td> </tr> </table> <div class="gensmall" align="center"><br /> <!-- We request you retain the full copyright notice below including the link to www.phpbb.com. This not only gives respect to the large amount of time given freely by the developers but also helps build interest, traffic and use of phpBB 2.0. If you cannot (for good reason) retain the full copyright we request you at least leave in place the Powered by phpBB line, with phpBB linked to www.phpbb.com. If you refuse to include even this then support on our forums may be affected. The phpBB Group : 2002 // --> Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> &copy; 2001,2002 phpBB Group</div> </body> </html>
merci pour ton aide en tout cas ! :D

par charabia » 27 oct. 2006, 12:12

Heu...tu n'as pas compris ma demande.

- Va sur la fenêtre de tes smilies.
- cliques droit sur cette page.
- fait affichage source de la page.
- colles le code que tu verras au niveau de ces smilies.

par framboizz » 27 oct. 2006, 12:10

Image

par charabia » 27 oct. 2006, 11:56

Non pas le code du .tpl mais quand tu fais afficher la source à partir de ton navigateur. Que vois-tu au niveau des smilies ?

par framboizz » 27 oct. 2006, 11:51

ça c'est le code dans posting_smilies tpl

Code : Tout sélectionner

<script language="javascript" type="text/javascript"> <!-- function emoticon(text) { text = ' ' + text + ' '; if (opener.document.forms['post'].message.createTextRange && opener.document.forms['post'].message.caretPos) { var caretPos = opener.document.forms['post'].message.caretPos; caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text; opener.document.forms['post'].message.focus(); } else { opener.document.forms['post'].message.value += text; opener.document.forms['post'].message.focus(); } } //--> </script> <table width="100%" border="0" cellspacing="0" cellpadding="10"> <tr> <td> <table width="100%" border="0" cellspacing="1" cellpadding="4" class="forumline"> <tr> <th>{L_EMOTICONS}</th> </tr> <tr> <td> <table width="100" border="0" cellspacing="0" cellpadding="5"> <!-- BEGIN smilies_row --> <tr align="center"> <!-- BEGIN smilies_col --> <td> <a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}')"><img src="{smilies_row.smilies_col.SMILEY_IMG}" alt="{smilies_row.smilies_col.SMILEY_DESC}" width="" height="" border="0" title="{smilies_row.smilies_col.SMILEY_DESC}" /></a></td> <!-- END smilies_col --> </tr> <!-- END smilies_row --> <!-- BEGIN switch_smilies_extra --> <tr align="center"> <td class="nav" colspan="{S_SMILIES_COLSPAN}"><a href="{U_MORE_SMILIES}" onclick="open_window('{U_MORE_SMILIES}', 250, 300);return false" target="_smilies">{L_MORE_SMILIES}</a> </td> </tr> <!-- END switch_smilies_extra --> </table> </td> </tr> <tr> <td class="genmed" align="center"><br /> <a href="javascript:window.close();">{L_CLOSE_WINDOW}</a> </td> </tr> </table> </td> </tr> </table>
tout ça marche super bien sous mozilla firefox mais pas sous IE
les smilies dans la pop up "voir plus de smilies sont en minuscule sous IE alors que sous mozilla elles sont en taille normales !

par charabia » 27 oct. 2006, 10:39

Fait un affichage de la source et montres nous ce que tu as au niveau du code des smilies.

par framboizz » 26 oct. 2006, 22:17

Personne ne connait ce prob?

par framboizz » 24 oct. 2006, 14:38

je l'enlève dans posting_smilies tpl le code (puisque ça concerne la fenêtre pop de "voir plus de smilies" et il y a uniquement chez explorer que ça ne marche pas ailleurs si ! mais comme beaucoup de gens utilises explorer j'aimerai bien que ça marche pour mozilla et ie en même temps !
je n'ai pas changer le thème donc je ne le sais pas
et comme j'ai deux forum sur la même adresse je n'oserai pas y toucher non plus ! car il ont chacun le même thème

voici mon code actuel sans les 15X15 dans width="" height=""



<table width="100" border="0" cellspacing="0" cellpadding="5">
<!-- BEGIN smilies_row -->
<tr align="center">
<!-- BEGIN smilies_col -->
<td>
<a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}')"><img src="{smilies_row.smilies_col.SMILEY_IMG}" alt="{smilies_row.smilies_col.SMILEY_DESC}" width="" height="" border="0" title="{smilies_row.smilies_col.SMILEY_DESC}" /></a></td>
<!-- END smilies_col -->
</tr>
<!-- END smilies_row -->
<!-- BEGIN switch_smilies_extra -->
<tr align="center">
<td class="nav" colspan="{S_SMILIES_COLSPAN}"><a href="{U_MORE_SMILIES}" onclick="open_window('{U_MORE_SMILIES}', 250, 300);return false" target="_smilies">{L_MORE_SMILIES}</a>
</td>
</tr>
<!-- END switch_smilies_extra -->

par graphistnet » 24 oct. 2006, 14:21

Salut,

Tu dis enlever la taille 15*15 mais où l'enlève tu? dans le code ou est-ce une option de ton forum (je ne connais pas PHPBB), avec un thême différent rencontre tu le même problème?