标题:请教:该网站的标题不变?如何修改?
只看楼主
ericlee66
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2008-9-10
 问题点数:0 回复次数:0 
请教:该网站的标题不变?如何修改?
[font=宋体]我们公司网站做了一段时间了,今天突然发现所有的页面标题都是公司名称,比如打开公司简介,标题栏还是显示的公司名称,没有显示公司简介。请问何故,我要怎么才能解决。请各位大虾赐教!在线等候。

框架是由Head.asp文件表示,该文件内容如下:
----------------------------------------------------------------------------------------------------
程序代码:
<%
Dim curpage,enpage,querystr,fso
set fso=Server.CreateObject("Scripting.FileSystemObject")
curpage = lcase(CStr(Request.ServerVariables("PATH_INFO")))
curpage = mid(curpage,instrrev(curpage,"/")+1)
querystr=CStr(Request.ServerVariables("QUERY_STRING"))
enpage="en"&curpage
if fso.FileExists(Server.MapPath(enpage)) then
enpage=enpage&"?"&querystr
else
enpage="enindex.asp"
end if
set fso=nothing
if right(enpage,1)="?" then enpage=left(enpage,len(enpage)-1)
%>
<link rel='stylesheet' type='text/css' href='images//header.css' />

<script LANGUAGE="JavaScript"> function OpenMyPage()
{
     window.open('', '_mypage', 'width=1024,height=768,resizable=yes,scrollbars=yes');
}


function global(obj){
    if (obj == 1) {
        document.getElementById("f_global").style.display = "block";
    }else if (obj == 2)    {
        document.getElementById("f_global").style.display = "none";
    }
}

function brand(obj){
    if (obj == 1) {
        document.getElementById("f_brand").style.display = "block";
    }else if (obj == 2)    {
        document.getElementById("f_brand").style.display = "none";
    }
}

function autoBlur(){
    try{
        if(event.srcElement.tagName=='A'||event.srcElement.tagName=='IMG') document.body.focus();
    }catch(e) {}
}
document.onfocusin=autoBlur;
</script>
<style type='text/css'>
#f_top_line { background-color:#7FC429; height:3px;}
#f_top {
height:24px;
text-align:center;
background:url(images/top_bg1.gif) repeat-x;
}
#f_global_menu { width:946px; }
#f_logo {
float:left;
width:215px;
text-align:center;
height:24px; text-shadow:#00FF00
}
#site_name {
float:left;
height:20px;
padding-top:4px;
}
#f_tmenu {
text-align:right;
padding-right:12px;
}
#f_global {
position:absolute;
z-index:2;
display:none;
margin:-3px 0 0 -70px;
text-align:left;
}
#if_global {
position:absolute;
z-index:1;
}
#f_global_01 {
position:absolute;
z-index:2;
}
#f_brand {
position:absolute;
z-index:1;
display:none;
margin:-3px 0 0 -65px;
text-align:left;
}
#if_brand {
position:absolute;
z-index:1;
}
#f_brand_01 {
position:absolute;
z-index:2;
}
</style>
</head>
<body>
<div id='f_top_line'><IMG SRC='images/d_blank.gif' WIDTH='1' HEIGHT='1' /></div>
<div id='f_top'>
<div id='f_global_menu'>
  <!-- //logo -->
<div id='f_tmenu'>
<table cellpadding='0' cellspacing='0' border='0'>
<tr><td align="left" valign="middle">今天是
                    <script language="JavaScript">
today=new Date();
function initArray(){
this.length=initArray.arguments.length
for(var i=0;i<this.length;i++)
this[i+1]=initArray.arguments[i]  }
var d=new initArray(
" 星期日",
" 星期一",
" 星期二",
" 星期三",
" 星期四",
" 星期五",
" 星期六");
document.write(
"<font color=#000000 style='font-size:11px;font-family: verdana'> ",
today.getYear(),"年",
today.getMonth()+1,"月",
today.getDate(),"日",
d[today.getDay()+1],
"</font>" );
                    </script>
                  </td>
                <td align="left" valign="middle" width="100">
          </td>
<td>
<!-- Global Menu -->
<table cellpadding='0' cellspacing='0' border='0'>
  <!--DWLayoutTable-->
<col width='67' align='left'><col width='2' align='absmiddle'><col width='23' align='center'><col width='2' align='absmiddle'>
<col width='85' align='center'><col width='2' align='absmiddle'><col width='23' align='center'><col width='2' align='absmiddle'><col width='26'>
<tr>
<td>友情连接
<!--#################### Global Menu ####################-->
<div id='f_global'>
<div id='if_global'><iframe src='about:blank' width='111' height='158' frameborder='0'></iframe></div>
<div id='f_global_01'>
<table cellpadding='0' cellspacing='0' border='0' style='background: url(images/img_menu_bg1.gif) no-repeat; width:112px;height:32px'>
<tr><td height='7'></td></tr>
<tr>
<td width='87'><img SRC='images/img_global1.gif' hspace='8'></td>

<td width='25'><a href='javascript:global(2)'><img SRC='images/btn_arrow1.gif'></a></td>
</tr>
<tr><td height='12'></td></tr>
<tr>
<td style='background: url(images/img_menu_bg2.gif) repeat-y; width:112px;padding-left:15px;' colspan='2'>
<table cellpadding='0' cellspacing='0' border='0' width='85'>
<col width='8'><col width='77'>
<%sqlLink="select top 10 * from FriendLinks where IsOK=True and LinkType=2 order by IsGood,id desc"
    set rsLink=server.createobject("adodb.recordset")
    rsLink.open sqlLink,conn,1,1
    do while not rsLink.eof%>
<tr>
<td><img SRC='images/bul_01.gif'></td>
<td><a href='<%=rsLink("SiteUrl")%>' class='txt_ui01' target='_top'><%=rslink("sitename")%></a></td>
</tr>
<%rslink.movenext
loop
rslink.close
rslink=nothing%>
</table></td>
</tr>
<tr><td colspan='2'><img SRC='images/img_menu_1.gif'></td></tr>
</table>
</div>
</div>
<!--#################### //Global Menu ####################--></td>
<td><img src='images/line.gif'></td>
<td><a href='javascript:global(1)'><img src='images/icon_arrow.gif'></a></td>
<td><img src='images/line.gif'></td>
<td>合作伙伴
<!--#################### Brand Link ####################-->
<div id='f_brand'>
<div id='if_brand'><iframe src='about:blank' width='111' height='170' frameborder='0'></iframe></div>
<div id='f_brand_01'>
<table cellpadding='0' cellspacing='0' border='0' style='background: url(images/img_menu_bg3.gif) no-repeat; width:114px;height:32px'>
<tr><td height='7'></td></tr>
<tr>

<td width='89'><img SRC='images/img_brand1.gif' hspace='8'></td>
<td width='25'><a href='javascript:brand(2)'><img SRC='images/btn_arrow1.gif'></a></td>
</tr>
<tr><td height='12'></td></tr>
<tr>
<td style='background: url(images/img_menu_bg4.gif) repeat-y; width:114px;padding-left:17px;' colspan='2'>
<table cellpadding='0' cellspacing='0' border='0' width='85'>
<%sqlLink="select top 10 * from FriendLinks where IsOK=True and LinkType=1 order by IsGood,id desc"
    set rsLink=server.createobject("adodb.recordset")
    rsLink.open sqlLink,conn,1,1
    do while not rsLink.eof%>
<tr>
<td><a href='<%=rsLink("SiteUrl")%>' target='_top'><img SRC='<%=rsLink("LogoUrl")%>'></a></td>
</tr>
<tr><td height='10'></td></tr>
<%rslink.movenext
loop
rslink.close
rslink=nothing%>
</table></td>
</tr>
<tr><td colspan='2'><img SRC='images/img_link_1.gif'></td></tr>
</table>
</div>
</div>
<!--#################### //Global Menu ####################--></td>
<td><img src='images/line.gif'></td>
<td><a href='javascript:brand(1)'><img src='images/icon_arrow.gif'></a></td>
<td><img src='images/line.gif'></td>
<td></td>
</tr>
</table>
</td>
<td>
<!-- 八祸何盒 -->
<table cellpadding='0' cellspacing='0' border='0'>
<col width='214'><col width='1' align='absmiddle'><col><col width='1' align='absmiddle'>
<col><col width='1' align='absmiddle'><col width='69' align='center'>
<tr>
<td>
<!-----search--------> <form method="Get" name="myform" action="search.asp"><input type="text" name="keyword"  size=15 value="关键字" maxlength="50"><input type="submit" name="Submit"  value="搜索" height="10"></td></form><!-----//search-------->
<td><img src='images/icon_line.gif'></td>


<!-- 肺弊牢傈 -->
<td width='68' align='center'><a href='Aboutus.asp?Title=联系我们'>联系我们</a></td>
<td><img src='images/icon_line.gif'></td>
<td width='68' align='center'><A id="based" style="color:red"><font color="#000000">繁體中文</font></A>
              <Script Language=Javascript Src="Inc/southidcj2f.Js"></Script> </td>
<!-- 肺弊牢傈 -->
<td><img src='images/icon_line.gif'></td>
<td>
<a style="cursor:hand"  
onclick="window.external.AddFavorite(location.href,document.title);">加入收藏</a></td>
</tr>
</table>
</td>
</tr>
</table>

</div>
</div>
</div>
<%const ChannelID=2
call MenuJS()%>
<TITLE><%=SiteTitle%> 您的企业IT妙管家 www. http-equiv=Content-Type content="text/html; charset=gb2312">
<meta name="keywords" content="深圳市弘博科技有限公司,深圳市电脑维修,维修,电脑维修,维修网,电脑维修网,IT外包,网络维护,IT外包维护,深圳IT外包,深圳电脑维护,深圳维修,深圳电脑维修,深圳电脑维修网,主板维修,硬盘维修,维修电脑,数据,数据恢复,内存维修,声卡维修,显卡维修,显示器维修,液晶维修,LCD维修,CTR维修,网站,网站建设,网站开发,域名,注册域名,域名注册,虚拟主机,主机空间,装电脑,DIY装机,IT产品销售,安防系统,报警主机,办公设备,墨盒,摄像头,一站式">
</head>
<BODY leftMargin=0 topMargin=0 marginwidth="0" marginheight="0">
<style type="text/css">
.menu_txt {
    FONT-WEIGHT: bold; FONT-SIZE: 14px; FILTER: glow(color=#015DA5,strength=1); COLOR: #ffffff; TEXT-DECORATION: none}
</style>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td height="82">
      <table width="100%" height="79" border="0" cellpadding="0" cellspacing="0" background="Images/top_back.jpg">
        <tr>
          <td width="172" height="114"> <div align="center"><img src="<%=LogoUrl%>"></div></td>
          <td width="595"><div align="center"><% If IsFlash="Yes" Then %>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.,0,29,0" width="595" height="<%=High%>">
        <param name="movie" value="<%=BannerUrl%>">
        <param name="quality" value="high">
        <param name="wmode" value="transparent">
        <embed src="<%=BannerUrl%>" width="595" height="<%=High%>" quality="high" pluginspage="http://www. type="application/x-shockwave-flash" wmode="transparent"></embed></object>
        <% Else %>
          <img src="<%=BannerUrl%>" width="595" height="<%=High%>">
        <% end If%></div></td>
        </tr>
      </table>
  <tr>
    <td>

        <TABLE class="title"  width=100% height="28" border=0 align=center cellPadding=0 cellSpacing=0>
        <TR>
          <TD  colspan="2"><div align="center" class="menu_txt">
              <% if ChannelID<>0 then
      call ShowRootClass_menu(1)
      end if %>
            </div></TD>
          <TD ></TD>
        </TR>
      </TABLE>
    </td>
  </tr>
</table>


----------------------------------------------------------------------
请看过的朋友帮忙指点一下,如何让该网页标题随窗口改变。谢谢
搜索更多相关主题的帖子: 公司简介 网站 标题栏 在线 
2008-09-10 14:07



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-232496-1-1.html




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

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