| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 3074 人关注过本帖
标题:如何修改ASP网页中的标题栏
只看楼主 加入收藏
my9903
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2006-3-26
收藏
 问题点数:0 回复次数:7 
如何修改ASP网页中的标题栏
求教大虾,我要修改一个ASP主页的标题栏,请问要如何才能找到对应的.ASP文件进行修改啊?在线等哦
搜索更多相关主题的帖子: 标题栏 网页 ASP 大虾 主页 
2006-03-26 11:25
bccnlqr
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2006-3-25
收藏
得分:0 
用记事本打开你要修改的文件,找到标签<title>首页</title>,修改之间的标题就可以了。不知道你说的是不是修改这个?
2006-03-26 11:52
my9903
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2006-3-26
收藏
得分:0 

打开后就是这样的

<!--#include file="config.asp"-->
<!--#include file="conn.asp"-->
<!--#include file="format.asp"-->
<!--#include file="error.asp"-->
<!--#include file="lib/incjs.asp"-->
<!--#include file="lib/inctop.asp"-->
<!--#include file="lib/nav.asp"-->
<!--#include file="lib/index_news.asp"-->
<!--#include file="lib/index_diary.asp"-->
<!--#include file="lib/index_article.asp"-->
<!--#include file="lib/index_soft.asp"-->
<!--#include file="lib/index_body.asp"-->
<!--#include file="lib/incfooter.asp"-->
<!--#include file="lib/zoom.asp"-->
<%
stats="首页"
dim founderr,errmsg
founderr=false
errmsg=""

if request("page")<>"" then
if not isInteger(request("page")) then
founderr=true
errmsg=errmsg+"<br>"+"<li>非法的日记id参数。"
end if
end if

if founderr then
call diserror()
response.end
else
openadmin
sql="select articlecount,softcount,coolsitescount,friendlinkcount,newscount,diarycount,gbcount from allcount"
set rs=conn.execute(sql)
articlecount=rs("articlecount")
softcount=rs("softcount")
coolsitescount=rs("coolsitescount")
friendlinkcount=rs("friendlinkcount")
newscount=rs("newscount")
diarycount=rs("diarycount")
gbcount=rs("gbcount")
rs.close
set rs=nothing

vcount
call top()
call index_nav()
call index_body()
call endpage()
end if
%>
找不到<title>首页</title>

2006-03-26 12:09
无根泉
Rank: 2
等 级:新手上路
威 望:4
帖 子:853
专家分:0
注 册:2004-11-4
收藏
得分:0 
自已写一个函数,


function showtitle(str)
response.write "<title>"&str&"</title>"
end function

我很菜,但我很努力!
2006-03-26 14:10
VB爱上我
Rank: 6Rank: 6
等 级:贵宾
威 望:25
帖 子:478
专家分:52
注 册:2005-10-14
收藏
得分:0 
你加上去就可以了吧.

IT618资讯网 提供服务端开发,前端开发,网页特效,热门开源系统研究,软件下载,站长建站,淘宝开店等学习资料.
2006-03-26 14:21
好学
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
帖 子:622
专家分:318
注 册:2004-5-4
收藏
得分:0 
stats="首页"

应该这个就是
2006-03-26 14:23
sun141421
Rank: 1
等 级:新手上路
帖 子:10
专家分:0
注 册:2005-12-25
收藏
得分:0 

这应该是一个有后台管理的整站程序吧。网站标题是通过config.asp来设定的,你要改标题的话,用后台管理页面改啊,或者直接去数据库改。


2006-03-27 22:00
小鼓锤
Rank: 1
等 级:新手上路
帖 子:175
专家分:0
注 册:2005-11-29
收藏
得分:0 
对啊!正像楼上所说的,要不你在config.asp文件中修改,要不你就去数据库中找到关于系统设置的表进行修改就ok了。
最好的是你应该去后台管理程序中进行修改!
2006-03-28 12:26
快速回复:如何修改ASP网页中的标题栏
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.011963 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved