Closed Bug 158815 Opened 24 years ago Closed 23 years ago

vub.sk - [LAYER]hideAll is not defined

Categories

(Tech Evangelism Graveyard :: Other, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: marcel, Assigned: pali)

References

()

Details

(Whiteboard: BANK)

Please surf to http://www.vub.sk/ with Mozilla 1.0... This error is displayed: [JavaScript Application] Error: hideAll is not defined File: template.html Line: 0 With IE6.0 page works ok. Evangelism?
Yes, this is Evangelsim. From http://www.vub.sk/Js/std.js: var NS4 = (document.layers); var IE4 = (document.all); var IE5 = (IE4 && navigator.appVersion.indexOf("5.")!=-1); var IE55 = (IE4 && navigator.appVersion.indexOf("5.5")!=-1); var IE = IE4||IE5||IE55; var ver4 = (NS4 || IE4); var isMac = (navigator.appVersion.indexOf("Mac") != -1); var isMenu = (NS4 || (IE4 && !isMac) || (IE5 && !isMac)); Note that in Mozilla, |isMenu| will evaluate to false, since neither |document.layers| nor |document.all| are supported!!! This causes trouble at the given URL: if (isMenu) { document.write("<SCRIPT LANGUAGE='JavaScript1.2' SRC='JS/mil_menu.js' TYPE='text/javascript'><\/SCRIPT>"); } Because |isMenu| is false in Mozilla, this external script never gets Hence all the functions in this file are undefined in Mozilla. Hence all the errors at the site -
Assignee: rogerl → piskozub
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → Europe: Central
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: pschwartau → pali
Version: other → unspecified
There is a typo in my comment above. It should be: "...this external script never gets loaded"
Summary: hideAll is not defined → [LAYER]hideAll is not defined
Reassinging to Pavol. Making myself the QA.
Assignee: piskozub → pali
QA Contact: pali → piskozub
This is Bank. I'll try comunicating with them i the first round.
Status: NEW → ASSIGNED
Whiteboard: BANK
*** Bug 189748 has been marked as a duplicate of this bug. ***
Summary: [LAYER]hideAll is not defined → vub.sk - [LAYER]hideAll is not defined
*** Bug 173011 has been marked as a duplicate of this bug. ***
*** Bug 209644 has been marked as a duplicate of this bug. ***
-> other
Component: Europe: Central → Other
Seems that this page has been redesigned and works ok in Mozilla.
It does not work for me (a zillion JavaScript popup windows). Tested with Mozilla 1.5b on WindowsME.
WFM. Tested in Mozilla 1.5a and Mozilla Firebird 0.6.1 on Win2k. No errors at all. Jacek, can you describe your problem in detail?
I checked from a different computer (same OS & Mozilla version) and I do not see the problem. Strange. Marking as Fixed, then.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.