Jquery 禁用移动boostrap 4上的模式
我们可以在移动设备上禁用Modals吗 我看过其他线程,但由于刚刚开始编写脚本,我也不能完全理解它,我不知道如何使用jquery,如果这是必要的话 这是我的剧本Jquery 禁用移动boostrap 4上的模式,jquery,html,modal-dialog,bootstrap-4,Jquery,Html,Modal Dialog,Bootstrap 4,我们可以在移动设备上禁用Modals吗 我看过其他线程,但由于刚刚开始编写脚本,我也不能完全理解它,我不知道如何使用jquery,如果这是必要的话 这是我的剧本 <div class="col-sm" > <input type="image" src="horse.png" class="img-thumbnail" data-toggle="modal" data-target=".horseModal-modal-lg">
<div class="col-sm" >
<input type="image" src="horse.png" class="img-thumbnail" data-toggle="modal" data-target=".horseModal-modal-lg">
<div class="modal fade horseModal-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<img class="img-responsive" src="horse.png" id="imageSize">
</div>
</div>
</div>
</div>
&时代;
最安全的方法是不在手机上显示模式切换:
发射模态