Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Open bootstrap modal from swf object

New Here ,
Sep 25, 2017 Sep 25, 2017

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>

378
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation