<a href="index1.htm#test">test</a>

解决方案 »

  1.   

    <a name="test">fdasfdas</a>
      

  2.   

    如果按照雨中人的方法,原来的页面会变掉的。我在第一个页面放入这样的代码:
    <a href="#seventh" onClick="openHelpWindow(0.60)"> Help 7</a>第二个页面的代码如下:
    <html>
    <head>
    <title>
    Page2
    </title>
    </head>
    <body>
    hello!This is Page2.<BR><BR><BR><BR>
    <a name=first><B>First Part</b></a><BR>
    This is paragraph 1. <BR>
    It describes the user.<BR>
    <BR><BR><BR>
    <a name=second><B>Second Part</b></a><BR>
    This is paragraph 2.<BR>
    abcdefghijklmnopqrstuvwxyz<BR>
    <BR><BR><BR>
    <a name=third><B>Third Part</b></a><BR><BR><BR>
    This is paragraph 3.<BR>
    Paragragh 3 introduces how to use the resume system.<BR>
    <BR><BR><BR>
    <a name=fourth><B>Fourth Part</b></a><BR><BR><BR>
    This is paragraph 4.<BR>
    Paragragh 3 introduces how to use the resume system.<BR>
    <BR><BR><BR>
    <a name=fifth><B>Fifth Part</b></a><BR><BR><BR>
    This is paragraph 5.<BR>
    Paragragh 3 introduces how to use the resume system.<BR>
    <BR><BR><BR>
    <a name=sixth><B>Sixth Part</b></a><BR><BR><BR>
    This is paragraph 6.<BR>
    Paragragh 3 introduces how to use the resume system.<BR>
    <BR><BR><BR><BR><BR><BR>
    <a name=seventh><B>Seventh Part</b></a><BR><BR><BR>
    This is paragraph 7.<BR>
    Paragragh 3 introduces how to use the resume system.<BR>
    <BR><BR><BR><BR><BR><BR>
    </body>
    </html>
    第二个页面的内容已经超出一个屏幕高度,点击连接,不能转到“Seventh Part“那里,只是第二个页面的页顶。
      

  3.   

    忘了补充了,我要做的是先出现一个页面page1.html,点击里面的连接,可以让第二个页面page2.html出现,而且停留在指定的锚那里。如果<a href="index1.htm#test">test</a>,第二个页面会覆盖第一个页面的内容,在一个IE浏览器里显示的。
      

  4.   

    <a href="page2.html#first" target=_blank>paragragph 1</a>
    可以达到我要的效果。不过我还希望,原先的page1.html的宽度缩小到屏幕的75%靠左,page2.html占屏幕的25%靠右,同时显示在屏幕上。怎么实现?谢谢~~~
      

  5.   

    写onclick事件。moveTo
    resizeTo