Closed Bug 34587 Opened 25 years ago Closed 25 years ago

Javascript Reload of Frames Misbehaves

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: sterno, Assigned: pollmann)

Details

I am working on a site which uses JavaScript to force the reload of a frame. The technique I'm using works fine under older versions of Netscape and IE, but not under the Netscape Beta. Here's the code in question: <SCRIPT LANGUAGE=JavaScript> parent.frames['side'].document.location=parent.frames['side'].document.locatio n; </SCRIPT> Basically the intention of this is to force the refresh of a navigation frame once a user is logged in (to provide additional options, etc). When I load the page under Mozilla it has two effects: 1) Mozilla loads the content of the log-in page (the one containing the code) into both the main frame and the navigation frame that I wanted to reload. 2) The navigation frame continuously reloads itself (because it keeps calling the javascript reload on itself). I suspect that the problem has something to do with the way frames are functioning but I'm not certain.
not sure if this is a dupe or just related to 18321
sterno@bigbrother.net - are you still seeing this problem with recent builds of Mozilla? Reloading of individual frames is not supported - bug 31578. Gerv
This may be related to bug 18501. Setting window.location doesn't work in some cases for frames. I haven't pinned it down yet.
sterno@bigbrother.net - this may well be fixed by now. Seeing as you haven't provided a test case, can you check if it is, and comment in this bug? Thanks. Gerv
resolving worksforme for now. sterno@bigbrother.net (sterno) please reopen if this is still a problem with a recent build
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Marking verified works for me.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.