frame问题

来源:百度知道 编辑:UC知道 时间:2024/05/22 21:52:21
<frameset cols="198,*" border=0>

<frame name="side" src="side.html" marginwidth="0" topmargin="0"
leftmargin="0" marginheight="0" scrolling="No" frameborder="no"
noresize>
<frameset rows="96,*" border=0>
<frame name="top" src="top.html" marginwidth="0" topmargin="0"
leftmargin="0" marginheight="0" scrolling="No" frameborder="no"
noresize>
<frame name="main" src="welcome.jsp" marginwidth="0" topmargin="0"
leftmargin="0" marginheight="0" scrolling="Auto" frameborder="no"
noresize>
</frameset>
</frameset>
怎样在使用过程中,只显示welcome.jsp这一个页面?详细点,谢谢.

要点一个链接到welcome.jsp吧,然后把welcome.jsp显示在frame里。

这样来做。

<a href="welcome.jsp" target="top"/>

楼上的,楼主不是这个意思,他是想把那3个框架显示出来,<frameset cols="198,*" border=0> 这个框架是上边的吧,里面应该是rows="20%,80%"
上边占20%,下边占80%
<frameset rows="96,*" border=0> 这一个里面是 cols="30%,70%",左边占30%,右边占70%