asp 框架好例子

asp框架集

我在topframe里面这么写:<a href="yonghuguanli.asp" target="leftframe">用户管理</a>
他怎么不在leftframe里面显示呢,在另个窗口打开,跟.asp有关吗?如果是.htm可以呀

 

<a href="yonghuguanli.asp" target="leftframe">用户管理</a>
本身是没有问题的。跟ASP也没有关系。

至于"怎么不在leftframe里面显示",因为没看楼主的代码,不好回答。

下面给出一个示例,请楼主认真研究。

请阅读并调试下列文件:
(共9个文件)

1.index.asp

<html>
<head><title>框架示例</title></head>
<frameset rows="64,*">
<frame name="TopFrame" scrolling="no" target="LeftFrame" src="top.asp">
<frameset cols="160,*">
<frame name="LeftFrame" target="MainFrame" src="left1.asp">
<frame name="MainFrame" src="news.asp">
</frameset>
<noframes>
<body><p>浏览器不支持框架。</p></body>
</noframes>
</frameset>
</html>


2.top.asp

<html>
<head><title>top</title></head><body>
<table border="0" width="300">
<tr>
<td><a href="left1.asp" target="LeftFrame">公司简介</a></td>
<td><a href="left2.asp" target="LeftFrame">最新产品</a></td>
</tr>
</table>
</body>
</html>


3.left1.asp

<html>
<head><title>公司</title></head>
<body>
<table border="0" width="150">
<tr><td><a href="gs1.asp" target="MainFrame">公司的昨天</td></tr>
<tr><td><a href="gs2.asp" target="MainFrame">公司的明天</td></tr>
</table>
</body>
</html>

4.left2.asp

<html>
<head><title>产品</title></head>
<body>
<table border="0" width="150">
<tr><td><a href="cp1.asp" target="MainFrame">昨天的产品</td></tr>
<tr><td><a href="cp2.asp" target="MainFrame">今天的产品</td></tr>
</table>
</body>
</html>

5.news.asp

<html>
<head><title>首页</title></head>
<body><p>首页</p></body>
</html>

6.gs1.asp

<html>
<head><title>公司</title></head>
<body><p>公司的昨天</p></body>
</html>

7.gs2.asp

<html>
<head><title>公司</title></head>
<body><p>公司的明天</p></body>
</html>

8.cp1.asp

<html>
<head><title>产品</title></head>
<body><p>昨天的产品</p></body>
</html>

9.cp2.asp

<html>
<head><title>产品</title></head>
<body><p>今天的产品</p></body>
</html>

 

AspBox是一个方便快速开发ASP框架AspBox提供了大量实用的ASP通用过程及方法和子类,可以简化大部分的ASP操作。 AspBox还可以进行拓展子类对象以增强自身功能。封装严谨,层层嵌套,提高了代码重复利用多次利用。 可以说AspBox是一个比较成型的可应用于开发人员快速开发的ASP开发框架ASP框架AspBox 1.3.2a 更新记录:2013-03-22 AB核心代码修整, 增加了公共调用 AB.Pub 核心 完善 AB.CacheType 属性设置 新增 AB.CacheClean 方法 新增 AB.FnAdd 别名: AB.FnSet 新增 AB.A.Avg, AB.A.Sub, AB.A.SpliceX 方法 修正 AB.A.Slice, AB.A.Splice, AB.A.SpliceX, AB.A.Fill  方法 拓展增强 AB.A.Walk 方法 修正 AB.C.CRight 方法 完善 AB.C.GetUrl 方法 新增 AB.C.Clone, AB.C.CallFunc, AB.C.Ws, AB.C.Wsn, AB.C.IsDim 等方法 新增 AB.Cache.Del 方法, 别名 AB.Cache(cacheName).Del 或 AB.Cache.Item(cacheName).Del 移除 AB.Json.xJSObjectToString, AB.Json.xJSArrayToString 方法 新增 AB.E.encodeURIComponent, AB.E.decodeURIComponent, AB.E.encodeURI, AB.E.decodeURI 方法 修正 设置 AB.Http.Charset 失效bug 拓展增强 AB.Char.Trim, AB.Char.LTrim, AB.Char.RTrim 方法 新增 AB.Time.ServerTime, AB.Time.LocalTime, AB.Time.ServerTimezone, AB.Time.LocalTimezone 方法 新增 AB.Time.ToUnixEpoch 方法别名 AB.Time.ToID 和 AB.Time.TimeID 新增 AB.Time.FromUnixEpoch 方法别名 AB.Time.FromID 和 AB.Time.FromTimeID 修复 AB.Url.Go 函数 Bug 改进 AB.Xml.Find 方法,使其支持 AB.Xml(selector).Length 为0情况 新增 AB.Xml.Length, AB.Xml.Count 方法 新增 AB.Xml(selector).ChildNodes 方法 AspBox核心主要包含了这么些核心: A处理Array数组 C通用函数类 Cookie操作类 Catch缓存类操作 Char字符处理类 D一般函数库 DB数据操作类 DBO数据操作对象 E加密模块(包含了Md5,Base64,SHA-1加密及收集了一些加密函数块) Form表单处理块 Fso操作类操作 Html控件 Http对XMLHttp处理块 Error错误处理块 Json处理块 jsLib(JS脚本核心引用操作) List处理各种List对象 Mail邮件处理块 PY拼音转换模块 Rnd随机数函数块 Session操作类 Sc脚本执行操作模块 Time时间操作块 Tpl模板类 Up,Upload上传处理块 Url处理块 X扩展块 Xml处理XML块 以及其他一些调用方法如aspjpeg组件操作,无惧上传类,艾恩上传类等
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值