N
N
Name Imechko2015-10-17 11:30:20
css
Name Imechko, 2015-10-17 11:30:20

How to make a small div appear when a link is clicked?

How to make a small div appear when a link is clicked? While darkening the rest of the page.
In general, an example on https://blog.yandex.ru/
Click on the scoreboard of services (icon with squares) on top

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Kamyannoy, 2015-10-17
@redfieldone

Something like this codepen.io/larrygeams/pen/reiDd
You can find it in the examples by the keywords - toggle nav , sidebar nav . And to style, from where it will appear and how it is possible in css. The gist of Jquery and the .click() event

M
Maxim Timofeev, 2015-10-17
@webinar

Connect bootstrap and use their modal window widget. Or write in jquery - there are 3 lines of code. If you don't know jquery, learn it now. I can't imagine a web project where jquery would not be the basis for the site's user interface.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question