Closed Bug 137594 Opened 24 years ago Closed 24 years ago

pakketrans.dk - proprietary DOM coding in clientside javascripts

Categories

(Tech Evangelism Graveyard :: Danish, defect)

PowerPC
Mac System 9.x
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mac.bjarnedm, Assigned: tristan)

References

()

Details

(Whiteboard: [PROPRIETARY-JS])

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
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; } .
Thanks :-) I'll report the fix to their IT-department first thing tomorrow !!!
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
Closed: 24 years ago
Resolution: --- → FIXED
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]
resolved euro west non-.com url bugs to other
Component: Europe: West → Other
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.