关于frameset的使用初步

在总页中布置框架如下:

 <frameset rows="23%,37%,40%"  border="0">
    <frame src="${path }/inc/head.jsp" scrolling="no">
    <frameset cols="20%,80%">
       <frame src="${path }/jsp/user/left.jsp" scrolling="no">
       <frame src="${path }/task.do?method=getAll" scrolling="no" name="right">
   </frameset>
   <frame src="${path }/inc/footer.jsp">
 </frameset>

 

left.jsp中对应的超链接设置:

<a href="${path }/task.do?method=addTask" target="right">制定任务

 

 

这样点左边链接,右边就会出现内容.

效果如下图

 

框架效果图

 

posted on 2009-06-05 15:11  babyblue  阅读(149)  评论(0)    收藏  举报