Home > Web Front-end > CSS Tutorial > How to use Bootstrap to achieve image pop-up and enlargement

How to use Bootstrap to achieve image pop-up and enlargement

PHPz
Release: 2018-10-15 15:28:04
Original
7850 people have browsed it
<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[&#39;pic_detail&#39;];?>');" /></center>
</td>
  <p>         
         </p><p>
             <button></button>
         </p>
           <p>
            </p><p>
            </p>
        
    
Copy after login

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();
     }
Copy after login

##Implementation effect:

How to use Bootstrap to achieve image pop-up and enlargement

[Related video recommendations:

Bootstrap Tutorial]

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template