Frameset behavior seems to be inconsistent and troublesome, probably one
more reason to replace them with tables as suggested by a recent posting by
Joel.
Going by the docs, I can't see a load() method which can understand
***load("myNewFS","_top")***
load(String, String) is
public int load(String targetHtmlFrameSetName,
String targetHtmlFrameName)
which means load page in targetHtmlFrameName, part of
targetHtmlFrameSetName.
Whenever I try loading a frameset using the above method, it always loads on
the window top, by default. (I am using Netscape Navigator 4.04)
However, if you can replace the button with an Href and have an extraHtml
TARGET=_TOP, you are very likely to get to the top of the window.
Good luck.
Aby
-----Original Message-----
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent: Friday, April 09, 1999 10:34 AM
To: [EMAIL PROTECTED]
Subject: [ND] how to load a new frameset in "_top" from a
button click in a specific frame?
I am about fed up with ND and frames.
I am trying to do the following:
I currently have a frameset with 4 frames loaded into the browser
window. When I click
a button in one of the windows, I want a new frameset to be
loaded in the browser
window. (I have resorted to loading entire framesets
because I couldn't get specific
frames to load correctly.)
When the button is clicked, I return the command
load("myNewFS","_top"). It insists on loading the frameset in the window
from which the button was clicked.
I have tried all kinds of things, and have not had any luck.
Can anyone shed any light on this?
Thanks!
- Darby O'Connor
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]