473,765 Members | 2,035 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What's Wrong with My Frame Set

Hi, I'd deeply appreciate if anyone can come out and rescue.

It appears to be a simply problem. But I just can't make it work.

Suppose I set up a frame document like the following (see
http://www.peace-on-earth.org/temp/test.html for actual effect)

<frameset cols="15%,*" frameborder="NO " border="0" framespacing="0 ">
<frame src="blue.html" scrolling="NO" noresize>
<frameset rows="100,*" frameborder="NO " border="0" framespacing="0 ">
<frame src="white.html " scrolling="NO" noresize>
<frame src="gray.html" scrolling="NO" noresize>
</frameset>
</frameset>

In 'white.html' I have a link refer to 'red.html', with
target="_parent ".

What I expect is that when the link is clicked, the 'red.html' will
replace 'white.html' and 'gray.html', but NOT 'blue.html'.
Unfortunately, everything I click it, 'red.html' occupies the entire
window. This effect is similar to target="_top". What's wrong?

Thanks
Len
Jul 23 '05 #1
2 1804
On 29 Aug 2004 19:49:27 -0700, Nuit Blanche <ka****@yahoo.c om> wrote:
Hi, I'd deeply appreciate if anyone can come out and rescue.

It appears to be a simply problem. But I just can't make it work.

Suppose I set up a frame document like the following (see
http://www.peace-on-earth.org/temp/test.html for actual effect)

<frameset cols="15%,*" frameborder="NO " border="0" framespacing="0 ">
<frame src="blue.html" scrolling="NO" noresize>
<frameset rows="100,*" frameborder="NO " border="0" framespacing="0 ">
<frame src="white.html " scrolling="NO" noresize>
<frame src="gray.html" scrolling="NO" noresize>
</frameset>
</frameset>

In 'white.html' I have a link refer to 'red.html', with
target="_parent ".

What I expect is that when the link is clicked, the 'red.html' will
replace 'white.html' and 'gray.html', but NOT 'blue.html'.
Unfortunately, everything I click it, 'red.html' occupies the entire
window. This effect is similar to target="_top". What's wrong?


Not the parent frameset element, the parent document.

You want this new page loaded in two panes, not one, and not as a
replacement for the whole page? I don't think that can be done, as far as
I've seen. Maybe I'm wrong.

Please do refer to the ongoing thread "When frames aren't evil" in this ng
for some thoughts on frame use.

Jul 23 '05 #2
Nuit Blanche wrote:
Hi, I'd deeply appreciate if anyone can come out and rescue.


To answer the subject:
the fact you're using it. 99% of the time, at least.
If you can get your hands on server-side scripting languages, do try to
use them -- much cleaner, and better for search engines too.

--
Google Blogoscoped
http://blog.outer-court.com
Jul 23 '05 #3

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

Similar topics

10
2071
by: G Matthew J | last post by:
interesting "signal vs. noise" blog entry: http://37signals.com/svn/archives2/whats_wrong_with_ajax.php
3
1805
by: Jim Cobban | last post by:
I have a set of web pages that are organized in pairs. One of each pair contains a graphic and the other is an extended description of the graphic. I am trying to set it up that selecting a single hyperlink causes the correct pair of web pages to be loaded into two windows. My current approach is to specify an onload action in the <BODY> tag of one of the pages that requests that the corresponding description page be loaded into the...
4
2230
by: Robert | last post by:
something wrong in wx I wrote program training na Artificial Neural Network. It work well in console mode, but when I try to add GUI there is an error: FANN Error 10: Error reading info from train data file "zapis.txt", line: 2 There is a code: ##### this work ############ #!/usr/bin/python import fann
3
2468
by: qwerty | last post by:
I´m new to ASP.Net. My workmate has some experience with it. He claimed that in ASP.Net working with frames is much simpler than it was ASP. I asked explanation but he couldn't give me such. (a button inside a-tag with attribute target isn't anything new relating ASP.Net, its same old HTML). He claimed that you could change another page´s controls´s property´s value from another frame by using this method: ' Page "Bottom"
10
1722
by: todd_montana | last post by:
Hi there, I have a class that has the private member variable called 'int frame'. I then have a constructor that sets it to 0. Now, inside the constructor i want to increment it by using: frame += 1; I am using frame to load images from an array that creates animation. However, when declaring the above inside the constructor or any member function for that matter, it doesnt increment properly. It will increase by one but not...
3
2191
by: paulgor | last post by:
Hi, May be it's a know issue but my search brought nothing... We have static HTML files with Japanese text in UTF-8 encoding - it's on-line Help for our application, so there are no Web servers involved, just .html and .js on a hard drive. .. Help topics are shown in a frameset (I know, I know, I personally had no idea :)) like this (I made an example): http://RusWin.net/jindex.htm
2
1103
by: John Salerno | last post by:
Here's the full code, but you can probably safely ignore most of it, especially the wxPython stuff: ----------------------------------- import wx class MyFrame(wx.Frame):
0
1179
by: Ian Johnson | last post by:
I am quite new to web development and am struggling with something that seems like it should be fairly simple. I have a page that uses frames. In the left hand frame a menu page is displayed. Clicking on any of the menu optins displays a new page in the right hand frame. So far this works ok, however I have tried to add a drop down option to the menu page. Clicking on any of the dropdown options displays the desired page, but in the left hand...
6
1841
by: Kid Programmer | last post by:
Hello guys. I have a question. What's wrong with my compiler. In a simple number averaging program in a GUI window have way into the project I compile the program and I get the following errors: Severity and Description Path Resource Location Creation Time Id The local variable average is never read NumberAveragerGUI/src/NumberAverager NumberAverager.java line 19 1211932107534 648 The local variable calculate_average is never...
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9399
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10163
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9957
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9835
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8832
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5276
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.