Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
551 views
in Technique[技术] by (71.8m points)

悬浮框有滚动条,实现滚动鼠标轮时,悬浮框滚动条滚动

一个元素有一个hover事件,触发一个悬浮框,悬浮框有滚动条,实现滚动鼠标滚动轮时,悬浮框滚动条滚动。
图片描述

还有一个另外一个解决问题的思路,hover时,悬浮框没有滚动条,外面的有滚动条(数据多时,撑开),鼠标滚动轮滚动时,悬浮框不消失(hover事件触发的)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

为什么不搞成hover在悬浮框中的时候滚动


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...