Answer the question
In order to leave comments, you need to log in
How to add scrollbar to dropdown list?
Hello.
No. 1) There is a drop-down list in which there are many fields, I would like to add scrolling, help me implement it.
№ 2) By clicking the field, the content is activated, how to slow down its appearance by 0.5 seconds? Need a delay.
Here is an example jsfiddle.net/9xndzf9o/1
The plugin is connected: jquery.easydropdown.js + query 2.1.3
PS = The example is fully working, who needs to take it. An analogue of "tabs" where instead of tabs a drop-down list is activated by clicking on the content. Please help with questions. This plugin handles select + option and replaces it with its own html structure.
Answer the question
In order to leave comments, you need to log in
Question 1 solved for those who are interested:
.dropdown ul {
height: 200px;
overflow-y: scroll;
}
.dropdown div {
height: 200px !important;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question