Answer the question
In order to leave comments, you need to log in
How to change the display of content in a SimpleModal modal window?
Hi all.
I use jQuery SimpleModal for the modal window. Please tell me, who knows how to make the Title and Footer inside the modal window fixed, so that the content would scroll inside them?
<div id="simplemodal-container">
<div>Вот тут бы заголовок</div>
<div class="simplemodal-wrap">
<div id="simplemodal-data">
Ну а тут куча контента со скролом
</div>
</div>
<div>А вот тут подвал</div>
</div>
Answer the question
In order to leave comments, you need to log in
It doesn't matter what you are. this is a simple implementation in CSS, as an option you can do it like this:
.header, .footer { height: 50px; position: fixed; }
.content { height: calc(100% - 100px); }
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question