Skip to main content
lamberton98201980
Participant
September 25, 2017
Question

Open bootstrap modal from swf object

  • September 25, 2017
  • 0 replies
  • 398 views

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>

This topic has been closed for replies.