web前端|js教程
多物体,任意值,链式
web前端-js教程
理发店产品展示网站源码,ubuntu网络代理软件,tomcat涉及哪些端口号,scrapy爬虫怎么解决,php获取图片文件名称,seo建设招商lzw
一路上源码,ubuntu与kylin区别,tomcat只到端口号,pyton爬虫热点项目,php垃圾回收有什么用,昆明seo思维lzw
ul,li,img{margin:0;padding:0;border:0;}
#list{height:250px;list-style-type:none;overflow:hidden;}
咖啡餐饮连锁企业源码,vscode如何做行标记,锐7000 ubuntu,tomcat访问ip隐藏,网络爬虫悬赏,lnmp 重装php,新人学会seo外推快照lzw
var odiv=document.getElementById(‘odiv’);
odiv.onmouseover=function(){
move(this,’width’,500,function(){
move(odiv,’left’,300,function(){
move(odiv,’height’,500,function(){
move(odiv,’borderWidth’,10)
})
})});}
function move(obj,arr,target,fn){
var dt=null,speed=0,ol=0;
clearInterval(dt);
dt=setInterval(function(){
ol=parseInt(obj.style[arr]);
if(ol==target){
clearInterval(dt);
if(fn) fn();
}else{
speed=(target-ol)/8;
speed>0?speed=Math.ceil(speed):speed=Math.floor(speed);
obj.style[arr]=ol+speed+”px”;
}
},30);
}