鼠标文字背景
来源:互联网 发布:君子不器 知乎 编辑:程序博客网 时间:2024/04/29 04:29
<SCRIPT language=javascript>
<!--//This is a JS program for Sword Jin's JoyFM homepage.All rights reserved.
var cx=0;
var cy=0;
var val=0;
function locate()
{ cx=window.event.x;
cy=window.event.y;
}
document.onmousemove=locate;
function follow(i)
{ var x;
if(i<4)x=cx-50+i*10;
else x=cx-25+i*10;
var y=cy-20+Math.floor(Math.random()*40);
w=eval("word"+i);
with(w.style)
{
left=x.toString()+"px";
top=y.toString()+"px";
}
}
function show(i)
//www.zhaomu.com
{
var w=eval("word"+i);
with(w.style)
{
visibility="visible";
s=parseInt(fontSize);
if(s>=200)s-=100;
else if(s>90&&s<=100)
{
s-=85;
clearInterval(val);
if(i<5)val=setInterval("show("+(i+1)+")",20);
}
fontSize=s;
}
}
function start()
{ for(i=1;i<=5;i++)
{
val=setInterval("show(1)",20);
setInterval("follow("+i+")",100);
}
}
//-->
</SCRIPT>
<SCRIPT language=javascript>
var word=new Array(5);
word[1]="朝";word[2]="暮";word[3]="数";word[4]="据";word[5]="www.zhaomu.com";
for(i=1;i<=5;i++)
document.write("<div id='word"+i+"' style='width:20px;height:20px;position:absolute;font-
size:1000;visibility:hidden'><font face='Forte' color='red'>"+word[i]+"</font></div>");start();
</SCRIPT>
<!--//This is a JS program for Sword Jin's JoyFM homepage.All rights reserved.
var cx=0;
var cy=0;
var val=0;
function locate()
{ cx=window.event.x;
cy=window.event.y;
}
document.onmousemove=locate;
function follow(i)
{ var x;
if(i<4)x=cx-50+i*10;
else x=cx-25+i*10;
var y=cy-20+Math.floor(Math.random()*40);
w=eval("word"+i);
with(w.style)
{
left=x.toString()+"px";
top=y.toString()+"px";
}
}
function show(i)
//www.zhaomu.com
{
var w=eval("word"+i);
with(w.style)
{
visibility="visible";
s=parseInt(fontSize);
if(s>=200)s-=100;
else if(s>90&&s<=100)
{
s-=85;
clearInterval(val);
if(i<5)val=setInterval("show("+(i+1)+")",20);
}
fontSize=s;
}
}
function start()
{ for(i=1;i<=5;i++)
{
val=setInterval("show(1)",20);
setInterval("follow("+i+")",100);
}
}
//-->
</SCRIPT>
<SCRIPT language=javascript>
var word=new Array(5);
word[1]="朝";word[2]="暮";word[3]="数";word[4]="据";word[5]="www.zhaomu.com";
for(i=1;i<=5;i++)
document.write("<div id='word"+i+"' style='width:20px;height:20px;position:absolute;font-
size:1000;visibility:hidden'><font face='Forte' color='red'>"+word[i]+"</font></div>");start();
</SCRIPT>
- 鼠标文字背景
- div鼠标指向文字与背景变换
- 鼠标背景
- JS+DIV表单实例——鼠标移上背景变色和文字提示
- JS+DIV表单实例——鼠标移上背景变色和文字提示
- JS+DIV表单实例——鼠标移上背景变色和文字提示
- WPF 实现DataGrid行鼠标经过、点击时的背景、文字、行高等样式
- 鼠标浮在行之上时改行文字和背景反色
- 鼠标移动背景变化
- 跟随鼠标旋转背景
- 显示背景和文字
- 图片+半透明背景文字
- word 文字 阴影 背景
- 背景透明,文字不透明
- 背景透明文字不透明
- 背景透明文字不透明
- 文字添加背景
- 背景透明文字不透明
- [Testing] 软件测试工程师需要掌握的知识.
- 静电电压高达上万伏原理分析
- Android 用户界面---拖放(Drag and Drop)(二)
- 九九乘法表
- POJ-1305(勾股定理)(Fermat vs. Pythagoras)
- 鼠标文字背景
- 6种排序算法:冒泡、鸡尾酒、选择、插入、归并、快速
- Android系统文件夹结构介绍
- VMare Tools的安装
- extjs $ 美元符号修改
- 若柯嫩师长教师能考与邦际证照
- JavaScript获取系统当前日期和时间、星期几
- Discuz! X2 后台有没有自己设置安全提问的地方?
- 控制血糖的餐单