上一篇:取分隔符后的字符 (分隔符其实可自由指定一个字符表示) >>
两种字幕的效果(很有用)
<script language="vbscript" src="friendshow.vbs"></script>
用来调用这两个.vbs文件,
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr>
<td height="25" align="center" valign="bottom" id="info"> </td>
</tr></table>
<table width="100%" border="0" cellspacing="1" cellpadding="2" class=bdall><tr>
<td height="15" align="center" id="friend" ></td>
</tr></table>
+++++++ friendshow.vbs ++++++++++++++++++++++++++++++++++++
‘’显示友情连接
arf=0
dim inff(4)
inff(0)="<a href=‘’http://www.chinausbiz.com‘’ target=‘’_blank‘’>纽约中美商务网</a> | " & _
"<a href=‘’../ad/luck.asp‘’ target=‘’_blank‘’>保定乐凯光学电子有限公司</a> | " & _
"<a href=‘’http://www.chinamet.com/‘’ target=‘’_blank‘’>中国机电贸易网</a> | " & _
"<a href=‘’http://www.ccct.org.cn/‘’ target=‘’_blank‘’>中国纺织品进出口商会</a>"
inff(1)="<a href=‘’http://www.icecf.com/‘’ target=‘’_blank‘’>中国出口商品交易会</a> | " & _
"<a href=‘’http://www.chinaim-export.com/cn/‘’ target=‘’_blank‘’>中华进出口在线</a> | " & _
"<a href=‘’http://www.cn.bizipoint.com/gb/index.php3‘’ target=‘’_blank‘’>中国电子商会</a> | " & _
"<a href=‘’http://www.chinafiw.com/e_m/site/mysystem154.asp‘’ target=‘’_blank‘’>中国外资网</a> | " & _
"<a href=‘’http://www.cctvcr.com.cn‘’ target=‘’_blank‘’>央视国际</a> | " & _
"<a href=‘’http://www.mc-ccpit.com‘’ target=‘’_blank‘’>中国冶金贸易会 </a>"
inff(2)="<a href=‘’http://www.base56.com.cn‘’ target=‘’_blank‘’>中国物流基地联盟网</a> | " & _
"<a href=‘’http://www.clii.com‘’ target=‘’_blank‘’>中国轻工业联合会</a> | " & _
"<a href=‘’http://www.china-retailers.com/xr/dahui/‘’ target=‘’_blank‘’>2003中国城市商业服务业对外开放与利用外资大会</a>"
inff(3)="<href=‘’http://www.chinabidding.com/pub/other/consultcenter/index.jsp‘’ target=‘’_blank‘’>中国国际招标网采购咨询站点</a> | " & _
"<a href=‘’http://www.bjtzhwjmw.gov.cn‘’ target=‘’_blank‘’>北京市通州区对外经济贸易委员会</a> | " & _
"<a href=‘’http://www.soufun.com‘’ target=‘’_blank‘’>房地产门户-搜房网</a>"
inff(4)="<a href=‘’http://www.agriffchina.com/‘’ target=‘’_blank‘’>中国食品土畜进出口商会</a> | " & _
"<a href=‘’http://www.chinaip.net‘’ target=‘’_blank‘’>中国投资项目网</a> | " & _
"<a href=‘’http://www.oil.hc360.com‘’ target=‘’_blank‘’>hc360慧聪网石油 </a>"
function friend_show()
friend.innerhtml=inff(arf)
arf=arf+1
if arf>ubound(inff) then arf=0
settimeout "friend_show()",5000
end function
friend_show
+++++++ infoshow.vbs +++++++++++++++++++++++++++++++++++++++++
‘’显示每日提示
op=0
flag=0
ar=0
dim inf(3)
inf(0)="<font color=‘’#FF0000‘’>服务热线:020-67665548</font>"
inf(1)="<font color=‘’#0099FF‘’>您的关注就是我们的动力。</font>"
inf(2)="<font color=‘’#FF9900‘’>欢迎加入手机贸易网会员服务。</font>"
inf(3)=""
function info_show()
if op=0 then
info.innerhtml=inf(ar)
ar=ar+1
if ar>ubound(inf) then ar=0
end if
info.style.filter="alpha(opacity=" & op & ")"
if flag=0 then op=op+20
if op>=300 then flag=100
if flag=100 then op=op-20
if op<=0 then flag=0
settimeout "info_show()",200
end function
info_show
下一篇:一些基本的/适应的/函数 >>
相关文章:
- · 利用Asp.net 动态创建DataList
- · 自己制作友好的页面“确认对话框”
- · 一个asp模板类
- · 利用%5c绕过验证
- · 一个asp模板类
- · 用javascript调用webservice(webservice behavior)
- · asp.net无法调试的解决方法
- · 奇特的用法:把列名取到一个字符串中
- · ASP.NET编程习惯
- · ASP.Net 1.x 中 __doPostBack实现的问题
- · 在Remoting Server上取得Remoting Client的IP地址
- · ASP 写的自动生成SELECT 表单的函数
- · ASP 写的判断 Money 各个位值的函数
- · 如何保存一个字符串Cookie,在其它WebForm中可以访问到?
- · 几个开源项目配置信息的存储和处理的方式
- · [ASP-Last-Code]显示ASP页面的代码
- · C#实现WEB服务器
- · 一个完整的案例
- · 自定义DataGrid分页设置
- · 虚拟主机如何提高整体性能-application的使用
- · 我的DataGrid嵌套DataList(未解决)
- · 大文件上传研究
- · IIS属性大全
- · 在Asp程序中取得表单所有内容的方法
- · 发布攻击台湾国旗设计网的ASP代码
- · ADO.NET 2.0 Feature Matrix
- · asp.net中的模态对话框
- · ASP.net中动态加载控件时一些问题的总结
- · 一切都因为分页-再谈分页
- · 简单快捷实现ASP在线发邮件功能
- · 改进性能和样式的 25+ ASP 技巧
- · 我的asp之路
- · 网上考试系统的一点心得
- · asp程序错误详细说明例表
- · 用好活动字幕标记—marquee
- · asp.net实现分组全选部分复选框
- · 在PPC上编译ASP,吃惊!!!
- · Asp之Request对象(1)
