Closed Bug 131588 Opened 24 years ago Closed 24 years ago

bostream.se - Javascript function not found

Categories

(Tech Evangelism Graveyard :: Other, defect)

x86
All
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: per.angstrom, Assigned: tristan)

References

()

Details

(Keywords: testcase, Whiteboard: [eurocontest][SYNTAX-JS][SYNTAX-HTML])

Attachments

(1 file)

The links to the left, under "Nyheter", don't work in Mozilla 0.9.9 and Netscape 6.2.1. The Javascript console says: "loadFrames is not defined", but I can clearly see the function definition in the frame source. The top horizontal menu has a similar implementation, and it works. Note there are three instances of functions called "loadFrames", each in a different frame - can this be part of the problem? There is also an unfortunate mouse-over effect (multi-line links collapsing into one row), but I think that is unrelated.
I forgot to mention that the links work fine in Opera 6.0 B1 for Linux.
Confirming bug with Mozilla trunk binary 20020314xx WinNT. Just as Per says, the function loadFrames() is defined in three places: 1. the parent HTML file ('main.html') 2. the top frame ('top.php') 3. the left frame ('vanster.php') Somehow this is confusing Mozilla. The one from the top frame is recognized, but the one from the left frame is not. We get this error: Error: loadFrames is not defined Source File: javascript:loadFrames('vanster', 'ombonet_meny.php', 'main', 'pressmeddelanden_text7.php'); Line: 1 Here is the frameset structure of the site: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> </head> <frameset cols="*,700,*" border="0" frameborder="0" framespacing="0"> <frame src="blank.html" name="blank" > <frameset rows="122,410,35,*" > <frame src="top.php?sida=0" name="top" name="blank" > <frameset cols="7,145,541,7" name="content" > <frame src="blank.html" name="liten" > <frame src="vanster.php" name="vanster" > <frame src="main.html" name="main" > <!-- frame src="main.php" name="main" --> <frame src="blank.html" name="liten2" > </frameset> <frame src="bottom.php" name="bottom" > <frame src="blank.html" name="blank3" > </frameset> <frame src="blank.html" name="blank2" > </frameset> </html>
Status: UNCONFIRMED → NEW
Ever confirmed: true
I'm not sure of the correct component on this. Note the site uses this doctype: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> Not sure if this is the correct doctype, or if their use of nested framesets is correct; reassigning to HTML Frames for further triage. cc'ing jst, self -
Assignee: rogerl → jkeiser
Component: JavaScript Engine → HTMLFrames
QA Contact: pschwartau → amar
Attached file Testcase
The problem is the TARGET="_main" attribute on the link. This opens a new window where there are no frames, so the loadFrames function fails. If you remove TARGET="_main" it works fine (see testcase). It doesn't work in Opera5 or Nav 4.7x either so I propose Evangelism for this one.
Severity: normal → minor
Keywords: testcase
From comment 5 and comment 3, it sounds like a DOM issue. ->DOM Core
Assignee: jkeiser → jst
Component: HTMLFrames → DOM Core
QA Contact: amar → stummala
Sounds like a evangelism problem to me, we don't treat the target "_main" specially in any way, and I don't think this is enough of a reason to do so...
Assignee: jst → piskozub
Component: DOM Core → Europe: Central
Product: Browser → Tech Evangelism
QA Contact: stummala → pali
Version: other → unspecified
Sweden is Europe: West according to Mozilla. Reassigning.
Assignee: piskozub → nitot
Component: Europe: Central → Europe: West
QA Contact: pali → brantgurganus2001
A new window opened for me, but like the original reporter, I get the following in the JavaScript Console: Error: loadFrames is not defined Source File: javascript:loadFrames('vanster', 'ombonet_meny.php', 'main', 'pressmeddelanden_text12.php'); Line: 1 Since this is a JavaScript issues, I am adding [SYNTAX-JS] and [SYNTAX-HTML] to the status whiteboard since it is an issue with one or the other.
Whiteboard: [eurocontest][SYNTAX-JS][SYNTAX-HTML]
The site has been redesigned, and now it works without any problems.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
I have verified this with 2002052308 on Windows XP Home Edition.
Status: RESOLVED → VERIFIED
move...
Component: Europe: West → Other
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: