超炫jQuery3D图片旋转放大特效实例
2010-06-28 00:48
525 查看
查看效果
下载地址
jQuery 3D 模仿flash 图片旋转放大特效实例
前台部分代码
代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>3D Image Carousel</title>
<script type="text/javascript" src="jquery/jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="jquery/Tween.js"></script>
<script type="text/javascript" src="jquery/jquery.carousel3d.js"></script>
<style type="text/css" title="text/css">
#holder_images { display: none; }
#carousel img
{
border: 1px solid #ccc;
padding: 1px;
background-color: #eee;
}
#carousel img.link:hover
{
border: 4px solid #0e0893;
}
</style>
<script type="text/javascript">
jQuery(function($) {
$("#carousel").html($("#holder_images").html()).carousel3d({ fadeEffect: 1, centerX: $('#carousel').offset().left + $('#carousel').width()/2 });
});
</script>
</head>
<body>
<div id="carousel"></div>
<div id="holder_images">
<img class="link" title="to make an image a page link, add class 'link' and set the longdesc attr to a web address" src="images/jquery_plugins.png" alt="jquery_plugins" width="500" height="375" longdesc="http://jquery.com/" />
<img title="sinatra at the beach 1" src="images/sinatra_beach_1.jpg" alt="sinatra_beach_1" width="500" height="375" />
<img title="sinatra at the beach 2" src="images/sinatra_beach_2.jpg" alt="sinatra_beach_2" width="500" height="375" />
<img title="sinatra at the beach 3" src="images/sinatra_beach_3.jpg" alt="sinatra_beach_3" width="500" height="375" />
<img title="sinatra at the beach 4" src="images/sinatra_beach_4.jpg" alt="sinatra_beach_4" width="500" height="375" />
<img title="sinatra at the beach 5" src="images/sinatra_beach_5.jpg" alt="sinatra_beach_5" width="500" height="375" />
<img title="sinatra at the beach 6" src="images/sinatra_beach_6.jpg" alt="sinatra_beach_6" width="500" height="375" />
<img title="sinatra at the beach 7" src="images/sinatra_beach_7.jpg" alt="sinatra_beach_7" width="500" height="375" />
<img title="sinatra at the beach 8" src="images/sinatra_beach_8.jpg" alt="sinatra_beach_8" width="500" height="375" />
</div>
</body>
</html>
下载地址
jQuery 3D 模仿flash 图片旋转放大特效实例
前台部分代码
代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>3D Image Carousel</title>
<script type="text/javascript" src="jquery/jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="jquery/Tween.js"></script>
<script type="text/javascript" src="jquery/jquery.carousel3d.js"></script>
<style type="text/css" title="text/css">
#holder_images { display: none; }
#carousel img
{
border: 1px solid #ccc;
padding: 1px;
background-color: #eee;
}
#carousel img.link:hover
{
border: 4px solid #0e0893;
}
</style>
<script type="text/javascript">
jQuery(function($) {
$("#carousel").html($("#holder_images").html()).carousel3d({ fadeEffect: 1, centerX: $('#carousel').offset().left + $('#carousel').width()/2 });
});
</script>
</head>
<body>
<div id="carousel"></div>
<div id="holder_images">
<img class="link" title="to make an image a page link, add class 'link' and set the longdesc attr to a web address" src="images/jquery_plugins.png" alt="jquery_plugins" width="500" height="375" longdesc="http://jquery.com/" />
<img title="sinatra at the beach 1" src="images/sinatra_beach_1.jpg" alt="sinatra_beach_1" width="500" height="375" />
<img title="sinatra at the beach 2" src="images/sinatra_beach_2.jpg" alt="sinatra_beach_2" width="500" height="375" />
<img title="sinatra at the beach 3" src="images/sinatra_beach_3.jpg" alt="sinatra_beach_3" width="500" height="375" />
<img title="sinatra at the beach 4" src="images/sinatra_beach_4.jpg" alt="sinatra_beach_4" width="500" height="375" />
<img title="sinatra at the beach 5" src="images/sinatra_beach_5.jpg" alt="sinatra_beach_5" width="500" height="375" />
<img title="sinatra at the beach 6" src="images/sinatra_beach_6.jpg" alt="sinatra_beach_6" width="500" height="375" />
<img title="sinatra at the beach 7" src="images/sinatra_beach_7.jpg" alt="sinatra_beach_7" width="500" height="375" />
<img title="sinatra at the beach 8" src="images/sinatra_beach_8.jpg" alt="sinatra_beach_8" width="500" height="375" />
</div>
</body>
</html>
相关文章推荐
- jQuery仿QQ空间图片查看特效(全屏,放大,缩小,旋转,镜像,鼠标滚轮缩放)
- JS实现显示带倒影的图片横排居中放大展示特效实例【测试可用】
- 利用CSS3实现图片旋转放大特效
- jquery实现图片放大,缩小,翻转,旋转小实例
- jquery实现图片放大,缩小,翻转,旋转小实例
- jQuery实现图片放大,缩小,翻转,旋转小实例
- JavaScript特效之图片特效放大,缩小,旋转
- renderScript实现图片放大,黑白,添加光源,怀旧效果实例附源码
- 安卓实现图片旋转放大缩小
- iHover – 30+ 纯 CSS3 实现的超炫的图片悬停特效
- iOS中大尺寸图片的旋转与缩放实例详解
- PHP图片处理之图片旋转和图片翻转实例
- 初识matlab及图像处理之图片平移、旋转、水平镜像、垂直镜像、放大、缩小 (1)
- iOS开发——手势识别器(用手势实现图片旋转和缩小放大)
- 利用CSS3给图片添加旋转背景特效
- 使用PHP扩展php_imagick对图片改变大小、旋转、锐化、减色或增加特效
- Android DIY之路 (一) 指定区域多图片合成 放大 缩小 镜像 旋转 等(转)
- JS控制图片拖动 放大 缩小 旋转 支持滚轮放大缩小 IE有效
- 网站特效-------旋转的图片
- iHover – 30+ 纯 CSS 实现的超炫的图片悬停特效