1 2 3 4 5 6 7 8 9 10 11 12 13 | <td>
<center>
<img src= "/static/imghw/default1.png" data-src= "<?php echo $v['pic_detail'];?>" class= "lazy" utiliser bootstrap pour obtenir une fen contextuelle et un agrandissement dimage alt= "Comment utiliser Bootstrap pour obtenir une fenêtre contextuelle et un agrandissement d'image" >');" /></center>
</td>
<p>
</p><p>
<button></button>
</p>
<p>
</p><p>
</p>
|
Copier après la connexion
Implémenter JS :
1 2 3 4 5 6 | function showComment utiliser Bootstrap pour obtenir une fenêtre contextuelle et un agrandissement dimage(source)
{
$( "#ShowImage_Form" ).find( "#img_show" ).html( "<comment utiliser bootstrap pour obtenir une fen contextuelle et un agrandissement dimage></comment>" );
$( "#ShowImage_Form" ).modal();
}
|
Copier après la connexion
Implémenter l'effet :

【Recommandations vidéo associées : Tutoriel Bootstrap】
Ce qui précède est le contenu détaillé de. pour plus d'informations, suivez d'autres articles connexes sur le site Web de PHP en chinois!