Copy link to clipboard
Copied
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">×</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>
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now