Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Beginners question regarding FRAMES
April 14, 2005, 8:51 am
rate this thread
Can anyone help me with a problem I am having in using FRAMES.
I have a web page split into 3 frames as follows:
<FRAME frameborder="0" framespacing="0" border="0" src="top.html"
<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:
<FRAME frameborder="0" scrolling = "no" src="chat.html">
<FRAME frameborder="0" src="blank.html" name="bottom">
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: 'window.top.bottom' 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
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.
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).
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/
Home is where the ~/.bashrc is