<td> <center> <img src="/static/imghw/default1.png" data-src="<?php echo $v['pic_detail'];?>" class="lazy" to use bootstrap achieve image pop-up and enlargement alt="How to use Bootstrap to achieve image pop-up and enlargement" >');" /></center> </td> <p> </p><p> <button></button> </p> <p> </p><p> </p>
Implement JS:
//显示大图 function showHow to use Bootstrap to achieve image pop-up and enlargement(source) { $("#ShowImage_Form").find("#img_show").html("<how to use bootstrap achieve image pop-up and enlargement></how>"); $("#ShowImage_Form").modal(); }
##Implementation effect:
The above is the detailed content of How to use Bootstrap to achieve image pop-up and enlargement. For more information, please follow other related articles on the PHP Chinese website!