Closed Bug 111254 Opened 23 years ago Closed 22 years ago

posten.se - dynamic menus don't work in Mozilla and Netscape 6

Categories

(Tech Evangelism Graveyard :: Other, defect, P2)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: per.angstrom, Assigned: tristan)

References

()

Details

(Whiteboard: [PROPRIETARY-DOM])

The website for Posten.se, the Swedish Mail, doesn't work very well with Mozilla
and Netscape 6; the dynamic menus don't work, which makes a lot of functionality
unavailable.

Here is just one example: On the page
<URL:http://www.posten.se/privat/index.jsp>, a menu should drop down when you
click the bar labelled "Meny", but that doesn't happen.

In the file <URL:http://www.posten.se/js/menuPrivat.js> we can see that the
browser detection is very crude:
>ns = document.layers;
>ie = document.all;

BTW, they also have a Y2K problem in Mozilla, which can be seen on the page
<URL:http://hitta.posten.se/>.

When I contacted them, they said they are working on supporting "Netscape", but
it was a very vague statement, and maybe they can need some help.
Yeah they sniff us bad.  the variables 'ns' and 'ie' both get set to undefined
which return false since we don't do document.layers or document.all.

The Y2K problem is because they use getYear() instead of getFullYear(). 
getYear() returns the current year minus 1900, which is 101.  getFullYear()
obviously returns 2001.  They try to accomodate for it by saying 
if(ns) {
  if(year < 2000) {
    year += 1900
  }
}

but since they sniff us incorrectly, that code obviously doesn't work.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [PROPRIETARY-DOM]
Per : can you tell us who you have contacted, and how ? I could re-use this
information. Thanks.

Confirming on Moz 096 Win2K. 

Contact info : kundtjanst@posten.se 
Phone : +46 8 23 22 21 
Setting P2.
Sent Web Evang letter. Accepting bug.
Status: NEW → ASSIGNED
Priority: -- → P2
Setting target to December.
Target Milestone: --- → Dec
I have been in e-mail contact with two people at Posten's Customer Services, in
 response to the messages I have sent to <mailto:webmaster@posten.se>. I suspect
that these people are intermediaries without direct decision power. Therefore, I
will not give out their names in this public forum, although I can do so in
private correspondance. 

However, I have found an e-mail address that may be of interest:
<mailto:Webbgrupp@posten.se>. I have no names of people working in that group.
re-sent mesage to lena.hultberg@posten.se
Another copy to Webbgrupp@posten.se.
Blocks: 113492
No longer blocks: 113492
The entire site has been redesigned, and now the new menus work perfectly. A
quick browse on the site also indicates that it works overall very well with
Mozilla.

Per, please resolve if you agree that the menus are fixed.
With pleasure, I hereby resolve the bug as FIXED. Actually, the DHTML is gone,
which in my opinion was the best possible fix they could come up with. Bravo!
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
v
Status: RESOLVED → VERIFIED
move...
Component: Europe: West → Other
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.