Attribute for <IFRAME ...>
NAME
NAME
indicates the name of the frame. This name can be used for targeting links much the same way
<FRAME NAME="...">
can be used to target links. For example, this can be useful in the situation where you want to produce multiple "inset boxes":
<TABLE ALIGN=RIGHT BORDER=1 BGCOLOR="#FFFFCC">
<TR>
<TD><H4>Facts About Beavers</H4>
<UL>
<LI><A HREF="BeaverHabitat.html" TARGET="BeaverFacts">Habitats</A>
<LI><A HREF="BeaverEat.html" TARGET="BeaverFacts">Food</A>
<LI><A HREF="BabyBeavers.html" TARGET="BeaverFacts">Baby Beavers</A>
</UL>
<IFRAME
SRC="BeaverHabitat.html"
NAME="BeaverFacts"
WIDTH=300 HEIGHT=200>
</IFRAME></TD>
</TR></TABLE>
produces:
Facts About Beavers
Notice that in this example we don't include any content inside <IFRAME ...> . In this particular implementation that list of links is sufficient for browsers that don't understand NAME . For browsers such as Netscape, each link will open in a new window. Opening in new windows may be a downside, or it may match nicely with your design.
|
|