Closed Bug 57382 Opened 24 years ago Closed 23 years ago

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

Categories

(Tech Evangelism Graveyard :: English US, defect, P3)

All
Linux

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: primorec, Assigned: bc)

References

()

Details

Attachments

(3 files)

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
Attached image URL seen by Mozilla M18
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
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
-> evangelism@telocity.com for my evangelism bugs.

removing the now-depreciated evangelism-related keywords.

setting platform to All.
Assignee: blakeross → evangelism
Hardware: PC → All
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
Closed: 23 years ago
Resolution: --- → FIXED
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.

Attachment

General

Creator:
Created:
Updated:
Size: