|
Alfred Wong's Programming Showcase
|
|
|
Virtual Zoo uses frames to show animal pictures.
After selecting link, choose View|Source in Internet Explorer or View|Page Source
in Netscape to see code. The lower right frame's name is display. The lower left
frame's name is list. See list.html's code below.
<html>
<head>
<title>Animal List</title>
<base target="display">
</head>
<body>
<a href="Elephant.jpg">Elephant</a><br>
<a href="Gazelle.jpg">Gazelle</a><br>
<a href="Giraffe.jpg">Giraffe</a><br>
<a href="Lion.jpg">Lion</a><br>
<a href="PolarBear.jpg">PolarBear</a><br>
<a href="Rhino.jpg">Rhino</a><br>
<a href="Tiger.jpg">Tiger</a><br>
<a href="Zebra.jpg">Zebra</a><br>
</body>
</html>
The target attribute renders all links in frame name display.