第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

為什么審查元素的時(shí)候點(diǎn)擊不了審查元素中代碼,感覺(jué)卡住了

<!doctype html>

<head>

<meta charset="gb2312">

<title>????</title>

</head>

<style>

*{margin:0px; padding:0px;}

li{ width:200px; height:100px; background:red; margin-bottom:20px;}

</style>

<script>

?window.onload=function(){

var Li1=document.getElementById('div1');

var Li2=document.getElementById('div2');


Li1.onmouseover=function(){

startMove(this,'width',400);

}

Li1.onmouseout=function(){

startMove(this,'width',200);

}

Li2.onmouseover=function(){

startMove(Li2,'height',300);

}

Li2.onmouseout=function(){

startMove(Li2,'height',100);

}

?}

? ?function getStyle(set,attr){

? if(set.currentStyle){

? ? ?return set.currentStyle[attr];

? }else{

? ? ?return getComputedStyle(set,false)[attr];

? }

? }

? var timer=null;

? function startMove(set,attr,obj,fn){

? clearInterval(set.timer);

set.timer=setInterval(function(){

var curr=parseInt(getStyle(set,attr));

var speed=(obj-curr)/8;

speed=speed>0?Math.ceil(speed):Math.floor(speed);

if(obj==curr){

setInterval(set.timer);

if(fn){

fn();

}

}else{

set.style[attr]=curr+speed+'px';}

},30)


? }

</script>

<body>

<ul>

<li id='div1'></li>

<li id='div2'></li>

</ul>

</body>

</html>


正在回答

舉報(bào)

0/150
提交
取消

為什么審查元素的時(shí)候點(diǎn)擊不了審查元素中代碼,感覺(jué)卡住了

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)