The site is interested here is this line index.html:
<div class="tp-banner revslider-initialised tp-simpleresponsive hovered" id="revslider-258" style="height: 558px;"> height: 558px )?This is the revolutionslider. All the code is written in this script. js/revolutionslider/rs-plugin/js/custom.js
revapi = jQuery('.tp-banner').revolution( { delay:9000, startwidth:1170, startheight: window.screen.height>768?792:558, hideThumbs:10, }); In this line, depending on the starting position of the diva with this tp-banner class, the height of the slider is actually selected window.screen.height>768?792:558
Source: https://ru.stackoverflow.com/questions/540385/
All Articles