Beginners question regarding FRAMES

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Can anyone help me with a problem I am having in using FRAMES.

I have a web page split into 3 frames as follows:

<FRAMESET rows="80,*">
<FRAME frameborder="0" framespacing="0" border="0" src="top.html"
name="top" scrolling="no">
<FRAMESET cols="180,*">
   <FRAME frameborder="0" framespacing="0" border="0" src="left.php">
   <FRAME frameborder="0" framespacing="0" border="0" src="main.html"

The menu options which the user has access to are all within the left
hand frame and their results appear in the "main" part of the screen.
Everything works fine until I try to add an option which further splits
the main area into two further FRAMES.

For example, I have added an option in the "left" frame which directs
the following to the "main" frame:

<FRAMESET rows="60,*">
      <FRAME frameborder="0" scrolling = "no" src="chat.html">
      <FRAME frameborder="0" src="blank.html" name="bottom">

The top half of the "main" frame (chat.html) now contains a javascript
menu which should further target events to happen in the "bottom" part
of the "main" frame but generates an error when using IE which says when

Error: '' is null or not an object

I'm sure that I must be doing something wrong but am new to FRAMES so
would appreciate any help in sorting the problem out.  Is it maybe that
I can't set further FRAMES in an existing FRAME perhaps and if so is
there a way round this?

Re: Beginners question regarding FRAMES

Ian wrote:

Quoted text here. Click to load it

Not using frames is almost certainly the best option. They cause more
problems then they solve, and solve no significant problems not better
solve by other technology.

Quoted text here. Click to load it

Top is, IIRC, a keyword so you are probably hitting a namespace conflict.
Its also a very bad name for a frame (since names of things should
represent their purpose, not their layout).

This is a JavaScript question BTW, and should have been directing at

David Dorward       < <
                     Home is where the ~/.bashrc is

Re: Beginners question regarding FRAMES

On Thu, 14 Apr 2005, Ian wrote:

Quoted text here. Click to load it

"Doctor, it hurts when I bend my leg like this."

"Well then, don't do that."

Site Timeline