ASP调用栏目名称代码,怎么调用新闻标题代码怎么改 5
<title><%=SiteName%></title><metaname="keywords"content="<%=Sitekey%>"/><metaname="de...
<title><%=SiteName%></title>
<meta name="keywords" content="<%=Sitekey%>"/>
<meta name="description" content="<%=Sitedes%>"/>
<link href="./images/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="./images/jq.js"></script>
<link href="css/css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/lrtk.js"></script>
<script type="text/javascript" src="./images/menu.js"></script>
<!--[if IE 6]>
<script type="text/javascript" src="/templets/style/js/png.js"></script>
<script type="text/javascript" src="/templets/style/js/ie6.js"></script>
<script type="text/javascript">
alert(您的浏览器版本过低,请下载新版浏览器);
</script>
<![endif]-->
</head>
<body>
<!--#include file="menu.htm" -->
<div class="line_bg"></div>
<div class="sub_banner" style="background:url(images/banner.jpg) no-repeat center top;"><div class="menuslide_bg" style="display: none;"></div></div>
<div class="main_box">
<div class="sub_main cl">
<div class="sub_left">
<h3 class="sub_left_tit"><div class="sltitleft"></div><p>N</p><span>NEWS CENTER</span><br>品牌动态</h3>
<ul class="sub_left_con">
<li class=""><div class="icon">文化及礼</div><a href="newsa.asp?id=14">市场前景</a></li>
<li class=""><div class="icon">品牌优势</div><a href="newsa.asp?id=15">品牌优势</a></li>
<li class=""><div class="icon">营运支持</div><a href="newsa.asp?id=16">营运支持</a></li>
<li class=""><div class="icon">保障体系</div><a href="newsa.asp?id=17">保障体系</a></li>
<li class=""><div class="icon">保障体系</div><a href="news.asp?cid=1">企业动态</a></li>
<li class=""><div class="icon">行业动态</div><a href="news.asp?cid=2">行业动态</a></li>
</ul>
<div class="left_adv">
</div>
</div>
<script type="text/javascript">
$(function(){LeftLight(".sub_left_con li",".po a","lefton");})
</script>
<div class="sub_right">
<div class="sub_right_tit">
<%=rsNews("title")%>
</div>
<div class="about_con">
<%=rsNews("content")%>
<%
end if
rsNews.close
set rsNews=nothing
%>
</div>
</div>
<div class="clear"></div>
</div>
</div>
<!--footer start-->
<div class="footer_box">
<div class="footer"><%=phone%> | <%=Address%> | <%=copyright%></div>
<div class="link"> </div>
</div>
<!--footer end--> 展开
<meta name="keywords" content="<%=Sitekey%>"/>
<meta name="description" content="<%=Sitedes%>"/>
<link href="./images/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="./images/jq.js"></script>
<link href="css/css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/lrtk.js"></script>
<script type="text/javascript" src="./images/menu.js"></script>
<!--[if IE 6]>
<script type="text/javascript" src="/templets/style/js/png.js"></script>
<script type="text/javascript" src="/templets/style/js/ie6.js"></script>
<script type="text/javascript">
alert(您的浏览器版本过低,请下载新版浏览器);
</script>
<![endif]-->
</head>
<body>
<!--#include file="menu.htm" -->
<div class="line_bg"></div>
<div class="sub_banner" style="background:url(images/banner.jpg) no-repeat center top;"><div class="menuslide_bg" style="display: none;"></div></div>
<div class="main_box">
<div class="sub_main cl">
<div class="sub_left">
<h3 class="sub_left_tit"><div class="sltitleft"></div><p>N</p><span>NEWS CENTER</span><br>品牌动态</h3>
<ul class="sub_left_con">
<li class=""><div class="icon">文化及礼</div><a href="newsa.asp?id=14">市场前景</a></li>
<li class=""><div class="icon">品牌优势</div><a href="newsa.asp?id=15">品牌优势</a></li>
<li class=""><div class="icon">营运支持</div><a href="newsa.asp?id=16">营运支持</a></li>
<li class=""><div class="icon">保障体系</div><a href="newsa.asp?id=17">保障体系</a></li>
<li class=""><div class="icon">保障体系</div><a href="news.asp?cid=1">企业动态</a></li>
<li class=""><div class="icon">行业动态</div><a href="news.asp?cid=2">行业动态</a></li>
</ul>
<div class="left_adv">
</div>
</div>
<script type="text/javascript">
$(function(){LeftLight(".sub_left_con li",".po a","lefton");})
</script>
<div class="sub_right">
<div class="sub_right_tit">
<%=rsNews("title")%>
</div>
<div class="about_con">
<%=rsNews("content")%>
<%
end if
rsNews.close
set rsNews=nothing
%>
</div>
</div>
<div class="clear"></div>
</div>
</div>
<!--footer start-->
<div class="footer_box">
<div class="footer"><%=phone%> | <%=Address%> | <%=copyright%></div>
<div class="link"> </div>
</div>
<!--footer end--> 展开
1个回答
2016-07-09
展开全部
改为title是变量,rsnews("title")的话说不定rsnews早都已经关闭了,你还调用,肯定不行了。
追问
怎么改变量?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询