Closed Bug 63860 Opened 24 years ago Closed 23 years ago

[LAYER] java script does not work (www.tuniv.szczecin.pl)

Categories

(Tech Evangelism Graveyard :: Polish, defect, P4)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: milcarz, Assigned: piskozub)

References

()

Details

(Whiteboard: CentralEurope)

Attachments

(1 file, 1 obsolete file)

Under IE or Netscape 4.5* this page work with java script, but under mozilla 0.6
nothing appears :-(
top right menu use layers to display submenus.
Assignee: rogerl → evangelism
Component: Javascript Engine → Evangelism
QA Contact: pschwartau → zach
Summary: java script does not work → [LAYER] java script does not work
Marking "new". Reporter, this site uses non-standard javascript/html code that
is not supported by Mozilla/Netscape 6, and will never be. Could you please
contact the webmaster to let him know about it?
When/if the page is fixed to be standards-compliant, could you please drop a
comment here saying the page has been fixed?
Thank you a lot,
Fabian.
Severity: major → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows NT → All
Hardware: PC → All
The bug is not is not in Mozilla, but in the page itself. Thus marking INVALID.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Actually, this should be reopened. The evangelism component is for bugs 
like these. We let the webmaster know about the problem and ask them 
to fix it. Reopening.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
This web site uses the JavaScript code (ps.js) to create a set of

* DIV elements

When mouse over the handlers (text menu) the JavaScript function changeLayer is
called (ps.js).

Currently changeLayer supports NS4 and IE. It's not a complex page. It basically
changes visibility.

Suggestions:

* They should use the Ultimate Client Sniffer:
http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html

* to create an additional statement supporting the Standards:

For example pieces of code like: (today)

     if (NS4) {
        document.layer1.visibility = "hide";
          document.layer2.visibility = "hide";
          document.layer3.visibility = "hide";
          document.layer4.visibility = "hide";
          document.layer5.visibility = "hide";
        }
          if (IE4) {
        document.all.layer1.style.visibility = "hidden";
          document.all.layer2.style.visibility = "hidden";
          document.all.layer3.style.visibility = "hidden";
          document.all.layer4.style.visibility = "hidden";
          document.all.layer5.style.visibility = "hidden";
        }

should be more like:

     if (is_nav4up) {
        document.layer1.visibility = "hide";
          document.layer2.visibility = "hide";
          document.layer3.visibility = "hide";
          document.layer4.visibility = "hide";
          document.layer5.visibility = "hide";
        }
          if (is_ie4up) {
        document.all.layer1.style.visibility = "hidden";
          document.all.layer2.style.visibility = "hidden";
          document.all.layer3.style.visibility = "hidden";
          document.all.layer4.style.visibility = "hidden";
          document.all.layer5.style.visibility = "hidden";
        }
        if(is_gecko) {

	document.getElementById("layer1").style.visibility="hidden";

	document.getElementById("layer2").style.visibility="hidden";

	document.getElementById("layer3").style.visibility="hidden";

	document.getElementById("layer4").style.visibility="hidden";

	document.getElementById("layer5").style.visibility="hidden";

	}

----
Reassigning evangelism bugs to bclary@netscape.com.
Assignee: evangelism → bclary
Status: REOPENED → NEW
Priority: -- → P4
-> Intl
Assignee: bclary → nitot
QA Contact: zach → momoi
Component: Evangelism → European
Product: Browser → Tech Evangelism
Version: other → unspecified
Whiteboard: CentralEurope
-> CentralEurope
Assignee: nitot → piskozub
Component: European → Central Europe
QA Contact: momoi → pali
Status: NEW → ASSIGNED
Thanks /\/\arcio. Using your comment I created a corrected ps.js file that works
with the page. I'll attach it to the page and send notce to the webadmin.

I have no idea how I did that with no JavaScript coding experience ;-) Well, C++
and FORTRAN helped a little. I also used Mozilla detection from this very good
page: http://www.the-cool-place.co.uk/javascript/tutorial/javascript1.html
Attachment #51271 - Attachment is obsolete: true
The page author has been contacted.
Summary: [LAYER] java script does not work → [LAYER] java script does not work (www.tuniv.szczecin.pl)
http://www.ps.pl/index1.html is fixed, though we are terribly slow on that page
Status: ASSIGNED → RESOLVED
Closed: 24 years ago23 years ago
Resolution: --- → FIXED
Verifying fixed. 

BTYW, the page is slow IMHO due to low bandwith, not Mozilla fault.
Status: RESOLVED → VERIFIED
tech evang june 2003 reorg
Component: Europe: Central → Polish
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: