***鼠标特效***跟随鼠标星星第一部份
把下列代码加到网页的<body></body>标签之间 从google下载我的照片管理软件脚本说明:
把如下代码加入<body>区域中
<script>
/*
scrolling image map/text link tooltip script-
special thanks to: rob(http://rob.yeah.net)
miss ann(http://annworld.126.com)
*/
if (!document.layers&&!document.all)
event="test"
function showtip2(current,e,text){
if (document.all&&document.readystate=="complete"){
document.all.tooltip2.innerhtml='<marquee style="border:1px solid black">'+text+'</marquee>'
document.all.tooltip2.style.pixelleft=event.clientx+document.body.scrollleft+10
document.all.tooltip2.style.pixeltop=event.clienty+document.body.scrolltop+10
document.all.tooltip2.style.visibility="visible"
}
else if (document.layers){
document.tooltip2.document.nstip.document.write('<b>'+text+'</b>')
document.tooltip2.document.nstip.document.close()
document.tooltip2.document.nstip.left=0
currentscroll=setinterval("scrolltip()",100)
document.tooltip2.left=e.pagex+10
document.tooltip2.top=e.pagey+10
document.tooltip2.visibility="show"
}
}
function hidetip2(){
if (document.all)
document.all.tooltip2.style.visibility="hidden"
else if (document.layers){
clearinterval(currentscroll)
document.tooltip2.visibility="hidden"
}
}
function scrolltip(){
if (document.tooltip2.document.nstip.left>=-document.tooltip2.document.nstip.document.width)
document.tooltip2.document.nstip.left-=5
else
document.tooltip2.document.nstip.left=150
}
</script>
<script language="javascript">
function yy_layerfx(yyleft,yytop,yyfnx,yyfny,yydiv,yybilder,yyloop,yyto,yycnt,yystep) { //v1.2
//copyright (c)1999 yaromat, jaro von flocken
if ((document.layers)||(document.all)){
with (math) {yynextx= eval(yyfnx)}
with (math) {yynexty= eval(yyfny)}
yycnt=(yyloop && yycnt>=yystep*yybilder)?0:yycnt+yystep;
if (document.layers){
eval(yydiv+".top="+(yynexty+yytop))
eval(yydiv+".left="+(yynextx+yyleft))
}
if (document.all){
eval("yydiv=yydiv.replace(/.layers/gi, '.all')");
eval(yydiv+".style.pixeltop="+(yynexty+yytop));
eval(yydiv+".style.pixelleft="+(yynextx+yyleft));
}
argstr='yy_layerfx('+yyleft+','+yytop+',"'+yyfnx+'","'+yyfny+'","'+yydiv+'",'+yybilder+','+yyloop+','+yyto+','+yycnt+','+yystep+')';
if (yycnt<=yystep*yybilder){eval(yydiv+".yyto=settimeout(argstr,yyto)");}
}
}
function yy_mousetrace(evnt) { //v1.2 copyright (c)1999 yaromat
if (yyns4)
{if (evnt.pagex) {yy_ml=evnt.pagex;yy_mt=evnt.pagey;}}
else{
yy_ml=(event.clientx + document.body.scrollleft);
yy_mt=(event.clienty + document.body.scrolltop);
}
if (yy_tracescript)eval(yy_tracescript)
}
</script>
--------------------------------------
拥有三人行论坛管理系列软件,一个人就可以管理一个论坛的更新维护。还能使您的论坛有千人在线的真实火暴效果,让您不在为论坛因没有人气而留不住会员而烦恼,使您的论坛早日成为一流的论坛。详情请登陆网站:http://www.cnsrx.cn 三人行论坛管理软件,站长必备的专业好工具。(您使用的是免费版本,购买收费版本后,将不带广告。业务QQ:247216 44985227)
页:
[1]