前言
很简单的点击放大图片的效果,代码都有注释,一看就懂
一、先上代码
<html>
<head>
<title>图片放大</title>
<script src="jquery.min.js" type="text/javascript" charset="utf-8"></script>
<style type="text/css">
body,html{
margin:0;padding:0;background:red;}
img{
width:100px;height:100px;}
.bigPic{
display:none;}
.pic02{
position:absolute;top:0