473,403 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Beginners question regarding FRAMES

Ian
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"
name="main">
</FRAMESET>
</FRAMESET>
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">
</FRAMESET>

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
clicked:

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?

Jul 24 '05 #1
2 1706
Ian wrote:
Can anyone help me with a problem I am having in using 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.

http://www.allmyfaqs.com/faq.pl?Prob...h_using_frames
Error: 'window.top.bottom' is null or not an object


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
comp.lang.javascript.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 24 '05 #2
On Thu, 14 Apr 2005, Ian wrote:
Can anyone help me with a problem I am having in using FRAMES.


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

"Well then, don't do that."

Jul 24 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: CGuy | last post by:
Hi, I'm trying to implement a custom trace listener. I would like the WriteLine method of this tracelistener to also write out information regarding the method from which Trace was called. For...
34
by: Marian Aldenhövel | last post by:
Hi, I am in the process of embarking on building a large web application. I wanted to seize that opportunity to learn how to use CSS and get rid of my ad-hoc approach to HTML-coding (i.e.: add...
7
by: David Hayes | last post by:
I tried finding an answer on http://www.quirksmode.org/ without success. I am attempting a complicated Frames structure. I have made it work in IE, but not Netscape. I begin with three...
25
by: Steal | last post by:
Hi at all I try to validate this page using the link: http://validator.w3.org/ but it return that this is not a valid HTML 4.01 page please where is it error? Steil <!DOCTYPE HTML PUBLIC...
55
by: Cindy | last post by:
Hello!! I'm new at access and there's is an article by Arvin Meyer for beginners that is references in Google Groups but I can't seem to find the original post with the article's URL. Does anyone...
7
by: dj Bass | last post by:
simple, they don't like things that restrict the server-side controls... and when it comes to frames, you need client side stuff and that stuff's up the asp.net strategy. right or wrong?
6
by: Chris S | last post by:
Hello All, Just starting out with Python and wxPython. I have two Frames, FrameA and FrameB. FrameA opens FrameB when a button on FrameA is clicked. I can get this. Now I want a button on...
3
by: chowdary | last post by:
hi, I am using frames in my website,main application links are present on the top of page above mainframe, in main window. These links have target=mainframe, thus opening respective pages in...
19
by: Ganesh J. Acharya | last post by:
Hi there, I want to redesign my website and make that look professional. I made this about 6 years ago with very little knowledge of internet. Today I am getting about 4000 visitors a day for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.