如果按照雨中人的方法,原来的页面会变掉的。我在第一个页面放入这样的代码: <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“那里,只是第二个页面的页顶。
<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“那里,只是第二个页面的页顶。
可以达到我要的效果。不过我还希望,原先的page1.html的宽度缩小到屏幕的75%靠左,page2.html占屏幕的25%靠右,同时显示在屏幕上。怎么实现?谢谢~~~
resizeTo