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

RESOLVED INVALID

Status

Tech Evangelism Graveyard
English US
RESOLVED INVALID
16 years ago
3 years ago

People

(Reporter: Jordan Matuszek, Unassigned)

Tracking

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

16 years ago
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?
(Reporter)

Comment 2

16 years ago
Created attachment 107055 [details]
a copy of the problem page

It was impossible to use "save page as" option, so I only copied a source of
this page.

Comment 3

16 years ago
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

Comment 5

15 years ago
tech evang june 2003 reorg
Assignee: aruner → english-us
Component: US Ecommerce → English US
QA Contact: bc → english-us

Updated

15 years ago
Summary: layer doesn't disappear when it have to → seagate.com - layer doesn't disappear when it have to

Comment 6

5 years ago
URL is obsolete. http://www.seagate.com/www/support/ works fine.
[closeme]
Status: NEW → RESOLVED
Last Resolved: 4 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.