Gossamer Forum
Home : Gossamer Threads Inc. : Discussion :

Browser problems with GT products

Quote Reply
Browser problems with GT products
There seems to be a problem with the display of stylesheets in Opera 6.01 in this forum and FileMan.

Other GT products may also be affected (I haven't checked).

Basically, the table/background colours are not being shown, which looks more than a little odd.

The reason I found this out is that the JavaScript in the latest version of FileMan does not work correctly in IE5, so you may want to check that too.
Quote Reply
Re: [wysardry] Browser problems with GT products In reply to
That sounds more like an Opera bug than a HTML problem. These forums do not use a style to set the background color of tables, but rather uses a bgcolor attribute on the <table> tags. Do you see coloured submit buttons (the light green and dark green)?

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Browser problems with GT products In reply to
Strange. The table colours seem to be okay today. Crazy

All the buttons are the same greyish colour, rather than shades of green, but they are visible at least.

FileMan still looks bland though.
Quote Reply
Re: [Jagerman] Browser problems with GT products In reply to
I've figured out what the colour problem was.

The version of Opera I have on Windoze NT was set in "user" mode (meaning it uses custom colour and CSS settings instead of those of the site). Switching to "author" mode solved the problem.

The version I have on Windoze 98 was set in "author" mode (meaning it uses the colour and CSS settings defined by the site's author). That is why the colours looked okay when I checked the second time.

The JavaScript problem in IE5 remains unresolved though (some of the JavaScript works, but not all of it).
Quote Reply
Re: [wysardry] Browser problems with GT products In reply to
Quote:
The JavaScript problem in IE5 remains unresolved though (some of the JavaScript works, but not all of it).

Is this on our demo, or on your download? If it's on the demo, can you tell me what you are doing to produce a javascript error?

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Browser problems with GT products In reply to
I noticed it on a downloaded version, but I've just checked your online demo, and it has the same problem.

When you click on an HTML document, the edit window does not display correctly.

The "Save" and "Save As" buttons are there, as is the input field for the filename, but the textarea and the form elements below that are not shown.

There is no error message displayed however.

Plain text, Perl scripts and files with no extension display correctly though (if they contain text).
Quote Reply
Re: [wysardry] Browser problems with GT products In reply to
Hi,

Thanks for the feedback, that was a bug. There are 2 subroutines within Commands.pm that you need to fix:

- cmd_edit: Replace

my $browser;
$browser = 1 if ($ENV{HTTP_USER_AGENT} =~ m,MSIE 5, or $ENV{HTTP_USER_AGENT} =~ m,MSIE 6,);

WITH:

Code:
my ($browser, $version);
if ($ENV{HTTP_USER_AGENT} and $ENV{HTTP_USER_AGENT} =~ /MSIE (\d+(?:\.\d+)?)/) {
$version = $1;
}
$browser = $version && $version >= 5.5;


- cmd_show: Replace
my $ie = ($ENV{HTTP_USER_AGENT} =~ m,MSIE 5.5, or $ENV{HTTP_USER_AGENT} =~ m,MSIE 6,) ? 1 : 0;

WITH:
Code:
my ($ie, $version);
if ($ENV{HTTP_USER_AGENT} and $ENV{HTTP_USER_AGENT} =~ /MSIE (\d+(?:\.\d+)?)/) {
$version = $1;
}
$ie = $version && $version >= 5.5;


TheStone.

B.
Quote Reply
Re: [TheStone] Browser problems with GT products In reply to
@TheStone:

Hi,

if this is a bug in all or some of the GT-products please post the solution (bug-fix) for every product into the "Official Bug-Fix"_Forum so everyone will notice and be able to fix it.



Thanks.

Regards,
Manu

Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.
Quote Reply
Re: [TheStone] Browser problems with GT products In reply to
Thanks. Adding those lines worked (I placed a # character in front of the existing lines).

For those wishing to attempt this, the Commands.pm file is in private/lib/GT/FileMan

Also, in cmd_edit comment out the following line:-

Code:
my $browser;

as the line:-

Code:
my ($browser, $version);

(from the fix) replaces it.