Support

Account

Home Forums Add-ons Repeater Field Repeat img in bootstrap modal window

Unread

Repeat img in bootstrap modal window

  • Hi all,

    Please help, I have 3 blocks, when I click on the block, a modal window opens, and they have a flex slider. how to make different content for them?

    
    <?php if(get_field('modal_slider')): $i = 0; ?>
                        <?php while(has_sub_field('modal_slider')): $i++; ?>
                        <!-- Modal -->
                        <div id="myModal" class="modal fade product-info-modal" tabindex="-1" role="dialog">
                          <div class="modal-dialog">
                            <div class="modal-content">
                            <button type="button" class="close" data-dismiss="modal">&times;</button>
                              <div class="product-area">
                                <div class="col-md-6">
                                  <div class="product-slider">
                                    <div class="flexslider">
                                      <ul class="slides">
                                        <li>
                                          <img />" alt="" />
                                        </li>
                                      </ul>
                                    </div>                                                             
                                  </div>
                                  </div>
                                  <div class="col-md-6">
                                    test
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                          
                      <?php endwhile; ?>
    
Viewing 1 post (of 1 total)

The topic ‘Repeat img in bootstrap modal window’ is closed to new replies.