日期:2014-05-18  浏览次数:20612 次

显示隐藏上框架和左边的框架左面用js写啊?
我想在一个页面内同时实现可以显示上框架和左边的框架左面用js实现?0现在可以通过cols实现左面框架的隐藏   但是左面实现隐藏上面框架用   row? <frameset   rows= "70,* "   cols= "* "   frameborder= "no "   border= "0 "   framespacing= "0 "   id= "f1 ">
<frame   src= "top.aspx "   name= "top "   scrolling= "No "   noresize= "noresize "   id= "top "   title= "topFrame "   />
<frameset   rows= "* "   cols= "162,11,* "   framespacing= "0 "   frameborder= "no "   border= "0 "   name= "main "
id= "main1 ">
<frame   src= "Menue.aspx "   name= "leftFrame "   scrolling= "No "   noresize= "noresize "   id= "leftFrame "
title= "leftFrame "   />
<frame   scrolling= "no "   noresize= "true "   name= "toogle "   marginwidth= "0 "   marginheight= "0 "   src= "Control.htm ">
<frame   src= "main.htm "   name= "mainFrame "   id= "mainFrame "   title= "mainFrame "   />
</frameset>
</frameset>

------解决方案--------------------
top.topFrameID.rows="0,*"

和左框架一样,只是你没给上面的框架加上ID