社区
ASP
帖子详情
怎么自动调用top.asp和bottom.asp?
asp520
2005-07-26 02:01:57
怎么让打开的每一页网页都能自动加上top.asp和bottom.asp.请大家帮忙,谢谢!!!
...全文
116
10
打赏
收藏
怎么自动调用top.asp和bottom.asp?
怎么让打开的每一页网页都能自动加上top.asp和bottom.asp.请大家帮忙,谢谢!!!
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
10 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
blackland8157
2005-07-26
打赏
举报
回复
在ASP配置文件里面加就行了
aspme
2005-07-26
打赏
举报
回复
如果你的摸版里面没有
<body>
</body>
那就在top.asp里面加
<body>
在bottom.asp里面加
</body>
antiking
2005-07-26
打赏
举报
回复
<head>
<META content="文本/html; 字符集=gb2312" http-equiv=目录类型><LINK href="../../images/site.css" rel=stylesheet>
<META content="Microsoft FrontPage 4.0" name=GENERATOR>
</head>
<body>
<!--#include file="top.asp"-->
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=719>
<TBODY>
<TR align=middle vAlign=center>
<TD bgColor=#4397c5 height=21>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
<TBODY>
<TR>
<TD bgColor=#ffffff colSpan=8 height=4 style="BORDER-RIGHT: #cde4f0 1px solid; BORDER-TOP: #cde4f0 1px solid">
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
<TBODY>
<TR>
<TD align=middle vAlign=center width="96%"><FONTCOLOR="#FF0000">
</FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
<TR vAlign=top>
<TD height=100>
<TABLE bgColor=#4397c5 border=0 cellPadding=0 cellSpacing=1 width="100%">
<TBODY>
<TR>
<TD bgColor=#ffffff height=238 rowSpan=6 style="WORD-BREAK: break-all" vAlign=top width="77%">
<DIV align=center><FONT size=3><BR>[title]</FONT>
<HR SIZE=1>
[url] 日期:[date] 来源:[source] 作者:[author] 阅读次数:[click]</DIV><BR>[content]<BR><BR>
<DIV align=right><B>责任编辑:[editer]</B> </DIV>
<DIV align=center>
<TABLE bgColor=#c0c0c0 border=0 cellPadding=0 cellSpacing=1 height=2 width="98%">
<TBODY>
<TR>
<TD bgColor=#ffffff colSpan=2 height=20><FONT color=blue size=2><B>相 关</B></FONT></TD></TR>
<TR>
<TD bgColor=#ffffff colSpan=2>[correlation]</TD></TR></TBODY></TABLE></DIV></TD>
<TD align=right background=../../images/bg03.gif vAlign=top width="23%">
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
<TBODY>
<TR>
<TD bgColor=#ffffff style="BORDER-BOTTOM: #4397c5 1px solid; BORDER-TOP: #4397c5 1px solid"><B><FONT size=2>资料搜索</FONT></B> </TD></TR>
<TR align=middle vAlign=top>
<TD height="100%"><BR>[search] </TD></TR>
<TR>
<TD bgColor=#ffffff style="BORDER-BOTTOM: #4397c5 1px solid; BORDER-TOP: #4397c5 1px solid"><B><FONT size=2>推 荐</FONT></B> </TD></TR>
<TR vAlign=top>
<TD height="100%">[recommend] </TD></TR>
<TR>
<TD bgColor=#ffffff style="BORDER-BOTTOM: #4397c5 1px solid; BORDER-TOP: #4397c5 1px solid"><B><FONT size=2>热 点</FONT></B> </TD></TR>
<TR vAlign=top>
<TD height="100%">[hot] </TD></TR></TBODY></TABLE></TD></TR>
</TBODY></TABLE></TD></TR>
<!--#include file="bottom.asp"-->
</body>
asp520
2005-07-26
打赏
举报
回复
就是这块模板,怎么加啊?
<head>
<META content="文本/html; 字符集=gb2312" http-equiv=目录类型><LINK href="../../images/site.css" rel=stylesheet>
<META content="Microsoft FrontPage 4.0" name=GENERATOR>
</head>
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=719>
<TBODY>
<TR align=middle vAlign=center>
<TD bgColor=#4397c5 height=21>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
<TBODY>
<TR>
<TD bgColor=#ffffff colSpan=8 height=4 style="BORDER-RIGHT: #cde4f0 1px solid; BORDER-TOP: #cde4f0 1px solid">
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
<TBODY>
<TR>
<TD align=middle vAlign=center width="96%"><FONTCOLOR="#FF0000">
</FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
<TR vAlign=top>
<TD height=100>
<TABLE bgColor=#4397c5 border=0 cellPadding=0 cellSpacing=1 width="100%">
<TBODY>
<TR>
<TD bgColor=#ffffff height=238 rowSpan=6 style="WORD-BREAK: break-all" vAlign=top width="77%">
<DIV align=center><FONT size=3><BR>[title]</FONT>
<HR SIZE=1>
[url] 日期:[date] 来源:[source] 作者:[author] 阅读次数:[click]</DIV><BR>[content]<BR><BR>
<DIV align=right><B>责任编辑:[editer]</B> </DIV>
<DIV align=center>
<TABLE bgColor=#c0c0c0 border=0 cellPadding=0 cellSpacing=1 height=2 width="98%">
<TBODY>
<TR>
<TD bgColor=#ffffff colSpan=2 height=20><FONT color=blue size=2><B>相 关</B></FONT></TD></TR>
<TR>
<TD bgColor=#ffffff colSpan=2>[correlation]</TD></TR></TBODY></TABLE></DIV></TD>
<TD align=right background=../../images/bg03.gif vAlign=top width="23%">
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
<TBODY>
<TR>
<TD bgColor=#ffffff style="BORDER-BOTTOM: #4397c5 1px solid; BORDER-TOP: #4397c5 1px solid"><B><FONT size=2>资料搜索</FONT></B> </TD></TR>
<TR align=middle vAlign=top>
<TD height="100%"><BR>[search] </TD></TR>
<TR>
<TD bgColor=#ffffff style="BORDER-BOTTOM: #4397c5 1px solid; BORDER-TOP: #4397c5 1px solid"><B><FONT size=2>推 荐</FONT></B> </TD></TR>
<TR vAlign=top>
<TD height="100%">[recommend] </TD></TR>
<TR>
<TD bgColor=#ffffff style="BORDER-BOTTOM: #4397c5 1px solid; BORDER-TOP: #4397c5 1px solid"><B><FONT size=2>热 点</FONT></B> </TD></TR>
<TR vAlign=top>
<TD height="100%">[hot] </TD></TR></TBODY></TABLE></TD></TR>
</TBODY></TABLE></TD></TR>
大猫钓鱼
2005-07-26
打赏
举报
回复
top.asp和bottom.asp里不加<html></html>、<head></head>试试。
大猫钓鱼
2005-07-26
打赏
举报
回复
<!--#include file="top.asp"-->
放在<body>下面
<!--#include file="bottom.asp"-->
放在</body>上面
asp520
2005-07-26
打赏
举报
回复
直接include加到模板里,就是显示不出来.不知道为什么?
aspme
2005-07-26
打赏
举报
回复
是要统一的top和统一的bottom吗?
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF">
<!--#include file="top.asp"-->------这里
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td></td>
</tr>
</table>
<!--#include file="bottom.htm"-->---------这里
</body>
</html>
1111111
2005-07-26
打赏
举报
回复
<!--#include file="top.asp"-->
<!--#include file="bottom.asp"-->
???
themedy
2005-07-26
打赏
举报
回复
不太明白意思
你做的时候include不行吗
关于top.html和
bott
om
.html文件制作和
调用
的一点说明
一般情况下,我们都是单独的做好TOP.HTML页面和
BOTT
OM
.HTML页面,然后在首页文件如INDEX.
ASP
中包含
调用
。这时应注意以下几点: 1.TOP.HTML文件和
BOTT
OM
.HTML文件文件中不应该包含<HTML><HEAD></HEAD...
asp
.net中
调用
javascript函数实现多功能日期控件示例
在以前搞
asp
的时候曾经用过一个
调用
js的日期控件,所以就拿到
asp
.net中,来发挥他的作用,让它做个免费的,功能强大的日期控件.(可以拖动)首先看看在
asp
.net中是如何实现
调用
js函数的.demo: private void page_load(){...
论坛首页
调用
来自 http://bbs.apabi.c
om
Fr
om
http://bbs.apabi.c
om
/dispbbs.
asp
?boardID=24&ID=17411&page=1 <?xml version="1.0" encoding="gb2312"?><xsl:stylesheet version="1.0&...
html引入公共的头部,导航栏,尾部
很不错的文章,讲解html引入公共的头部,导航栏,尾部的很仔细^_^一、
asp
语言和PHP语言首先制作一个头部文件head.
asp
,或者一个底部文件foot.
asp
。如主页是index.
asp
,
调用
头部代码是在index.
asp
文件代码的开始位置...
JS当前页面和框架
自动
刷新的方法
最近越来越感觉JS的优越性,项目中用到关于框架页面刷新的方法,在网上搜索以后发现有许多不错的代码,但不是很齐全。于是,我索性从网络上搜集以后经过精心编排,整理了一下。...frame.html 由上(top.html)下(
bott
om
ASP
28,406
社区成员
356,946
社区内容
发帖
与我相关
我的任务
ASP
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
复制链接
扫一扫
分享
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章