设为首页 加入收藏
当前位置:首页 > 整站内容 > 特效代码 > 图形图像 > 详细内容
公告栏渐变图形
发布时间:2010-3-16  阅读次数:8928  字体大小: 【】 【】【

<html>

<head>
<title>网页特效|Linkweb.cn/Js|---公告栏渐变图形</title>
<meta content="text/html; charset=gb2312" http-equiv="Content-Type">
<style type="TEXT/CSS">.cool {
  BORDER-BOTTOM-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; BORDER-RIGHT-WIDTH: 1px; BORDER-TOP-WIDTH: 1px; CURSOR: hand; FONT-SIZE: 9pt
}
A {
  TEXT-DECORATION: none
}
A:hover {
  COLOR: #ff9900; TEXT-DECORATION: underline
}
TD {
  FONT-SIZE: 9pt; LINE-HEIGHT: 13pt
}
TH {
  FONT-SIZE: 9pt; LINE-HEIGHT: 13pt
}
BODY {
  FONT-SIZE: 9pt; LINE-HEIGHT: 13pt
}
.f1 {
  FONT-SIZE: 14pt
}
</style>
<script language="JavaScript">
m = new Array()
m[0] = "这个例子还有很多等着你去修改!"
m[1] = "感觉怎样!不错吧!"
m[2] = "可以把这个当成公告栏也不错喔!"
m[3]="<a href='http://linkweb.cn/js'>『』</a>欢迎你的光临!"
m[4]="本站域名:http://linkweb.cn/js"
m[5] = "有空要到我的主页看看!"
m[6] = "如有问题!欢迎留言!"

bagcolor = new Array()
bagcolor[0] = "#CCCCCC"
bagcolor[1] = "#FFFF66"
bagcolor[2] = "#CCFFFF"
bagcolor[3] = "#AAEEFF"
bagcolor[4] = "#CCFF88"
bagcolor[5] = "#FF9933"
bagcolor[6] = "#99AAFF"
bagcolor[7] = "#6699FF"
var i=0;

function Ran(R) {    
  return Math.floor((R+1)*Math.random())
}

function play_rt()
{  
  rt1.style.filter="revealTrans(Duration=1.5,Transition=" + Ran(22) + ")";
       rt1.filters.revealTrans.apply();
  rt1.style.background=bagcolor[Ran(7)];
  rt1.innerHTML=m[Ran(6)];
       rt1.filters.revealTrans.play();
       timer = setTimeout("play_rt()",3000)    
}
</script>

<meta content="Microsoft FrontPage 6.0" name="GENERATOR">
</head>

<body bgColor="#ffffff" leftMargin="0" link="#6699FF" onload="play_rt()" topMargin="0"
vLink="#6699CC">
<center>
<table cellPadding="0" cellSpacing="0" width="283">
<TBODY>
   <tr vAlign="top">
       <td width="352"></td>
   </tr>
   <tr>
       <td vAlign="top" width="352">
       <table cellPadding="0" cellSpacing="0" width="29">
<TBODY>
           <tr>
               <td   height="1" vAlign="top" width="3"></td>
               <td vAlign="top" width="11"></td>
               <td height="22" vAlign="top" width="487">
               <table width="299" height="184">
<TBODY>
                   <tr align="middle">
                   </tr>
                   <tr>
                       <td height="102" colspan="2" width="327"><table border="6" height="87" width="327" bordercolorlight="#FF00FF" bordercolordark="#FF0000">
<TBODY>
                           <tr align="middle">
                               <td height="82" id="rt1">
                                   <p align="center"></td>
                           </tr>
</TBODY>
                       </table>
                       <p><br>
                           </p>
                       </td>
                   </tr>
</TBODY>
               </table>
               </td>
           </tr>
</TBODY>
       </table>
       </td>
   </tr>
   <tr align="right">
       <td width="352">
       <p> </td>
   </tr>
</table>
</center>
</body>
</html>

预览效果

天猫商城    聚划算    天猫电器城    淘宝旅行    天猫超市    淘宝游戏    天猫品牌特卖    天猫母婴

我要评论
  • 匿名发表
  • [添加到收藏夹]
  • 发表评论:(匿名发表无需登录,已登录用户可直接发表。) 登录状态:未登录
最新评论
所有评论[1]
    暂无已审核评论!

全站链接: 
收录查询
分享按钮