Closed Bug 104766 Opened 23 years ago Closed 20 years ago

willas-array.com - popup menus don't work, LAYERS

Categories

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

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: toylet, Unassigned)

References

()

Details

(Whiteboard: [proprietary-html] [dreamweaver 3][china][hong kong])

From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)
BuildID:    2001101117

the popup menu was listed as the top of the page, not like the corresponding 
scree of IE.

Reproducible: Always
Steps to Reproduce:
just browse to http://www.willas-array.com
I'm not sure what to expect from this, but best I can say is worksforme win98
2001101003 ... I don't have the (chinese?) language pack installed in IE5, and
the page rendered and functions identically in IE5 and my moz build ...
try to browse the webpage using IE.
there are popup menus on the map
(not listed above the map).
Your friend cheated.  The URL in Moz goes to
http://www.willas-array.com/prod/welcome/welcome_net.htm .  In IE6 it goes to
http://www.willas-array.com/prod/welcome/welcome.htm .

Moreover, one of his functions in the Nav version is suspicious:

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

(d has been declared as a global value for document.)  Note this line:
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) 

Looks like an evangelism issue to me.  This page was written for Netscape 4.x
browsers.  The Netscape 6.x / Mozilla edition is totally different.  As a
result, this page is throwing quite a few JavaScript errors for the unsupported
layer tag.

I'm going to cc Bob Clary, Netscape's Evangelism expert, on this one.  I'd
appreciate a second opinion.
After discussion in irc.mozilla.org, second opinions do state this is an
Evangelism bug.  Reassigning.  :)
Assignee: pchen → momoi
Status: UNCONFIRMED → NEW
Component: XP Apps → Asian
Depends on: 51020
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: sairuh → ruixu
Version: other → unspecified
No longer depends on: 51020
Blocks: 51020
MM_findObj(n, d) { //v4.0 works in dom html/core.
The problem occurs because the site is not sniffing for
Gecko-based browsers. Instead it is sniffing for IE, Netscape 6.x,
or Netscape 4.x. Thus if you access the site with Netscape 6.x 
browers, you get the right pop-up menu. If you access it with
Mozilla build of the same date, you get served 4.x page.

The site developer should read this useful document to correct
this problem:

http://developer.netscape.com/evangelism/docs/articles/find-gecko/
Willas-Array Electronics has been contacted at:

wae@willas-array.com

Accepting the bug ... will see how the website master responds to 
our request.
Status: NEW → ASSIGNED
Error: document.M1 has no properties
Source File: http://www.willas-array.com/prod/welcome/welcome_smallnet.htm
Line: 77
OS: Windows 98 → All
Priority: -- → P3
Hardware: PC → All
Summary: popup menu could not be handled by the browser → willas-array.com - popup menus don't work, LAYERS
Whiteboard: [proprietary-html] [dreamweaver 3]
The problem is still there. The sit eis maintained by China & Hong Kong
entities. Moving to English-Other.
Assignee: momoi → english-other
Status: ASSIGNED → NEW
QA Contact: ruixu → english-other
Whiteboard: [proprietary-html] [dreamweaver 3] → [proprietary-html] [dreamweaver 3][china][hong kong]
Component: Asian → English Other
Looks fixed for me.

They are still saying "best viewed with IE 4.0", though.
WFM
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.