I've started to convert my texinfo files info HTML files with two
frames with the short table of content on a narrow left frame and the
body on the wide right frame. I've sent the patch to generate
two-frame HTML outputs to the texi2html list.
Now that there are more than one frame, it would be nice to be able to
specify target frames when creating links. The following macro
illustrates my point.
@macro urefTopFrame{url,string}
@ifhtml
@html
<A TARGET=_top HREF="\url\">\string\</A>
@end html
@end ifhtml
@ifnothtml
@uref{\url\,\string\}
@end ifnothtml
@end macro
@urefTopFrame{} is the same as the standard @uref except that the
target frame is the _top frame, i.e., the specified URL is displayed
one a single frame that takes up the whole browser screen as opposed
to using the right frame and leaving the narrow left frame intact.
I hope that texinfo developers have this need in mind and hopefully
generalize exisiting commands such as uref or create new ones to
support this need.
Thanks for your time.
Following is from HTML 4.01 specification http://www.w3.org/TR/html401:
6.16 Frame target names
Except for the reserved names listed below, frame target names
(%FrameTarget; in the DTD) must begin with an alphabetic character
(a-zA-Z). User agents should ignore all other target names.
The following target names are reserved and have special meanings.
_blank
The user agent should load the designated document in a new,
unnamed window.
_self
The user agent should load the document in the same frame as
the element that refers to this target.
_parent
The user agent should load the document into the immediate
FRAMESET parent of the current frame. This value is equivalent
to _self if the current frame has no parent.
_top
The user agent should load the document into the full, original
window (thus canceling all other frames). This value is
equivalent to _self if the current frame has no parent.