[BUG] Affichage du forum sous Mozilla 06-10-2003 16:19
ceux qui utilisent Mozilla Firebird pourront le confirmer: ce browser a quelques soucis pour afficher correctement les forums vBulletin
plus particulièrement, la zone de texte pour poster une réponse (2/3 fois plus petite que la normale)
en fouinant sur le forum vbulletin.org, j'ai trouvé un petit hack qui permettra de résoudre ce petit désagrément
à toi de jouer soul^keeper
Citation
Mozilla Text Area Fix
(By sidhighwind)
This hack fixes the problem with Mozilla and the text area on the forum. Mozilla reads the width attribute different than netscape and causes the text area's to be narrow and very fustrating to use when you are typing in a lot of code or just a long message.
Description of what was changed:
I changed the function gettextareawidth to have mozilla use the width specified for IE instead of the width specified for Netscape.
I hope you all like my first hack.
In admin/functions.php
Find:
// ###################### Start gettextareawidth #######################
function gettextareawidth() {
// attempts to fix idiotic Nutscrape textarea width problems
global $HTTP_USER_AGENT;
if (eregi("MSIE",$HTTP_USER_AGENT)) { // browser is IE
return "100";
hmmmmm si le refresh le fait partir, je crains que cela me soit donc impossible d'éliminer le problème : si c'est *effectivement* un bug de NS, attendez la prochaine version ?
@Lewolf: en tout cas, je profite de l'occasion pour te remercier une nouvelle fois pour tes dons matériels, et ta gentillesse
ça me le fait assez souvent, ça vient du fait que Mozilla affiche trop rapidement les pages web donc ça provoque quelques soucis d'affichage
pour y remédier, il faut modifier les fichiers de configuration pour que Mozilla "prenne son temps" avant d'afficher les pages visitées (par défaut c'est 100ms je crois)