在当前网页上,点击左边的asp.net,就连接到右边的相关asp.net的内容。这个链接怎么写?
小弟初学,望大哥大姐帮忙指点,谢谢!!!
------解决方案-------------------- <frameset id= "UpFrame " rows= "89,82% " frameborder= "0 " border= "0 " framespacing= "0 ">
<frame id= "header " name= "header " scrolling= "no " noresize src= "ControlHeader.aspx ">
<frame id= "main " name= "main " src= "Index.aspx " scrolling= "yes ">
<noframes>
</noframes>
</frameset>
------解决方案-------------------- <href = "b.asp " target= "右边页面框架名称 " >
------解决方案-------------------- <frameset border= "0 " name= "edit " frameborder= "1 " framespacing= "0 " MARGINWIDTH= "0 " MARGINHEIGHT= "0 "
LEFTMARGIN= "0 " TOPMARGIN= "0 " cols= "220,* ">
<frame border= "1 " name= "fraLeftFrame " borderColor= "#6699cc " marginWidth= "0 " marginHeight= "0 "
frameBorder= "0 " scrolling= "yes " LEFTMARGIN= "0 " TOPMARGIN= "0 " target= "main " src= "left.aspx ">
<frame name= "main " border= "0 " borderColor= "#6699cc " frameBorder= "no " scrolling= "auto " src= "main.aspx ">
</frameset>
注意,左边的菜单target属性写成右边要打开的框架页面的name属性!这样就可以不用每个链接都加target了!楼主试试!
------解决方案--------------------用框架
<frameset rows= "80,*,20 " cols= "* " framespacing= "0 " frameborder= "0 ">
<frame src= "Header.aspx " name= "Header " scrolling= "no " frameborder= "1 " noresize= "noresize " />
<frameset id= "LeftFrame " cols= "166,10,* " frameborder= "0 " bordercolor= "#aabbcc ">
<frame src= "Left.aspx " name= "left " scrolling= "yes " height= "600px "/>
<frame src= "BtScroll.htm " frameborder=0 noresize=true scrolling= "no "/>
<frame src= "Main.aspx " name= "main " scrolling= "yes "/>
</frameset>
<frame src= "Footer.aspx " name= "footer " scrolling= "no " frameborder= "1 "> </frame>
</frameset>