0 Replies Latest reply on Sep 25, 2017 11:36 AM by lamberton98201980

    Open bootstrap modal from swf object

    lamberton98201980

      I embedded swf in html5, is it possible to open bootstrap modal from that embedded swf ? Thanks

      I already try this, but it's not working.

       

      <a href="#" data-toggle="modal" data-target="#myModal">
      <object type="application/x-shockwave-flash" data="flash.swf" width="150" height="30">
      <param name="wmode" value="transparent" />
      </object>
      </a>

       

      <!-- Modal -->

      <div id="myModal" 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">&times;</button>

              <h4 class="modal-title">Modal Header</h4>

            </div>

            <div class="modal-body">

              <p>Some text in the modal.</p>

            </div>

            <div class="modal-footer">

              <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>

            </div>

          </div>

       

       

        </div>

      </div>