Closed Bug 182951 Opened 22 years ago Closed 15 years ago

svt.se - scroll box broken in Netscape7 and Moz 1.2 (1.2a and all previous versions)

Categories

(Tech Evangelism Graveyard :: Other, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: baulv, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021127
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021127

java script error: document.Div.Visible.Box ahs no properties


Reproducible: Always

Steps to Reproduce:
1.navigate to web-page 
2.click on scroll box
3. nothing happens

Actual Results:  
nothing happens

Expected Results:  
text should scroll, Disabling java displays the whole text
The site document.writes() this element:

       <div id='DivVisibleBox'>

and then tries to access it in the following way in 
http://www.svt.se/granskning/Javascript/scrollbox.js:


function moveIt(y)
{
  varY = y;

  if(isIE)
    document.all['DivTextBox'].style.top = varY;
  else
    document.DivVisibleBox.document.DivTextBox.top = varY;
}


The non-IE branch is coded incorrectly. For Mozilla or any other
W3C-compliant browser, they need to  do 

    document.getElementById('DivVisibleBox') etc. etc.


Reassigning to Evangelism component -
Assignee: rogerl → nitot
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → Europe: West
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: pschwartau → brantgurganus2001
Version: Trunk → unspecified
Summary: scroll box broken in Netscape7 and Moz 1.2 (1.2a and all previous versions) → svt.se - scroll box broken in Netscape7 and Moz 1.2 (1.2a and all previous versions)
this web-site cleaned up their act and fixed this bug, many others remain on
this web-site.
Why this disparity between Mozilla (supposing it adheres to W3 standards) and a
web-site 
written for IE-products? Is this the convicted Monopoly in action? Or just poor
java programmming?

move...
Component: Europe: West → Other
other default owner
Assignee: nitot → other
QA Contact: brantgurganus2001 → other
404
Status: NEW → RESOLVED
Closed: 15 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.