php

php,ajax,asp,web技术,开源 我不懂什么叫开源?
posts - 5, comments - 3, trackbacks - 0, articles - 0
  PHP博客 :: 首页 :: 新随笔 ::  :: 聚合  :: 管理

html 调用 asp 文件

Posted on 2008-04-26 16:29 ssn 阅读(2803) 评论(0)  编辑 收藏 引用 网摘 所属分类: ASP技术
为了保持网站的整体风格的统一,页面的尾部调用一个asp文件.由于页面是.html的,所以不能用<!--#include file=""-->的方式做.
于是就用了调用的方法.
.html中调用的代码
<script type="text/javascript"src="bottom.asp"></script>

bottom.asp中的代码
document.write("<link href='css.css' rel='stylesheet' type='text/css' />");

document.write ("<table height='50'  width='1024' background='images/bq.jpg' align='center' class='tt'><tr><td align='center' valign='middle'>");
document.write ("版权所有:<a href='http://www.zt315.cn'>技术支持</a>") ;

document.write ("</td></tr></table>");


只有注册用户登录后才能发表评论。
网站导航: