亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

jq怎么做局部div滾動?

jq怎么做局部div滾動?

Smart貓小萌 2018-11-13 13:41:06
<style>.top , .bottom{height:130px;background:#000;} .center{height:400px;overflow:hidden;position:relative;}.center .box{width:100%;height:100%;position:absolute;}.center .box ul{overflow:hidden;}.center .box ul li{background:red;height:400px;width:100%;}</style><div class="top"></div><div class="center">     <div class="box">         <ul>         <li></li>         <li></li>         </ul>     </div></div><div class="bottom"></div>jq怎么做ul li的局部滾動,中間這塊不能出現滾動條。還要考慮阻止瀏覽器滾動條事件。需求是:用鼠標滑輪滾動。li會下滾或者上滾。前提是我這個鼠標在這里center范圍,在范圍外面可以使用瀏覽器的滾動事件,里面的禁止。
查看完整描述

1 回答

  • 1 回答
  • 0 關注
  • 440 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號