| 项目搜索 |
| |
|
代码片段库:
查看代码片段
浏览
| 提交新的代码片段
| 创建代码包
链接的上划线闪烁
|
类型:
Full Script |
类别:
HTML Manipulation
|
许可证:
GNU General Public License |
语言:
JavaScript
|
描述:
在链接文字的上方出现闪烁的线条
来源:http://www.baron.com.cn
|
该代码片段的版本系列:
片段ID |
下载版本 |
提交时间 |
提交人 |
删除 |
4758 | 1.0 | 2003-10-24 03:42 | cbd001 | |
点击"下载版本"来下载该代码片段.
最新版本的代码片段: 1.0
脚本说明:
把如下代码加入<body>区域中
<script>
<!-- Write here the message that you want to write. Write the information between the "", like in the example shown below-->
mess94799="新浪网"
<!-- Write here the url or the source of the link that you want to write. Write the information between the "", like in the example shown below-->
link94799="http://www.sina.com.cn"
<!--Write here the font color. Write the information between the "", like in the example shown below-->
f194799="black"
<!-- Write here the background color. Write the information between the "", like in the example shown below-->
f294799="white"
<!-- Write here the font size. Write the information between the "", like in the example shown below-->
f394799="20px"
<!-- Write here the speed of the flashing in seconds or fractions. Write the information between the "", like in the example shown below-->
f594799="1"
<!-- Don't edit from here on -->
document.write("<span style='cursor:hand;font-size:"+f394799+";color:"+f194799+";background-color:"+f294799+"' id='th94799' onclick=location.href='"+link94799+"'>"+mess94799+"</span>")
y94799=0
function beg94799(){
if (y94799<1){
y94799++
}
else{
y94799=0
}
if (y94799==1){
th94799.style.textDecoration="overline"
}
else{
th94799.style.textDecoration="none"
}
setTimeout("beg94799()",f594799*1000)
}
</script>
<img src='b' onerror=beg94799() style='display:none'>
如果您修改了一个代码片段并且觉得很应该让别人共享,您可以把这作为这个代码片段的最新版本提交上来. |
|