在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中打开才对
代码如下:
<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中打开才对
解决方案 »
- FindWindowEx查找VB程序正常,查找VC程序不正常
- 问一个比较菜的问题,but似乎是CSDN盲点……
- 繁体简体转换问题,100分相赠!
- 在datagrid中怎样实现象combobox 这样的下拉按钮
- image控件的Picture属性如何用?? Image1.Picture=????
- 如何修改系统时间
- 呵呵,趁各位高手没在,我在二月份抢了个头奖!散分了
- 请问在SQL7.0中能不能用UPDATE把一张表中的多个字段值,更新到另一张表中去?我在ACCESS2000下可以,但SQL SERVER实现不了.
- 我受不了msdn了,谁能告诉我有效的使用方法。
- 请教大家:VB如何实现逆播或者倒放视频?
- 如何判断当前系统是不是已经写入自动运行的值,如果写入了就调过本段语句执行下面的语句
- 请问一个api函数
你把其中一个页面的连接改成它看看,它一定出现!
好象是带了?就会出现!