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 相关文章推荐
可以把编码转换成 gb2312编码lib.UTF8toGB2312.js
Aug 21 Javascript
jquery 弹出登录窗口实现代码
Dec 24 Javascript
javascript中的一些注意事项 更新中
Dec 06 Javascript
JS实现拖动示例代码
Nov 01 Javascript
AngularJs实现ng1.3+表单验证
Dec 10 Javascript
js+html5实现canvas绘制椭圆形图案的方法
May 21 Javascript
基于JS模仿windows文件按名称排序效果
Jun 29 Javascript
BootStrap Datetimepicker 汉化的实现代码
Feb 10 Javascript
Vue实现自带的过滤器实例
Mar 09 Javascript
原生js实现的移动端可拖动进度条插件功能详解
Aug 15 Javascript
vue keep-alive 动态删除组件缓存的例子
Nov 04 Javascript
解决Vue-cli无法编译es6的问题
Oct 30 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文件去掉PHP注释空格的函数分析(PHP代码压缩)
2013/07/02 PHP
php设计模式之简单工厂模式详解
2014/09/04 PHP
PHP简单判断iPhone、iPad、Android及PC设备的方法
2016/10/11 PHP
PHP设置images目录不充许http访问的方法
2016/11/01 PHP
Laravel jwt 多表(多用户端)验证隔离的实现
2019/12/18 PHP
JS实现浏览器菜单命令
2006/09/05 Javascript
脚本吧 - 幻宇工作室用到js,超强推荐expand.js
2006/12/23 Javascript
IE8 原生JSON支持
2009/04/13 Javascript
心扬JS分页函数代码
2010/09/10 Javascript
javascript感应鼠标图片透明度显示的方法
2015/02/24 Javascript
深入理解JavaScript中的对象
2015/06/04 Javascript
jQuery替换textarea中换行的方法
2015/06/10 Javascript
javascript日期处理函数,性能优化批处理
2015/09/06 Javascript
JS JSOP跨域请求实例详解
2016/07/04 Javascript
浅谈js中字符和数组一些基本算法题
2016/08/15 Javascript
jQuery实现一个简单的轮播图
2017/02/19 Javascript
Vue修改mint-ui默认样式的方法
2018/02/03 Javascript
webpack 模块热替换原理
2018/04/09 Javascript
ES10 特性的完整指南小结
2019/03/04 Javascript
vue.js实现只能输入数字的输入框
2019/10/19 Javascript
把csv文件转化为数组及数组的切片方法
2018/07/04 Python
解决PySide+Python子线程更新UI线程的问题
2019/01/11 Python
Python中的None与 NULL(即空字符)的区别详解
2020/09/24 Python
世界上最大的专业美容用品零售商:Sally Beauty
2017/07/02 全球购物
Crucial英睿达法国官网:内存条及SSD固态硬盘升级
2018/07/13 全球购物
写出SQL四条最基本的数据操作语句(DML)
2012/12/12 面试题
建筑工程实习自我鉴定
2013/09/19 职场文书
高三体育教学反思
2014/01/29 职场文书
优质护理服务演讲稿
2014/05/07 职场文书
信仰心得体会
2014/09/05 职场文书
酒店优秀员工推荐信
2015/03/24 职场文书
幼儿园新学期开学寄语
2015/05/27 职场文书
幼儿园家长心得体会
2016/01/21 职场文书
HTML5基础学习之文本标签控制
2022/03/25 HTML / CSS
Java8 Stream API 提供了一种高效且易于使用的处理数据的方式
2022/04/13 Java/Android
tree shaking对打包体积优化及作用
2022/07/07 Java/Android