jquery实现的3D旋转木马特效代码分享


Posted in Javascript onAugust 25, 2015

本文实例讲述了jquery实现的3D旋转木马特效。分享给大家供大家参考。具体如下:
这是一款基于jquery实现的3D旋转木马特效代码,适合用于产品展示,便于用户循环浏览产品细节,是一款非常实用的特效代码。
运行效果图:----------------------查看效果 下载源码-----------------------

jquery实现的3D旋转木马特效代码分享

小提示:浏览器中如果不能正常运行,可以尝试切换浏览模式。
为大家分享的jquery实现的3D旋转木马特效代码如下

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<title>jq 3D旋转木马</title>
<link href="css/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.8.0.js"></script>
<script type="text/JavaScript" src="js/cloud-carousel.1.0.5.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#da-vinci-carousel").CloudCarousel( { 
reflHeight: 56,
reflGap:2,
titleBox: $('#da-vinci-title'),
altBox: $('#da-vinci-alt'),
buttonLeft: $('#but1'),
buttonRight: $('#but2'),
yRadius:40,
xPos: 285,
yPos: 120,
speed:0.15,
mouseWheel:true
});
$("#carousel2").CloudCarousel({ 
xPos:280,
yPos:80,
buttonLeft: $('#but3'),
buttonRight: $('#but4'), 
FPS:30,
autoRotate: 'left',
autoRotateDelay: 1200,
speed:0.2,
mouseWheel:true,
bringToFront:true
}); 
});
</script>
</head>
<body>
<center>
<br><br><br>
<div id="da-vinci-carousel" style="width:570px; height:384px;background: url(images/bg.jpg);overflow:scroll;">
<a href="images/382px-Leonardo_self.jpg" rel='lightbox' title="Leonardo Da Vinci"><img class="cloudcarousel" src="images/test9.png" width="128" height="164" alt="Self-portrait in red chalk, circa 1512-1515." title="Leonardo Da Vinci" /></a> 
<a href="images/396px-Mona_Lisa.jpg" rel='lightbox' title="Mona Lisa"><img class="cloudcarousel" src="images/test1.png" width="128" height="164" alt="Oil on cotton wood, circa 1503?1505." title="Mona Lisa" /></a>
<a href='images/439px-The_Lady_with_an_Ermine.jpg' rel='lightbox' title="Lady with an Ermine"><img class="cloudcarousel" src="images/test2.png" width="128" height="164" alt="Oil on wood panel, 1485." title="Lady with an Ermine" /></a>
<a href="images/Madonna_of_the_Yarnwinder.jpg" rel="lightbox" title="Madonna of the Yarnwinder"><img class="cloudcarousel" src="images/test3.png" width="128" height="164" alt="Oil on canvas, circa 1501." title="Madonna of the Yarnwinder" /></a>
<a href="images/470px-Madonna_Litta.jpg" rel="lightbox" title="Madonna and the Child"><img class="cloudcarousel" src="images/test4.png" width="128" height="164" alt="Oil on canvas (transferred from panel), circa 1490." title="Madonna and the Child" /></a>
<a href="images/390px-Bacchus_painting.jpg" rel="lightbox" title="Bacchus"><img class="cloudcarousel" src="images/test5.png" width="128" height="164" alt="Oil on walnut panel transferred to canvas, circa 1510?1515." title="Bacchus" /></a>
<a href = "images/452px-Madonna_of_the_carnation_EUR.jpg" rel="lightbox" title="Madonna of the Carnation" ><img class="cloudcarousel" src="images/test6.png" width="128" height="164" alt="Oil on panel, circa 1478?1480." title="Madonna of the Carnation" /></a>
<a href="images/454px-Leonardo_-_St._Anne_cartoon-alternative-downsampled.jpg" rel="lightbox" title="The Virgin and Child with St. Anne and St. John the Baptist"><img class="cloudcarousel" src="images/test7.png" width="128" height="164" alt="
Charcoal, black and white chalk on tinted paper, circa 1499?1500." title="The Virgin and Child with St. Anne and St. John the Baptist" /></a>
<a href="images/FileLeonardo-da-Vinci-020.jpg" rel="lightbox" title="The Virgin and Child with St. Anne"><img class="cloudcarousel" src="images/test8.png" width="128" height="164" alt="Oil on panel, circa 1510." title="The Virgin and Child with St. Anne" /></a>
<div id="da-vinci-title" ></div>
<div id="da-vinci-alt" ></div>
<div id="but1" class="carouselLeft" style="position:absolute;top:20px;right:64px;"></div>
<div id="but2" class="carouselRight" style="position:absolute;top:20px;right:20px;"></div> 
</div>
</center>
<div style="text-align:center;clear:both">
</div>
</body>
</html>

以上就是为大家分享的jquery实现的3D旋转木马特效代码,希望大家可以喜欢。

Javascript 相关文章推荐
jquery 模式对话框终极版实现代码
Sep 28 Javascript
SlideView 图片滑动(扩展/收缩)展示效果
Aug 01 Javascript
深入分析jQuery的ready函数是如何工作的(工作原理)
Dec 17 Javascript
js删除Array数组中指定元素的两种方法
Aug 03 Javascript
Angularjs 设置全局变量的方法总结
Oct 20 Javascript
Bootstrap源码解读排版(1)
Dec 23 Javascript
基于BootStrap栅格栏系统完成网站底部版权信息区
Dec 23 Javascript
jQuery.ajax向后台传递数组问题的解决方法
May 12 jQuery
Vue路由history模式解决404问题的几种方法
Sep 29 Javascript
JavaScript中将值转换为字符串的五种方法总结
Jun 06 Javascript
Vue中keep-alive组件的深入理解
Aug 23 Javascript
浅谈JSON5解决了JSON的两大痛点
Dec 14 Javascript
jQuery+CSS实现的网页二级下滑菜单效果
Aug 25 #Javascript
jQuery实现点击小图显示大图代码分享
Aug 25 #Javascript
基于jquery实现select选择框内容左右移动添加删除代码分享
Aug 25 #Javascript
jquery实现鼠标经过显示下划线的渐变下拉菜单效果代码
Aug 24 #Javascript
基于jQuery实现在线选座之高铁版
Aug 24 #Javascript
jQuery实现TAB风格的全国省份城市滑动切换效果代码
Aug 24 #Javascript
jquery实现像栅栏一样左右滑出式二级菜单效果代码
Aug 24 #Javascript
You might like
PHP之生成GIF动画的实现方法
2013/06/07 PHP
利用php递归实现无限分类 格式化数组的详解
2013/06/08 PHP
PHPStrom 新建FTP项目以及在线操作教程
2016/10/16 PHP
Smarty模板配置实例简析
2019/07/20 PHP
利用PHP内置SERVER开启web服务(本地开发使用)
2020/01/22 PHP
PHP 实现重载
2021/03/09 PHP
jquery ready函数源代码研究
2009/12/06 Javascript
javascript中全局对象的isNaN()方法使用介绍
2013/12/19 Javascript
jquery 选取方法都有哪些
2014/05/18 Javascript
Jquery动态添加输入框的方法
2015/05/29 Javascript
理解jquery事件冒泡
2016/01/03 Javascript
jquery中键盘事件小结
2016/02/24 Javascript
node实现定时发送邮件的示例代码
2017/08/26 Javascript
微信小程序使用input组件实现密码框功能【附源码下载】
2017/12/11 Javascript
使用React手写一个对话框或模态框的方法示例
2019/04/25 Javascript
超轻量级的js时间库miment使用解析
2019/08/02 Javascript
javascript sort()对数组中的元素进行排序详解
2019/10/13 Javascript
js调用网络摄像头的方法
2020/12/05 Javascript
Python translator使用实例
2008/09/06 Python
收藏整理的一些Python常用方法和技巧
2015/05/18 Python
Python模拟百度登录实例详解
2016/01/20 Python
pandas全表查询定位某个值所在行列的方法
2018/04/12 Python
Python split() 函数拆分字符串将字符串转化为列的方法
2019/07/16 Python
如何使用Flask-Migrate拓展数据库表结构
2019/07/24 Python
在pytorch中实现只让指定变量向后传播梯度
2020/02/29 Python
Numpy中np.random.rand()和np.random.randn() 用法和区别详解
2020/10/23 Python
Python  Asyncio模块实现的生产消费者模型的方法
2021/03/01 Python
LTD Commodities:礼品,独特发现,家居装饰,家用器皿
2017/08/11 全球购物
anello泰国官方网站:日本流行包包品牌
2019/08/08 全球购物
台湾专柜女包:KINAZ
2019/12/26 全球购物
Lookfantastic阿联酋官网:英国知名美妆护肤购物网站
2020/05/26 全球购物
群众路线教育实践活动思想汇报(2014特荐篇)
2014/09/16 职场文书
公司领导九九重阳节发言稿2014
2014/09/25 职场文书
网站出售协议书范文
2014/10/10 职场文书
python 安全地删除列表元素的方法
2022/03/16 Python
element tree树形组件回显数据问题解决
2022/08/14 Javascript