G
G
GoodProject2015-11-16 16:56:09
css
GoodProject, 2015-11-16 16:56:09

How to make a dropdown menu in jquery?

Kind.

How to make a drop-down menu so that when you click on .topmenu, a list of 2 links appears?

Thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yuri Kucherenko, 2015-11-16
@GoodProject

$(".nav_button").click(function() { // Тут класс твоей кнопки
    $('.navigation').slideToggle(300);  // Тут класс твоего меню, предварительно оно "display:none"
  });

F
Fet, 2015-11-16
@halenharper

I would advise you to refer to Bootstrap or Bootstrap-ru in the Dropdowns or Dropdown menu section, everything is described with examples.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question