Re: display problem with mozilla 0.9.8

2002-02-15 Thread cw

Pascal Chevrel <[EMAIL PROTECTED]> wrote in
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: 

> This is precisely why he should file a *Tech Evangelism* bug.
> 
> Bugzilla definition of Tech Evangelism bugs : "For reporting web pages 
> that must be upgraded to support web standards and Mozilla"

Ahhh, didn't know that one :0)

-- 
Colin
*Drop DEAD from the email address to reply*




Re: display problem with mozilla 0.9.8

2002-02-15 Thread Pascal Chevrel


cw wrote:
> Pascal Chevrel <[EMAIL PROTECTED]> wrote in news:3C6D42C1.1000101
> @free.fr:
> 
> 
>>Sorry for writing in French, I am just explaining that this page uses 
>>proprietary NS4 tags and that he should file a Tech Evangelism bug in 
>>bugzilla.
>>
> 
> Not really, the script is designed to detect Internet Explorer versions 4 
> and 5. It is also designed to detect Netscape 4.x. It is not designed to 
> detect Mozilla and it does not detect Mozilla. This is an example of bad 
> coding as in not providing an alternate or any form of explanation. It is 
> not a bug within Mozilla as all browsers that are not any of the above 
> should respond as Mozilla does, example = Opera which does the same as 
> Mozilla.
> 
> 


This is precisely why he should file a *Tech Evangelism* bug.

Bugzilla definition of Tech Evangelism bugs : "For reporting web pages 
that must be upgraded to support web standards and Mozilla"

Pascal





Re: display problem with mozilla 0.9.8

2002-02-15 Thread cw

Pascal Chevrel <[EMAIL PROTECTED]> wrote in news:3C6D42C1.1000101
@free.fr:

> Sorry for writing in French, I am just explaining that this page uses 
> proprietary NS4 tags and that he should file a Tech Evangelism bug in 
> bugzilla.

Not really, the script is designed to detect Internet Explorer versions 4 
and 5. It is also designed to detect Netscape 4.x. It is not designed to 
detect Mozilla and it does not detect Mozilla. This is an example of bad 
coding as in not providing an alternate or any form of explanation. It is 
not a bug within Mozilla as all browsers that are not any of the above 
should respond as Mozilla does, example = Opera which does the same as 
Mozilla.

-- 
Colin
*Drop DEAD from the email address to reply*




Re: display problem with mozilla 0.9.8

2002-02-15 Thread cw

Arnaud <[EMAIL PROTECTED]> wrote in [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:

> Pratik,
> sorry, but I do not understand we you wanted to show me.
> 
> I indeed have this error in the javascript consol. Thus, I suppose this
> is a 
> 
> javascript problem. But why this page display correctly with IE6?
> 
> Is it an already known bug of mozilla, or do I miss something?

You missed something.
The javascript does a browser check and then does different things depending 
upon the browser detected. In other word the author wrote versions tailored 
to specific browsers but Mozilla was not on of them. The code concerned is:

isM = (NS4 || (IE4 && !isMac) || (IE5 && isMac));

The Array MT is declared, however it is declared as such:

if (isM) {
MT = new Array(7);MA = new Array(7);
}

I snipped most of the initilisation code etc because it isn't needed.

In Internet Explorer the following values are returned:

document.layers = undefined
document.all = [object]
This results in isM = true and MT is therefore declared.

In Netscape 4.x the following values are returned:

document.layers = [object LayerArray]
This also results in isM = true and MT is thereforce declared

In Mozilla (and, incidentally also in Opera) this is what happens:

document.layers = undefined
document.all = undefined
This results in isM = undefined therefore MT is not declared.

If memory serves me correctly, document.layers and document.all are both 
proprietary commands. It is therefore no surprise that they do not work in 
anything except the browser that they were created in (remember, current 
Mozilla is very different to old Netscape).

If you want to test the variables for yourself I put up a little test 
script:

http://www.fidei.co.uk/test.html

-- 
Colin
*Drop DEAD from the email address to reply*




Re: display problem with mozilla 0.9.8

2002-02-15 Thread Neil M.

a wrote:
> This page does not display correctly:
> http://www.client.bouygtel.com/forfait.html
> 
> I have no such problem with IE6.

I believe the problem lies in the sites use of JavaScript.  Just looking 
at the first chunk of code they have this:


NS4 = (document.layers);
IE4 = (document.all);
ver4 = (NS4 || IE4);
IE5 = (IE4 && navigator.appVersion.indexOf("5.")!=-1);
isMac = (navigator.appVersion.indexOf("Mac") != -1);
isM = (NS4 || (IE4 && !isMac) || (IE5 && isMac));


Now the first line will fail as there is no document.layers object
The 2nd line will fail as there is no document.all object
Because of the first 2 lines failing to pass their tests the 3rd line 
will fail.
Because the lines above it failed the 4th line will fail.
Since I'm on windows the 5th line will fail.
And since mozilla didn't pass the previous 5 lines of code, the 6th line 
will fail.

I'm sure it just gets worse from there :)





Re: display problem with mozilla 0.9.8

2002-02-15 Thread Pascal Chevrel

Sorry for writing in French, I am just explaining that this page uses 
proprietary NS4 tags and that he should file a Tech Evangelism bug in 
bugzilla.


Salut Arnaud,

La page que tu viens d'indiquer est codée avec les pieds, il y a un 
script débile de détection de navigateur au départ qui déduit que tu 
utilises Netscape 4 et qui t'affiche la page avec des balises 
propriétaires abandonnées par Netscape depuis 1998.

Ce qu'il faudrait faire c'est créer ce qu'on appelle un "tech evangelism 
bug" dans Bugzilla, la base de données des bugs de Mozilla, ça revient à 
indiquer à un responsable de Netscape que ce site est mal codé et il 
peut ensuitecontacter le responsable du site pour lui demander de 
régler le problème (en plus, Tristan, le responsable pour l'Europe de 
l'ouest est très sympa).

Pascal


Arnaud wrote:
> Pratik,
> sorry, but I do not understand we you wanted to show me.
> 
> I indeed have this error in the javascript consol. Thus, I suppose this is a
> 
> javascript problem. But why this page display correctly with IE6?
> 
> Is it an already known bug of mozilla, or do I miss something?
> 
> Regards,
> Arnaud.
> 
> Pratik wrote:
> 
> 
>>Open up Tasks->Tools->javascript Console and you'll see the problem
>>
>>Error: MT is not defined
>>Source File: http://www.client.bouygtel.com/forfait.html
>>Line: 70
>>
>>Pratik.
>>
>>On 02/15/2002 09:21 AM, a wrote:
>>
>>>This page does not display correctly:
>>>http://www.client.bouygtel.com/forfait.html
>>>
>>>I have no such problem with IE6.
>>>
>>>Regards,
>>>Arnaud.
>>>
>>>
> 
> --
> --
> Arnaud Legout, Ph.D.
> 
> Castify NetworksPhone : 00.33.4.92.94.20.91
> 2229, route des Cretes  Fax   : 00.33.4.92.94.20.88
> 06560 Sophia Antipolis  E-mail: [EMAIL PROTECTED]
> FRANCE  Web   : http://www.castify.net
> --
> 
> 
> 





Re: display problem with mozilla 0.9.8

2002-02-15 Thread Arnaud

Pratik,
sorry, but I do not understand we you wanted to show me.

I indeed have this error in the javascript consol. Thus, I suppose this is a

javascript problem. But why this page display correctly with IE6?

Is it an already known bug of mozilla, or do I miss something?

Regards,
Arnaud.

Pratik wrote:

> Open up Tasks->Tools->javascript Console and you'll see the problem
>
> Error: MT is not defined
> Source File: http://www.client.bouygtel.com/forfait.html
> Line: 70
>
> Pratik.
>
> On 02/15/2002 09:21 AM, a wrote:
> > This page does not display correctly:
> > http://www.client.bouygtel.com/forfait.html
> >
> > I have no such problem with IE6.
> >
> > Regards,
> > Arnaud.
> >

--
--
Arnaud Legout, Ph.D.

Castify NetworksPhone : 00.33.4.92.94.20.91
2229, route des Cretes  Fax   : 00.33.4.92.94.20.88
06560 Sophia Antipolis  E-mail: [EMAIL PROTECTED]
FRANCE  Web   : http://www.castify.net
--






Re: display problem with mozilla 0.9.8

2002-02-15 Thread Pratik

Open up Tasks->Tools->javascript Console and you'll see the problem

Error: MT is not defined
Source File: http://www.client.bouygtel.com/forfait.html
Line: 70

Pratik.

On 02/15/2002 09:21 AM, a wrote:
> This page does not display correctly:
> http://www.client.bouygtel.com/forfait.html
> 
> I have no such problem with IE6.
> 
> Regards,
> Arnaud.
> 
> --
> --
> Arnaud Legout, Ph.D.
> 
> Castify NetworksPhone : 00.33.4.92.94.20.91
> 2229, route des Cretes  Fax   : 00.33.4.92.94.20.88
> 06560 Sophia Antipolis  E-mail: [EMAIL PROTECTED]
> FRANCE  Web   : http://www.castify.net
> --
> 
> 
> 





display problem with mozilla 0.9.8

2002-02-15 Thread a

This page does not display correctly:
http://www.client.bouygtel.com/forfait.html

I have no such problem with IE6.

Regards,
Arnaud.

--
--
Arnaud Legout, Ph.D.

Castify NetworksPhone : 00.33.4.92.94.20.91
2229, route des Cretes  Fax   : 00.33.4.92.94.20.88
06560 Sophia Antipolis  E-mail: [EMAIL PROTECTED]
FRANCE  Web   : http://www.castify.net
--