Started making jQuery gallery.
- How to remove the vertical scroll?
- How to add it, but so that it does not scroll the page with all its contents, but only the image itself, if it does not fit in height?
Started making jQuery gallery.
css has a magical property
overflow,overflow-x,overflow-y:<visible>|<hiiden>|<auto>,<scroll>,<inherit>
Here it was discussed: The Modal - the correct modal window .
A modal window, by definition, blocks the user's work with the parent window until the user closes it. I.e:
- The user should not be allowed to scroll the page under it.
- At the same time, if there is a lot of content in the modal window, you need to allow scrolling content.
According to this principle, viewing photos on Facebook and Vkontakte works, and I think that this is the right option for modal windows.
Source: https://ru.stackoverflow.com/questions/165135/
All Articles