Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

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

javascript - 具有大小调整的类别滑块(Category Slider with resizing)

Is need to make a slider as on the layout.

(需要在布局上制作一个滑块。)

在此处输入图片说明

If there are many categories, arrows appear.

(如果类别很多,则会出现箭头。)

If the list of categories fits in width, the arrows must disappear.

(如果类别列表适合宽度,则箭头必须消失。)

When resizing, if the categories do not fit, then arrows should appear.

(调整大小时,如果类别不合适,则应该出现箭头。)

If there are less categories than the width, then the slider will not slide.

(如果类别少于宽度,则滑块将不会滑动。)

How to do that.

(怎么做。)

Maybe there is a ready-made plugin for this?

(也许为此有一个现成的插件?)

  ask by Denis translate from so

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

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...