在form1中的form_load事件中用WebBrowser1 中 导向一个页面main.htm
代码如下:
<frameset cols="200,*" cols="*" framespacing="2" frameborder="yes" border="2">
  <frame src="http://localhost/1.htm" name="htmList" scrolling=auto>
  <frame src="http://localhost/2.htm" name="htmItem" scrolling=auto>
</frameset>1.htm中的代码如下:
<a href='index.asp?id=1'>test</a>
2.htm中的代码如下:
<a href='login.asp?no=2'>test2</a>问题出现:
只要一点test或test2
然后页面就填充整个webbrowser1
按理说,点test,应该页面在第一个frame打开才对,点test2应该在第二个frame中打开才对