Asp.Net中简单界面的实现!

先上效果图:

首先建立一个aspx页面:

<head id="Head1" runat="server">
    <title>企业订单管理系统登录</title>
    <link href="Styles/WebCss.css" type="text/css" rel="stylesheet" />
</head>
使用框架将页面分为三部分:
<frameset rows="100,*" frameborder="no" framespacing="0">
<frame src="Top.aspx" noresize="noresize" frameborder="NO" name="topFrame"scrolling="no" marginwidth="0" marginheight="0" target="tops"/> 
<frameset cols="184,*" id="LeftFrame">
<frame src="Left.aspx" name="leftFrame" noresize="noresize" marginwidth="0"  marginheight="0" frameborder="1" scrolling="no" target="lefts"/>
<frame src="Body.aspx" name="main" noresize="noresize" marginwidth="0"  marginheight="0" frameborder="1" scrolling="auto" target="main"/>
</frameset>
<noframes>
<body></body>
</noframes>

接下来分别建立三个页面:

Top.aspx页面比较简单,只需要插入一张图片即可,不在赘述!

Left.aspx页面较为复杂,是一个菜单页面,代码比较多,给一个网址:http://www.wangjie.org/css-menu/detail-6511.aspx 有兴趣的可以从这里面下载菜单的代码,然后改编到自己的aspx页面中。(自己的在../About ASP.Net/html(下拉菜单)

如果想要点击左面菜单中的项在右边显示的话,只需要:li><a href="../WellsDataManage/OilWellDataManage.aspx"target="main">油井数据处理</a></li>  具体百度href的Target属性。


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值