javascript图形滚动公告牌

<html>
<head>
<title>网页特效</title>
<style type=text/css>
a{
color:black;
font-size:9pt;
font-style:normal;
text-decoration:none;}
a:hover{background-color:#00ccff;font-size:9pt;color:red;font-style:normal;text-decoration:none;}
a:active{color:#00ccff;font-size:9pt;font-style:normal;text-decoration:underline;}
table{font-size:9pt}
</style>
</head>
<body bgColor=#ffffff topMargin=5>
<br>
<center>
<table border=0 width=30%>
<tr>
<td width=100%>
<p align=center>
<span style="background-color:#ccffcc;font-size:10pt">图形滚动公告牌</span></p>
</td>
</tr>
<tr>
<td width=100% bordercolor="#0000ff" bgcolor="#ffccff" style="border:3 ridge:#000000">
<script language="javascript">
var links=new Array(8);
var comments=new Array(8);
comments[0]='ASP.NET';
comments[1]='C#';
comments[2]='HTML';
comments[3]='DHTML';
comments[4]='JAVASCRIPT';
comments[5]='XML';
comments[6]='C';
comments[7]='SQL';
links[0]='www.baidu.com';
links[1]='www.sina.com';
links[2]='www.sohu.com';
links[3]='www.asp.net';
links[4]='www.microsoft.com';
links[5]='www.xulei.com';
links[6]='www.jkdcn.com';
links[7]='www.qq.com';
document.write("<marquee scrollamount=1 scrolldelay=30 direction=up width=188 id=strolling height=120 οnmοuseοver=strolling.stop() οnmοuseοut=strolling.start()>");
for(var i=0;i<=7;i++){
  document.write("<a href="+links[i]+" target='_blank'><font color=#003399>");
  document.write(comments[i]+"</font></a><br>");
  }
  document.write("</marquee>");
</script>
</td>
</tr>
</table>
</center>
</body>
</html>

 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值