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

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

為啥我的點(diǎn)擊不會(huì)動(dòng),求解

<style type="text/css">
?? ?*{ padding:0px; margin:0;list-style: none;}
?? ??? ?#content{ width: 500px; height: 300px; position:relative; margin: 0 auto;border: 1px solid #FF4500;}
?? ??? ?#imgList{position: absolute; height: 300px; width: 10000px;background-color: #FF4533;}
?? ??? ?#imgList img{ float: left; width:500px; height: 300px;}
?? ??? ?#point{ position: absolute;height:30px;width: 150px; margin-left: -75px; text-align: center; left: 50%; bottom: 10px; }
?? ??? ?#point li{float:left; width:20px; height:20px;margin-right:5px; border-radius:10px; background-color:#FF4500;line-height: 20px; text-align: center;}
?? ??? ?#btnL,#btnR{ cursor:pointer;position: absolute; top: 50%;margin-top: -25px; height: 50px; width: 30px; background-color:rgba(0,0,0,0.5); text-align: center;line-height: 50px; color: #fff;}
?? ??? ?#btnR{ right:20px;}
?? ??? ?#btnL{left: 20px;}
?? ?</style>
?? ?<script type="text/javascript">
?? ??? ?window.onload= function(){
?? ??? ??? ?var oImgList =document.getElementById('imgList');
?? ??? ??? ?var oPoints =document.getElementById('point');
?? ??? ??? ?var oBtnL =document.getElementById('btnL');
?? ??? ??? ?var oBtnR =document.getElementById('btnR');
?? ??? ??? ??? ?oBtnL.onclick =function(){
?? ??? ??? ??? ????? oImgList.style.left =? parseInt(oImgList.style.left) - 500 +'px';
?? ??? ??? ??? ????? console.log(parseInt(oImgList.style.left));
?? ??? ??? ??? ?}

?? ??? ?}
?? ??? ?
?? ?</script>
?? ?<body>
?? ??? ?<div id="content">
?? ??? ??? ?<div id="imgList">
?? ??? ??? ??? ?<img src="img/1.jpg"/>
?? ??? ??? ??? ?<img src="img/2.jpg"/>
?? ??? ??? ??? ?<img src="img/3.jpg"/>
?? ??? ??? ??? ?<img src="img/4.jpg"/>
?? ??? ??? ??? ?<img src="img/5.jpg"/>
?? ??? ??? ?</div>
?? ??? ??? ?<ul id="point">
?? ??? ??? ??? ?<li>0</li>
?? ??? ??? ??? ?<li>1</li>
?? ??? ??? ??? ?<li>2</li>
?? ??? ??? ??? ?<li>3</li>
?? ??? ??? ??? ?<li>4</li>
?? ??? ??? ?</ul>
?? ??? ??? ?<a id="btnL">&lt;</a>
?? ??? ??? ?<a id="btnR">&gt;</a>
?? ??? ?</div>
?? ?</body>

正在回答

2 回答

???小白同問(wèn)


0 回復(fù) 有任何疑惑可以回復(fù)我~


原來(lái)是忘記設(shè)置行間樣式了;

1 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

為啥我的點(diǎn)擊不會(huì)動(dòng),求解

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

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

幫助反饋 APP下載

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

公眾號(hào)

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