- From: May Haydar <may.haydar@crim.ca>
- Date: Thu, 11 Aug 2005 11:25:48 -0400
- To: www-html@w3.org
- Message-ID: <42FB6DFC.7050904@crim.ca>
Hi,
I have a question concerning the meaning of the predefined target
_parent. In the specs, the following is written:
_parent
The user agent should load the document into the immediate FRAMESET
<http://www.w3.org/TR/REC-html40/present/frames.html#edef-FRAMESET>
parent of the current frame. This value is equivalent to _self if
the current frame has no parent.
It is unclear whether the immediate frameset parent is the frameset
document in which the frame (where the target _parent exists) is
defined, or is it the frameset tag under which the frame was defined. As
an illustration, consider the following example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<HTML>
<HEAD>
<TITLE>A simple frameset document</TITLE>
</HEAD>
<FRAMESET cols="20%, 80%">
<FRAMESET rows="100, 200">
<FRAME name="frameA" src="contents_of_frame1.html">
<FRAME name="frameB" src="contents_of_frame2.gif">
</FRAMESET>
<FRAME name="frameC" src="contents_of_frame3.html">
</FRAMESET>
</HTML>
If the page contents_of_frame1.html in FrameA contains a link with
target _parent, is the page then displayed in the full window replacing
all the 3 frames, or should it be the case that the page is displayed in
the frameset area of only frameA and frameB while frameC is still apparent.
In other words, is the grahpical area of the inner frameset <FRAMESET
rows="100, 200"> affected by the target, or is it the area of the outer
frameset <FRAMESET cols="20%, 80%"> the one affected.
Thank you and regards,
May
Received on Friday, 12 August 2005 06:33:49 UTC