bxslider показывает пустое изображение на iphone6 - PullRequest
0 голосов
/ 02 мая 2020

У меня есть следующее, работающее на рабочем столе, но когда я получаю доступ к странице на iphone, изображения слайдера появляются одно за другим, но когда они l oop в начале, появляется первый слайд, а затем гаснет. Есть ли способ предотвратить это?

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://www.sustainablewestonma.org/swag/public/js/jquery.bxslider.js?test0=xxx"></script>
<link rel="stylesheet" href="https://www.sustainablewestonma.org/swag/public/css/jquery.bxslider.css?test1=applesucks">
<link rel="stylesheet" href="https://www.sustainablewestonma.org/swag/public/css/ourStory001.css?test1=applesucks">    
        <div id='container'>
            
            <div id='section-container'>
                <div id='section1' class='sections'>
                    <div class="bxslider">
                        <div><img src="https://www.sustainablewestonma.org/wp-content/uploads/2019/09/os-img1-696x671_c.png"></div>
                        <div><img src="https://www.sustainablewestonma.org/wp-content/uploads/2019/09/os-img2-696x671_c.png"></div>
                        <div><img src="https://www.sustainablewestonma.org/wp-content/uploads/2019/09/os-img3-696x671_c.png"></div>
                        <div><img src="https://www.sustainablewestonma.org/wp-content/uploads/2019/09/os-img4-696x671_c.png"></div>
                        <div><img src="https://www.sustainablewestonma.org/wp-content/uploads/2019/09/os-img5-696x671_c.png"></div>
                    </div>
                    <span class='caption2'>The Sustainable Weston Action Group is a chapter of MCAN, which is a 501 c3</span>
                    <div class='flex1'>
                        <span class="caption"> Vision:</span>
                        <p>A sustainable and healthy town of Weston, with engaged citizens committed to a thriving community,
                        today and in the future.</p>

                        <span class='caption'>Mission:</span>
                        <p>To amplify discussion and inspire effective action on sustainability issues in the town of Weston</p>
                    </div>
                </div>
                <div id='section2' class='sections'>
                    <div class='flex'>
                        <span class='caption'>Our Story</span>

                        <p>The Town of Weston values its natural resources and rural character. Townwide conservation groups 
                        have succeeded in protecting acres of forest and trails, and honoring Weston’s agricultural heritage. However, 
                        ongoing sustainability planning in the areas of energy, water, waste, and development has not been a focus of any 
                        particular entity.</p>

                        <p>In 2018, a group of concerned citizens created the Sustainable Weston Action Group (SWAG) to help educate and 
                        engage residents on local sustainability issues. The group first
                        advocated for the creation of a Town Sustainability Committee. This Sustainability Committee collaborates with Town 
                        officials, committees and departments to address and plan for sustainability and climate-related policies.</p>
                    </div>
                </div>
                <div id='section3' class='sections'>
                    <div class='flex'>
                        <span class='caption'>To date, SWAG has:</span>
                        <ol>
                            <li>Spearheaded a campaign for increased awareness of Weston’s gas leaks through an independent gas 
                            infrastructure audit conducted by Gas Safety Inc.</li>
                            <li>Engaged and educated residents and Town officials at multiple public events</li>
                            <li>Conducted two Town-Wide Clean Ups (Annual CleanUp) of litter and waste</li>
                            <li>Campaigned to bring Community Choice Aggregation (CCA ) to Weston in collaboration with the Town 
                            Sustainability Committee</li>
                            <li>Collaborated with Town departments, schools, citizens and organizations on environmental and 
                            sustainability issues</li>
                            <li>Hosted a film screening, presented at multiple Select Board meetings, and published a number of 
                            articles In the News on sustainability issues in the Weston/Wayland Town Crier</li>
                        </ol>


                       <p id='reverse'>SWAG’s monthly meetings are open to all residents, and occur on the second Thursday of each month 
                       (September – June) at the Weston Public Library at 9:15AM.</p>
                   </div> 
                </div>
            </div>
        </div>
        <script>
          
         $('.bxslider').bxSlider({
            auto: true,
            autoControls: true,
            stopAutoOnClick: true,
            slideWidth:400
           
});   
               

                
            
        </script>
    
...