 |
 |
 |
Hi All,
I took another Joe Burn's "HTML Goodies" example, AdvFrames.html, and
upgraded it to XHTML. I tested it on WinXP-Pro/SP2. AdvFrames.html
displays a window with seven frames, which are in turn populated with
FrmX.html, with X=1,2,...,7. IE displays this perfectly. Firefox displays
content only in the first frame.
I validated all eight html files with OxygenXML ver. 6.2 and with HTML Tidy
for Windows released on 12 April 2005.
For debugging purposes, I reduced the example to populating the seven
frames with X=1,2,2, ...,2. The code is reproduced below.
Incidentally, in the course of converting to XHTML, I used HTML Tidy's
transformations. Since the examples had a number of files with empty
"<title> </title>" constructs, Tidy compressed them to "<title/>". That
made both browsers unwilling to display content. Presumably the DTD
specifies that "title" is required and must be non-empty.
My question is: what did I mess up this time? Any ideas?
--
TIA,
Richard
====== advforms.html ==========
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy for Windows (vers 12 April
2005), see www.w3.org"/>
<title>Advanced Frames (HTML Goodies)</title>
<!-- NOTE: These DTDs require a non-empty title -->
</head>
<frameset rows="20%,45%,35%">
<frameset cols="100%">
<frame src="frm1.html"/>
<frameset cols="33%,33%,33%">
<frame scrolling="no" noresize="noresize" src="frm2.html"/>
<frame scrolling="no" noresize="noresize" src="frm2.html"/>
<frame scrolling="no" src="frm2.html"/>
</frameset>
<frameset cols="50%,20%,30%">
<frame scrolling="no" noresize="noresize" src="frm2.html"/>
<frame scrolling="no" src="frm2.html"/>
<frame scrolling="no" src="frm2.html"/>
</frameset>
</frameset>
</frameset>
</html>
======== frm1.html ===========
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content=
"HTML Tidy for Windows (vers 12 April 2005), see www.w3.org"/>
<title>HTML Goodies Book Example - Frm1.html</title>
</head>
<body bgcolor="#FFFFCC" text="#000000" link="#0000FF" vlink=
"#800080" alink="#FF0000">
Hi, book reader...
<p> Greetings from the top frame.
Below are six more. All have long pages inside them. In fact, each
has a page that is much longer than the frame window itself. But
all the frames also have a SCROLLING="no" command attached to
them.</p>
<p> All of them except this one, that
is. You see, you can scroll in this window. You'll also note that
you can only resize one of the frame window's borders. With just
that information in hand, try to figure out what the code for this
page looks like. After you've made your guess, take a look at the
source code and see where your code differs from mine.</p>
<p> Make sure you look at the source
code....</p>
</body>
</html>
======== frm2.html ===========
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy for Windows (vers 12 April
2005), see www.w3.org"/>
<title>HTML Goodies Book Example - Frm2.html</title>
</head>
<body alink="#FF0000" bgcolor="#C0C0C0" link="#0000FF" text="#000000"
vlink="#800080">
This page is named "frm2.html"
<p>This is a long page</p>
<p>This is a long page</p>
<p>This is a long page</p>
<p>This is a long page</p>
<p>This is a long page</p>
<p>This is a long page</p>
<p>This is a long page</p>
<p>This is a long page</p>
<p>This is a long page</p>
<p>This is a long page</p>
<p>This is a long page</p>
<p>This is a long page</p>
<p>This is a long page</p>
<p>This is a long page</p>
<p>This is a long page</p>
<p>This is a long page</p>
<p>This is a long page</p>
</body>
</html>
|
 | 

|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |