Closed
Bug 131588
Opened 24 years ago
Closed 24 years ago
bostream.se - Javascript function not found
Categories
(Tech Evangelism Graveyard :: Other, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: per.angstrom, Assigned: tristan)
References
()
Details
(Keywords: testcase, Whiteboard: [eurocontest][SYNTAX-JS][SYNTAX-HTML])
Attachments
(1 file)
|
511 bytes,
text/html
|
Details |
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.
| Reporter | ||
Comment 1•24 years ago
|
||
I forgot to mention that the links work fine in Opera 6.0 B1 for Linux.
Comment 2•24 years ago
|
||
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
Comment 3•24 years ago
|
||
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
Comment 4•24 years ago
|
||
Comment 5•24 years ago
|
||
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
Comment 6•24 years ago
|
||
Assignee: jkeiser → jst
Component: HTMLFrames → DOM Core
QA Contact: amar → stummala
Comment 7•24 years ago
|
||
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
Comment 8•24 years ago
|
||
Sweden is Europe: West according to Mozilla. Reassigning.
Assignee: piskozub → nitot
Component: Europe: Central → Europe: West
QA Contact: pali → brantgurganus2001
Comment 9•24 years ago
|
||
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]
| Reporter | ||
Comment 10•24 years ago
|
||
The site has been redesigned, and now it works without any problems.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 11•24 years ago
|
||
I have verified this with 2002052308 on Windows XP Home Edition.
Status: RESOLVED → VERIFIED
Updated•11 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•