asp左右框架(左边固定)

来源:百度知道 编辑:UC知道 时间:2024/05/21 15:58:48
效果是左边类似一个目录,点击任何一个项目右边的框架内出现相应的内容!
能大体讲下怎么做吗?为什么我做出来的都是无法显示内容!
能有简单的示例 代码最好!谢谢!

研究一下吧!!!
<frameset rows="*" cols="180,*" framespacing="1" frameborder="yes" border="1" bordercolor="#2D4F88">
<frame src="LeftMain.asp" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" title="leftFrame" />
<frame src="WelcomeIndex.asp" name="mainFrame" id="mainFrame" title="mainFrame" />
</frameset>

//////////////LeftMain.asp/////////////////
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
body {
background-color:#2D4F88;
}
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #FFFFFF;
}
a:hover {
text-decoration: underline;
color: #CC00FF;
}
a:active {
text-decoration: none;
}