7 个解决方案
#1
你可以看下javascript的一些特效
#2
请求原代码!!!谢谢!!
#3
脚本特效,现在网上关于这种特效很多,随便找都有!!
#4
http://218.6.165.7/xuesheng/bangong/index.asp
效果你应该看到了
效果你应该看到了
#5
代码如下
<script language=javascript>
var left=0;
var left1=150;
var top=0;
var top1=50;
var stepx=5;
var stepx1=6;
var stepy=5;
var stepy1=-3;
function jump(){
left=left+stepx;
top=top+stepy;
if(top>550)stepy=-4;
if(top<0)stepy=4;
if(left>830)stepx=-4;
if(left<0)stepx=4;
sign.style.left=left;
sign.style.top=top;
left1=left1+stepx1;
top1=top1+stepy1;
if(top1>550)stepy1=-3;
if(top1<0)stepy1=3;
if(left1>830)stepx1=-6;
if(left1<0)stepx1=6;
sign1.style.left=left1;
sign1.style.top=top1;
timeID=setTimeout("jump()",100);
}
</script>
<script language=javascript>
var left=0;
var left1=150;
var top=0;
var top1=50;
var stepx=5;
var stepx1=6;
var stepy=5;
var stepy1=-3;
function jump(){
left=left+stepx;
top=top+stepy;
if(top>550)stepy=-4;
if(top<0)stepy=4;
if(left>830)stepx=-4;
if(left<0)stepx=4;
sign.style.left=left;
sign.style.top=top;
left1=left1+stepx1;
top1=top1+stepy1;
if(top1>550)stepy1=-3;
if(top1<0)stepy1=3;
if(left1>830)stepx1=-6;
if(left1<0)stepx1=6;
sign1.style.left=left1;
sign1.style.top=top1;
timeID=setTimeout("jump()",100);
}
</script>
#6
你在里面用查看源代码也可以看到javascript的代码
#7
试了,无图象啊
#1
你可以看下javascript的一些特效
#2
请求原代码!!!谢谢!!
#3
脚本特效,现在网上关于这种特效很多,随便找都有!!
#4
http://218.6.165.7/xuesheng/bangong/index.asp
效果你应该看到了
效果你应该看到了
#5
代码如下
<script language=javascript>
var left=0;
var left1=150;
var top=0;
var top1=50;
var stepx=5;
var stepx1=6;
var stepy=5;
var stepy1=-3;
function jump(){
left=left+stepx;
top=top+stepy;
if(top>550)stepy=-4;
if(top<0)stepy=4;
if(left>830)stepx=-4;
if(left<0)stepx=4;
sign.style.left=left;
sign.style.top=top;
left1=left1+stepx1;
top1=top1+stepy1;
if(top1>550)stepy1=-3;
if(top1<0)stepy1=3;
if(left1>830)stepx1=-6;
if(left1<0)stepx1=6;
sign1.style.left=left1;
sign1.style.top=top1;
timeID=setTimeout("jump()",100);
}
</script>
<script language=javascript>
var left=0;
var left1=150;
var top=0;
var top1=50;
var stepx=5;
var stepx1=6;
var stepy=5;
var stepy1=-3;
function jump(){
left=left+stepx;
top=top+stepy;
if(top>550)stepy=-4;
if(top<0)stepy=4;
if(left>830)stepx=-4;
if(left<0)stepx=4;
sign.style.left=left;
sign.style.top=top;
left1=left1+stepx1;
top1=top1+stepy1;
if(top1>550)stepy1=-3;
if(top1<0)stepy1=3;
if(left1>830)stepx1=-6;
if(left1<0)stepx1=6;
sign1.style.left=left1;
sign1.style.top=top1;
timeID=setTimeout("jump()",100);
}
</script>
#6
你在里面用查看源代码也可以看到javascript的代码
#7
试了,无图象啊