pakketrans.dk - proprietary DOM coding in clientside javascripts

VERIFIED FIXED

Status

Tech Evangelism Graveyard
Danish
--
major
VERIFIED FIXED
16 years ago
3 years ago

People

(Reporter: Bjarne D Mathiesen, Assigned: Tristan Nitot)

Tracking

Details

(Whiteboard: [PROPRIETARY-JS], URL)

(Reporter)

Description

16 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:0.9.9+) Gecko/20020402
BuildID:    20020402

They are using document.all and document.layers in their scripts.
In other words: they are only coding for the two proprietary DOMs.


Reproducible: Always
Steps to Reproduce:
1. go to the URL given

Actual Results:  no drop-down menus are working

workaround : not possible
Confirming.
They are using old and no w3c compliant javascript code, generated by golive.
Status: UNCONFIRMED → NEW
Ever confirmed: true
(Reporter)

Updated

16 years ago
Summary: proprietary DOM coding in scripts → [pakketrans.dk] proprietary DOM coding in clientside javascripts
Have a fix.
in http://www.pakketrans.dk/pakketrans.asp,
They need to add the following function in their js code :

function IsDOM() { return (document.getElementById) }
function CSDOMStyl(s) { return document.getElementById(s).style; }

Then they need to modify the following functions like this :
function CSSetStyleVis(s,v)
{ 
  if (IsDOM()) CSDOMStyl(s).visibility = (v == 0) ? "hidden" : "visible";
  else if (IsIE()) CSIEStyl(s).visibility = (v == 0) ? "hidden" : "visible";
  else CSNSStyl(s).visibility = (v == 0) ? 'hide' : 'show';
}

function CSGetStyleVis(s)
{
  if (IsDOM()) return (CSDOMStyl(s).visibility == "hidden") ? 0 : 1;
  else  if (IsIE()) return (CSIEStyl(s).visibility == "hidden") ? 0 : 1;
  else return (CSNSStyl(s).visibility == 'hide') ? 0 : 1;
}

.
(Reporter)

Comment 3

16 years ago
Thanks :-)

I'll report the fix to their IT-department first thing tomorrow !!!
(Reporter)

Comment 4

16 years ago
The story is:
They paid a webdesign bureau to do their pages.
The daily maintance is done by their IT-department.
They were aware of the Mozilla/Netscape 6 problem, but the webdesign bureau
would charge them an obscene amount of money to do the fix.

Thus, they have been very happy indeed to have gotten the fix here and have
expressed their thanks to me in a private email.

On their behalf, I'll extend the thanks to all of you here.

The fix has been implemented.
tested and works with 
-- LinuxPPC 2002041723
-- Konqueror under KDE 3.0
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED

Comment 5

16 years ago
Verified
2002042803/WinXP
Status: RESOLVED → VERIFIED
Summary: [pakketrans.dk] proprietary DOM coding in clientside javascripts → pakketrans.dk - proprietary DOM coding in clientside javascripts
Whiteboard: [PROPRIETARY-JS]

Comment 6

15 years ago
resolved euro west non-.com url bugs to other
Component: Europe: West → Other

Updated

14 years ago
Component: Other → Danish
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.