Closed Bug 181297 Opened 22 years ago Closed 10 years ago

seagate.com - layer doesn't disappear when it have to

Categories

(Tech Evangelism Graveyard :: English US, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: major, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2) Gecko/20021120
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2) Gecko/20021120

In the page http://support.seagate.com/rma2 there are (probably) two layers. The
first is being showed when data sent in form from
http://support.seagate.com/rma1 is being processed. This layer should disappear
when a confirmation is being showed (this is the second layer). It doesn't
disappear and there are two layers superimposed on each other.

Reproducible: Didn't try

Steps to Reproduce:
1. Go to http://support.seagate.com/customer/warranty_validation.jsp
2. After validation obtain a RMA
3. When you send a form from http://support.seagate.com/rma1 you should see the
problem

Actual Results:  
Two layers were superimposed on each other.

Expected Results:  
The first layer should disappear.
So the steps to reproduce require having a seagate drive on hand? ;)

How about saving the problem page as "web page, complete" and attaching to the bug?
It was impossible to use "save page as" option, so I only copied a source of
this page.
Seagate has part of there page in an area called #waitpage this is the
Processing... part.  After the BODY is loaded, waitforit() is ran.  The purpose
of waitforit() is to turn #waitpage visability to hidden so only one layer is
shown.  I don't know how to do this in javascript to test my theory.

BTW the other layer is #results.
Ah, indeed.  Here is the relevant code:

function waitforit() {
    if (document.layers) { // Netscape methods
      document.waitpage.visibility = 'hide';
    }
    else if (document.all) { // IE methods
      document.all.waitpage.style.visibility = 'hidden';
    }
    else
    {
      // Netscape 6 ?
      var d1 = document.getElementsById('waitpage');
      if (d1) {
        d1.innerHTML = '';
      }
    }
}

Note the typo:  getElementsById instead of getElementById.

Over to evangelism...  The right thing to do would be:

document.getElementById('waitpage').style.visibility = "hidden";

this would work in Mozilla, Opera, IE5+, Konqueror (pretty much anything except
Netscape 4).
Assignee: other → aruner
Status: UNCONFIRMED → NEW
Component: Layout → US Ecommerce
Ever confirmed: true
OS: Windows XP → All
Product: Browser → Tech Evangelism
QA Contact: ian → bclary
Hardware: PC → All
Version: Trunk → unspecified
tech evang june 2003 reorg
Assignee: aruner → english-us
Component: US Ecommerce → English US
QA Contact: bc → english-us
Summary: layer doesn't disappear when it have to → seagate.com - layer doesn't disappear when it have to
URL is obsolete. http://www.seagate.com/www/support/ works fine.
[closeme]
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: