need help, you need to completely remove the tag when loading the page, an example of this, you need to remove <section class="page4"> from the page,

 <div class="wrapper"> <section class="page1">... </section> <section class="page2">... </section> <section class="page3">... </section> <section class="page4">... </section> </div> 
  • one
    and if the screen becomes "bigger" again? For example, if we turn the screen to a horizontal position on the phone? how to get it back? - NeedHate
  • Maybe it is better to change the visible parameter? - Valentyn Hruzytskyi
  • the site has a block scroll, and if you make visible, or display none, then in this 4th block everything will be black, everything will be removed, but it will be all early, as I understand it is necessary to remove this 4th block from html with js code, then it will not at a certain size, about the size of the tablet, I'm sorry, maybe I’m explaining badly. I’m only learning for half a year - StineX I Creative Channel
  • Here is the source taken by thepetedesign.com/demos/purejs_onepage_scroll_demo.html - StineX I Creative Channel
  • In the case of One Page Scroll, you need to remove the element, and then reinitialize $(".main").onepage_scroll(); . Then it will work. But, as written above, if the screen is enlarged, the element will not return - Nikita Umnov

0