W3C home > Mailing lists > Public > site-comments@w3.org > October 2001

Site Example Suggestion

From: Douglas Moffatt <dougmoffatt@home.com>
Date: Mon, 22 Oct 2001 14:01:14 -0400 (EDT)
Message-ID: <001101c15b22$9c6eb040$0201a8c0@oawh1.on.home.com>
To: <site-comments@w3.org>
On your page http://www.w3.org/TR/html401/present/frames.html#adef-target 

it seems to me that the page mentioned (see below) as "Then, in init_dynamic.html ..." is not a great example. It would be more logical to have the targeted links in "init_fixed.html" or to have a simple "Next" link at the bottom of each dynamic page. As given, clicking on "slide 2." or"slide 3." are alternative actions, not sequential as is suggested by this structure.

Douglas Moffatt



<<This example illustrates how targets allow the dynamic modification of a frame's contents. First we define a frameset in the document frameset.html, shown here:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
   "http://www.w3.org/TR/html4/frameset.dtd">
<HTML>
<HEAD>
<TITLE>A frameset document</TITLE>
</HEAD>
<FRAMESET rows="50%,50%">
   <FRAME name="fixed" src="init_fixed.html">
   <FRAME name="dynamic" src="init_dynamic.html">
</FRAMESET>
</HTML>

Then, in init_dynamic.html, we link to the frame named "dynamic".

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE>A document with anchors with specific targets</TITLE>
</HEAD>
<BODY>
...beginning of the document...
<P>Now you may advance to 
    <A href="slide2.html" target="dynamic">slide 2.</A>
...more document...
<P>You're doing great. Now on to
    <A href="slide3.html" target="dynamic">slide 3.</A>
</BODY>
</HTML>
>>
Received on Tuesday, 23 October 2001 00:23:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:26 GMT