Viewing 1 replies (of 1 total)
  • Thread Starter Sri Shunyata

    (@sri-shunyata)

    Hi Neil,
    Already figured out how to trigger the modal with a link. See Below.

    Is there a way to target a jump link within a Modal?

    <!-- Trigger the modal with a Link -->
    <a href="#pg-123-modal-1" data-toggle="modal" data-target="#pg-123-modal-1"><h5>Read More</h5></a>
    
      <!-- Modal -->
    <div id="pg-123-modal-1" class="modal fade" role="dialog">
      <div class="modal-dialog">
    
        <!-- Modal content-->
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal">×</button>
            <h4 class="modal-title">Modal Header</h4>
          </div>
          <div class="modal-body">
    
    MODAL CONTENT
    
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
          </div>
        </div>
    
      </div>
    </div>

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘How to Trigger a Modal Popup from a Link?’ is closed to new replies.