基于基于Jquery的仿照的仿照flash放大图片效果代码放大图片效果代码
基于Jquery的仿照flash放大图片效果代码,需要的朋友可以参考下。
Html:
复制代码 代码如下:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="stylesheet" type="text/css" href="css/zoomer.css" media="screen" />
<title>Zoomer for jQuery</title>
<style type="text/css">
body {
font: Arial, Helvetica, sans-serif normal 10px;
margin: 0; padding: 0;
}
* {margin: 0; padding: 0;}
#page{
margin:0 auto;
position:relative;
width:850px;
font-family:verdana;
font-size:12px;
}
#content{
width:100%;
}
pre{
border:3px solid #ccc;
padding:5px;
font-size:12px;
font-family:arial;
}
.bold{font-weight:bold;}
.blue{color:blue;}
.red{color:red;}
#footer{
margin-top:5px;
text-align:center;
width:100%;
height:auto;
padding:5px;
background-color:#ccc;
}
#logo,#foot { margin-left: 10px; }
</style>
</head>
<body>
<div id="page">
<div id="content">
<div class="container">
<ul class="thumb">
<li><a href="#"><img src="imgs/robots.jpg" alt="Robots like cameras" /></a></li>
<li><a href="#"><img src="imgs/monster.jpg" alt="Monsters!" /></a></li>
<li><a href="#"><img src="imgs/santa.jpg" alt="Santa down under" /></a></li>
<li><a href="#"><img src="imgs/thumb6.jpg" alt="Sponguebob!" /></a></li>
<li><a href="#"><img src="imgs/thumb7.jpg" alt="Star Wars" /></a></li>
<li><a href="#"><img src="imgs/hulk.jpg" alt="Hulk Smash!" /></a></li>
<li><a href="#"><img src="imgs/dino.png" alt="Dinosaur time" /></a></li>
<li><a href="#"><img src="imgs/orange.jpg" alt="Orange car" /></a></li>
<li><a href="#"><img src="imgs/alien.jpg" alt="Aliens!" /></a></li>
<li><a href="#"><img src="imgs/supe.jpg" alt="It's Superman!" /></a></li>
<li><a href="#"><img src="imgs/garfield.jpg" alt="Where's my lasagne?" /></a></li>
<li><a href="#"><img src="imgs/bridge.jpg" alt="The bridge at Sunset" /></a></li>
<li><a href="#"><img src="imgs/peanuts.jpg" alt="Peanuts!" /></a></li>
评论0
最新资源