If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

cem.ac.uk - javascript css changing wrong

VERIFIED FIXED

Status

Tech Evangelism Graveyard
English Other
P4
normal
VERIFIED FIXED
17 years ago
3 years ago

People

(Reporter: Joseph Wang, Assigned: Tristan Nitot)

Tracking

Details

(URL)

(Reporter)

Description

17 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.4-6mdk i586; en-US; rv:0.9+)
Gecko/20010530
BuildID:    2001053021

If I look at this page with netscape 4.77 I get pull down menu.
They don't exist under mozilla

Reproducible: Always
Steps to Reproduce:
1.run with netscape 4.77
2.run with mozilla
3.compare

Actual Results:  I get randowm text in the screen and some console javascript errors

Comment 1

17 years ago
From the javascript source:

var JDWMinNS4   = (navigator.appName.indexOf("Netscape") >= 0 &&
parseFloat(navigator.appVersion) >= 4) ? 1 : 0;
var JDWMinNS6   = (navigator.appName.indexOf("Netscape") >= 0 &&
parseFloat(navigator.appVersion) == 6) ? 1 : 0;
var JDWMinIE4   = (document.all) ? 1 : 0;
var JDWMinIE5   = (JDWMinIE4 && navigator.appVersion.indexOf("5.")  >= 0) ? 1 : 0;
var JDWMinIE55  = (JDWMinIE5 && navigator.appVersion.indexOf("5.5") >= 0) ? 1 : 0;

The script only detects Netscape 4/6, IE4/5/5.5.
Not Mozilla

-> Evangelism
Assignee: rogerl → bclary
Status: UNCONFIRMED → NEW
Component: Javascript Engine → Evangelism
Ever confirmed: true
QA Contact: pschwartau → zach

Updated

17 years ago
Priority: -- → P4

Comment 2

17 years ago
-> Intl Team
Assignee: bclary → nitot
QA Contact: zach → momoi

Updated

16 years ago
Component: Evangelism → European
Product: Browser → Tech Evangelism
Version: other → unspecified

Comment 3

16 years ago
Moving to new component "West Europe".  European component is being removed. 
See bug 95808 for details.
Component: European → West Europe
QA Contact: momoi → caillon
Summary: javascript pulldown menus non-functional → cem.ac.uk - javascript pulldown menus non-functional

Updated

16 years ago
Blocks: 113492

Updated

16 years ago
No longer blocks: 113492

Comment 4

16 years ago
http://www.cem.ac.uk/overlib.js now sets ns6 to mozilla as well. However, the
upper table cells have this code:

<td onmouseover="this.style.background='ffff99'"
onmouseout="this.style.background='lightblue'">

Which is wrong
OS: Linux → All
Summary: cem.ac.uk - javascript pulldown menus non-functional → cem.ac.uk - javascript css changing wrong

Comment 5

16 years ago
Note: there is an upgrade of overlib available which claims full CSS support.  
(I have not verified this)

http://www.bosrup.com/web/overlib/

Still, they should fix their code to contain the correct colors, eg. "#ffff99"
-- is "lightblue" a valid color keyword?  It sounds like it may be...
works perfect.
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED

Comment 7

15 years ago
v
Status: RESOLVED → VERIFIED

Comment 8

15 years ago
tech evang june 2003 reorg
Component: Europe: West → English Other
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.