citroen-web.com - [LAYER] I get a blank screen

VERIFIED FIXED

Status

Tech Evangelism Graveyard
English US
P3
major
VERIFIED FIXED
18 years ago
3 years ago

People

(Reporter: Igor Furlan, Assigned: bc)

Tracking

Details

(URL)

Attachments

(3 attachments)

(Reporter)

Description

18 years ago
If you click on this URL
http://www.citroen-web.com/
you will get blank screen

This page works with NEtscape 4.73 for Linux and MSIE5.0 for windows

I  found the following text in the source of the page.
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">

Perhaps THIS explains everything

Sincerely

Igor
(Reporter)

Comment 1

18 years ago
Created attachment 17583 [details]
URL seen by MSIE5.0 ( how it should be )
(Reporter)

Comment 2

18 years ago
Created attachment 17584 [details]
URL seen by NS4.73 (page is OK  animation is NOT OK)
(Reporter)

Comment 3

18 years ago
Created attachment 17585 [details]
URL seen by Mozilla M18

Comment 4

18 years ago
All the text an graphics in this site are contained inside <p> tags with the
visibility set to 'hidden' initially.
If I understand things correctly, netscape 4 will show content that has a
visibilty of 'hidden', as it expectes a value of 'hide'.
When the site loads a function is called which shows the content.
This function looks for IE and Netscape and sets the visibilty to 'visible' if
the browser is IE, otherwise it leaves the visibility as is.
Therefore for Mozilla, which understands a visbilty of 'hidden', the content
will never become visbile.
Summary: I get a blank screen → I get a blank screen

Comment 5

18 years ago
When NN4.7 loads this Web page, you see no errors in the JavaScript console. 
However in Mozilla, you see this in the JavaSript console: 


                 Error:       doc_els has no properties
                 Source file: http://www.citroen-web.com/animate.js
                 Line:        105



As Conor was saying, the HTML detects IE4 correctly, and it will detect
NN4.7 correctly, but it doesn't detect Mozilla and therefore exits early
out of the key animation function. Here is a sample of the code: 


function dynAnimation(obj)
{
   animateElements = new Array()
   var ms = navigator.appVersion.indexOf("MSIE")
   ie4 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4)

   if(!ie4)
   {
      if((navigator.appName == "Netscape") &&
                   (parseInt(navigator.appVersion.substring(0, 1)) >= 4))

              doc_els=document.layers
      else
              return
   }
   else
      doc_els=document.all


                    etc. 
                    etc. 



We can see from this that doc_els will never gets defined in N6/Mozilla.
NN4.7 supported document.layers, but N6/Mozilla doesn't, as per the W3C spec.
See bug 50711 comment 2000-08-29 15:10 for references. 


Reassigning to Evangelism component - 
Assignee: rogerl → blakeross
Component: Javascript Engine → Evangelism
QA Contact: pschwartau → zach
Summary: I get a blank screen → [LAYER] I get a blank screen
Confirming as Layer bug.
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 7

18 years ago
-> evangelism@telocity.com for my evangelism bugs.

removing the now-depreciated evangelism-related keywords.

setting platform to All.
Assignee: blakeross → evangelism
Hardware: PC → All

Comment 8

17 years ago
Reassigning evangelism bugs to bclary@netscape.com.
Assignee: evangelism → bclary
Arun, I'm giving you all the Linux bugs. If these bugs can be confirmed for
other OS's please (someone) change the Platform/OS to All/All and reassign to
the default Evangelism Component Owner.
Assignee: bclary → aruner
All Evangelism Bugs are now in the Product Tech Evangelism. See bug 86997 for
details.
Component: Evangelism → US English
Product: Browser → Tech Evangelism
Version: other → unspecified
Arun, I am taking your Linux bugs minus banks. Hope you don't mind.
Assignee: aruner → bclary
Summary: [LAYER] I get a blank screen → citroen-web.com - [LAYER] I get a blank screen
fixed, as site is dead, domain now points to one of those low cost domain sellers.
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED

Comment 13

17 years ago
may it rest in peace
Status: RESOLVED → VERIFIED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.