R
R
Roman-Belgorod2015-09-23 18:56:37
JavaScript
Roman-Belgorod, 2015-09-23 18:56:37

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

2 answer(s)
R
Roman-Belgorod, 2015-09-23
@Roman-Belgorod

Question 1 solved for those who are interested:

.dropdown ul { 
height: 200px;
overflow-y: scroll;
}
.dropdown div { 

height: 200px !important;

}

D
Dmitry Kim, 2015-09-23
@kimono

jsfiddle.net/9xndzf9o/2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question