vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [vbhacker] Mozilla Text Area Fix (https://vborg.vbsupport.ru/showthread.php?t=39428)

sidhighwind 06-03-2002 10:00 PM

[vbhacker] Mozilla Text Area Fix
 
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.

SiD

sidhighwind 06-04-2002 02:20 PM

here is a screen shot of the before and after...

Tungsten 06-04-2002 03:13 PM

Installed it and am no worse for the wear. :) I don't get many Netscape users on my site but this will at least make it "friendlier" for them. Thanks.

snyx 06-04-2002 03:19 PM

I donno anyone who uses mozilla?!?

sidhighwind 06-04-2002 03:25 PM

Quote:

Originally posted by snyx
I donno anyone who uses mozilla?!?
I know a bunch of people that do. That is the only browser I use.

Floris 06-04-2002 05:36 PM

Besides IE6 I use Mozilla 1.0 rcX (nightly builds every weekend)
As soon as it goes gold, I will drop IE6 :)

Smoothie 06-04-2002 05:59 PM

Excuse please! Can't this be done by going to admin cp, styles, modify, text width areas? I changed mine to 70 for NS 6.0 to 70 and the text area looks the same as IE now. I'm using Mozilla ver 1 RC3 and the text area looks the same on both IE and Moz.

sidhighwind 06-04-2002 06:04 PM

Yes it can be done that way but if you get people that come to your forum with netscape 4.x it will look very wierd. That is why I did this hack.

Smoothie 06-04-2002 06:08 PM

But you can set the text width separately for Nutscrape 4.xx

MarkG 06-04-2002 06:36 PM

works, thanks!


All times are GMT. The time now is 11:12 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01206 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete