<td> <center> <img alt="How to use Bootstrap to achieve image pop-up and enlargement" >" onclick="javascript:showHow to use Bootstrap to achieve image pop-up and enlargement('<?php echo $v['pic_detail'];?>');" /></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: [Related video recommendations:
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!