The problem is that I do not know how to create a modal where you assign the text of a div
and show more of it, but taking into account that div
you want to see the information.
This is my code:
#container{
width: 100%;
background: tan;
}
.paragraph{
width: 250px;
height: 100px;
background: brown;
color: white;
}
#boton{
width: 200px;
padding: 5px 0px;
color: white;
background: slateblue;
text-align: center;
}
<div id="container">
<div class="paragraph">
<p>Primer párrafo resumido en la presentación (Primer bloque)</p>
<p style="display: none;">Segundo párrafo resumido en la presentación (Primer bloque)</p>
</div>
<div class="basic fixed top right"></div>
<div id="boton">Ver mas</div>
</div>
<div id="container">
<div class="paragraph">
<p>Primer párrafo resumido en la presentación (Segundo bloque)</p>
<p style="display: none;">Segundo párrafo resumido en la presentación (Segundo bloque)</p>
</div>
<div class="basic fixed top right"></div>
<div id="boton">Ver mas</div>
<div id="container-fixed">
<div id="salir">X</div>
</div>
</div>
Here part of an example:
After being "See more" (or in English " Read More "), I would like you to show the rest of your information in a modal fixed using jQuery. How could that be done?
New Project Image
This modal has position: fixed, but the size of the content over passes the screen height; in this case of a smarthones screen
How could this problem be solved, where the paragraph content between and can be done scroll The other detail is that the body launches its scroll as shown in the image
** Your HTML **