请高手指点asp问题!

来源:百度知道 编辑:UC知道 时间:2024/05/13 18:41:21
以下代码是我首页开头大代码,本应该在标题栏上显示“网站首页”的,但前面却还有文字,我是菜鸟,希望高手指点!

<!-- #include file="include/skin.asp" -->
<%
dim id,oid,topic,tmp1,tmp2,voteid
web_width="777"
voteid=1
tit="网站首页"
call web_head(0,0,2,0,0)
response.write vbcrlf&"lmenu_true=false;"
response.write joekoe_cms.js_type("",2)
if int(format_mid_num(30))=1 then call joekoe_cms.js_type("style/popwin.js",0)

<!-- #include file="include/skin.asp" -->
<%
dim id,oid,topic,tmp1,tmp2,voteid
web_width="777"
voteid=1
tit="网站首页"
call web_head(0,0,2,0,0)
response.write vbcrlf&"lmenu_true=false;"
response.write joekoe_cms.js_type("",2)
if int(format_mid_num(30))=1 then call joekoe_cms.js_type("style/popwin.js",0)

楼上的回答是教你怎么输出文字到标题栏,但你应该注意这句<!-- #include file="include/skin.asp" -->

因为该网页执行的时候是从此句执行的,你应该检查一下SKIN.ASP中是否有<head><title>网站首页</title></head> 这个标签,如果有,则应在此文件中设置标题!!!!

标题栏上显示“网站首页” 需要把这内容 写在<head></head>中的<title></title>中


<head><title>网站首页</title></head>

如果在<% %> 中输出 写
response.write "<head><title>"&tit&"</title></head>"

看看web_head里面调用的用来显示标题的变量除了tit外还有什么。
应该是里