main.html

</head>

<frameset cols="180,*">
      <frame src="content.html">
      <frame src="link.html" name="showframe">
</frameset><noframes></noframes>
</html>

content.html

</head>

<body>
  <a href="link.html" target="showframe">没有锚的链接</a>
  <a href="link.html#C10" target="showframe">带有锚的链接</a>
</body>
</html>

link.html

<body>
<h1>Chapter 1</h1>
<p>This chapter explains ba bla bla</p>
<h1>Chapter 2</h1>
<p>This chapter explains ba bla bla</p>
<h1>Chapter 3</h1>
<p>This chapter explains ba bla bla</p>
<h1>Chapter 4</h1>
<p>This chapter explains ba bla bla</p>
<h1>Chapter 5</h1>
<p>This chapter explains ba bla bla</p>
<h1>Chapter 6</h1>
<p>This chapter explains ba bla bla</p>
<h1>Chapter 7</h1>
<p>This chapter explains ba bla bla</p>
<h1>Chapter 8</h1>
<p>This chapter explains ba bla bla</p>
<h1>Chapter 9</h1>
<p>This chapter explains ba bla bla</p>
<h1><a name="C10">Chapter 10</a></h1>
<p>This chapter explains ba bla bla</p>
<h1>Chapter 11</h1>
<p>This chapter explains ba bla bla</p>
<h1>Chapter 12</h1>
<p>This chapter explains ba bla bla</p>
<h1>Chapter 13</h1>
<p>This chapter explains ba bla bla</p>
<h1>Chapter 14</h1>
<p>This chapter explains ba bla bla</p>
<h1>Chapter 15</h1>
<p>This chapter explains ba bla bla</p>
<h1>Chapter 16</h1>
<p>This chapter explains ba bla bla</p>
<h1>Chapter 17</h1>
<p>This chapter explains ba bla bla</p>
</body>

 

posted on 2015-07-29 10:27  文森博客  阅读(2459)  评论(0编辑  收藏  举报